Questions tagged [apt-get]
apt-get is a command-line interface to the Advanced Packaging Tool (apt) which is responsible for installing, removing, and upgrading packages.
395
questions
0
votes
1
answer
748
views
apt-mirror always wants to download
apt-mirror is always trying to download ~430MB (every day).
Downloading 4 dep11 files using 4 threads...
Begin time: Wed Jan 16 09:04:43 2019
[4]... [3]... [2]... [1]... [0]...
End time: Wed Jan 16 ...
0
votes
1
answer
660
views
Using apt why do I get file 'network_proxy.conf' in directory '/etc/apt/preferences.d/' as it has an invalid filename extension
I get the following warning when I try to install packages.
N: Ignoring file 'network_proxy.conf' in directory '/etc/apt/preferences.d/' as it has an invalid filename extension
Using apt why do I ...
0
votes
0
answers
187
views
Run agt-get install imagemagick on raspberry pi using docker file
I am new to docker in rasppberry pi. I have installed docker on my raspi, and I wanted to create a docker image. This docker image when pulled into another raspi with docker should install imagemagick ...
0
votes
1
answer
1k
views
No recent Ubuntu 18 updates?
Seems I would normally see something in a week, but now, nothing in 2. When I run sudo apt-get update, what I get is:
sudo apt-get update
Ign:1 http://download.webmin.com/download/repository sarge ...
1
vote
1
answer
4k
views
Bad OpenVPN Uninstall
On my Ubuntu 18.04 machine I installed OpenVPN and then later tried to uninstall. Now whenever I try to install anything or do pretty much anything with apt-get I get an error and the package doesnt ...
1
vote
1
answer
5k
views
Can not uninstall redis-server in Ubuntu?
I was trying to install Redis on Ubuntu using:
sudo apt install redis-server
The process partially installed and timed-out and the redis-service was not installed.
After that I tried to remove the ...
4
votes
3
answers
43k
views
sudo: apt-get: command not found
I am trying to run the following command to install some libraries.
sudo apt-get install graphviz libgraphviz-dev pkg-config
It is however returning the following error.
sudo: apt-get: command not ...
0
votes
1
answer
599
views
apt-get broken trust chain while updating
This morning I restarted my server and discovered an issue while doing apt-get update:
Err:1 http://hwraid.le-vert.net/ubuntu xenial InRelease
Could not resolve 'hwraid.le-vert.net'
Err:2 http://...
0
votes
1
answer
544
views
Debian Wheezy, apt-get have unmet dependencies
Pretty much any comand that I try that involves apt-get gives me an error that tells me I should run apt-get -f install, but that gives me this error:
root@vps148794:~# apt-get -f install
Reading ...
0
votes
1
answer
1k
views
I am using Darwin OS on terminal but cannot use apt-get, yum command(only brew is usable)
I am using terminal on Darwin OS but cannot use apt-get and yum commands (only brew is usable).
Sometime, I need to use apt-get (ex. to install linux essential header)
But my terminal says command ...
1
vote
1
answer
57
views
Unable to remove programs
I need to remove some programs in my Deepin distro but I get this error:
amr@amr-PC:~$ sudo apt-get autoremove Virtual Network Editor
[sudo] Mot de passe de amr :
E: Impossible d'obtenir le verrou /...
0
votes
1
answer
739
views
apt-get upgrade not working after upgrade from stable to testing: error cycle with libc-bin package
I upgraded from debian stable to debian testing, and now I am not able to do apt-get upgrade anymore.
When I do that I get this error:
Processing triggers for libc-bin (2.27-6) ...
dpkg: cycle found ...
2
votes
1
answer
9k
views
apt-get "Unable to locate package" with a glob
I'm trying to uninstall the Pantheon desktop. I use a star glob to uninstall all packages with a name that starts with "pantheon-".
rolf@DRGMC01:~$ sudo apt-get remove pantheon-*
Reading package ...
2
votes
1
answer
12k
views
How to copy all installed libraries to another Linux machine?
I am developing C++ on my Linux (Ubuntu) machine and I have installed many libraries both by using apt-get and installing from source. Lets say I would like to recreate my environment on another (...
0
votes
1
answer
895
views
Cannot install latest version of Grafana with apt-get
I am having problems installing Grafana with apt-get. I am following these instructions:
http://docs.grafana.org/installation/debian/#apt-repository
I added the repository, and ran apt-get update &...
0
votes
1
answer
305
views
Why `apt-get purge` keeps trying to install things for me?
I try to purge the Oracle Java 8 JDK on Raspbian Stretch:
sudo apt-get purge oracle-java8-jdk
But it keeps trying to install replacements for me. For example, it keeps telling me "the following NEW ...
4
votes
1
answer
13k
views
debian apt update doesn't allow DVD's
i really start to pull my hair out. I have a debian 9 system without internet access and try to do an apt update. But i always receive the same error message (see below). I tried severall options to ...
2
votes
1
answer
21k
views
Failed to fetch error on apt-get update
I'm having an issue when running sudo apt-get update. I always get this error:
Err:1 https://deb.packager.io/gh/opf/openproject-ce xenial InRelease
Could not resolve host: deb.packager.io
Hit:2 ...
2
votes
2
answers
3k
views
console-setup causes apt-get update to hang
I want to automatically install apache2 on my EC2 instance during first load. I am using the base Ubuntu 16.04 LTS image:
ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20180522 (ami-...
1
vote
1
answer
47
views
Set an ubuntu package for later upgrade
When running 'sudo apt-get upgrade', there are sometimes kernel files that 'have been kept back' so they are not upgraded automatically. Is there a way to mark other packages so they get into this ...
0
votes
1
answer
621
views
pf firewall blocks raspbian apt-get update
I am connecting my raspberry pi 3(raspbian stretch) to my Macpro(10.13.2; High Sierra) to 802.3 ethernet port which is a part of bridged adapter (bridge100) using Internet Share feature. Internet ...
0
votes
1
answer
448
views
Failure installing `linux-cloud-tools-common` on Ubuntu 14.04
I'm trying to set up Certbot on an Ubuntu machine but getting the following error when trying to run apt-get install software-properties-common:
Setting up linux-cloud-tools-common (3.13.0-46.77) ...
...
0
votes
1
answer
397
views
sudo is broken or not fully installed
Yeah...
I'm getting this error when using apt-get anything on a digitalocean droplet:
E: The package sudo needs to be reinstalled, but I can't find an archive for it.
So according to this answer, I ...
10
votes
4
answers
72k
views
What is the step-by-step procedure to fix the "The following packages have unmet dependencies"?
I tried everything but made no progress. Can a smart soul help out?
Of course just sudo apt-get -f install does not work, same error.
$ sudo apt-get install arping
[sudo] password for dloo:
Reading ...
3
votes
3
answers
86k
views
Running “apt-get update” returns an error “apt-secure(8)”
I have the Ubuntu Game Pack and I'm trying to use sudo apt-get update and it's returing the error
W: https://download.01.org/gfx/ubuntu/16.04/main/dists/xenial/InRelease: Signature by key ...
2
votes
3
answers
370
views
Speeding up apt-get install for many packages
I've noticed that much of the time taken by apt-get install when installing many packages / dependencies is due to many individual requests for packages / dependencies, even when the total download ...
1
vote
2
answers
121
views
How to install list of packages with file with comments
I want to organize a large file of dependencies with comments and newlines. For example:
# Widget 1 dependences
package_a
package_b
# Widget 2 dependencies
package_x
package_y
package_z
This line ...
6
votes
1
answer
7k
views
How do I install Clang 4.0 on Ubuntu 14.04?
I need to install Clang 4.0 and Clang++ 4.0 on my Ubuntu 14.04 box. The most recent version I can find in the apt-get package list is 3.5. How do I install 4.0?
1
vote
1
answer
514
views
After successful dockerfile build, apt-transport-https vanishes
Over time I've assembled an untidy dockerfile for creating my dev environment and it generally works well. There are a couple of situations, though, where I install something during docker build and ...
0
votes
0
answers
1k
views
sudo apt-get not working properly
While running sudo apt-get upgrade I got following error
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... ...
2
votes
1
answer
15k
views
Cannot install ANY packages because of Python
I cannot install any packages with apt-get on Raspbian (Debian) because of stupid Python packages.
I tried to sudo dpkg --configure -a
but even then I’m getting these errors!
Messages:
Setting up ...
4
votes
0
answers
5k
views
Verbose output for apt-get
A while ago apt-get autoclean printed to the console each package it was deleting with the size. Example:
Del gpm 1.19.6-11 [145kB]
It no longer prints these lines, but files still disappear from /...
2
votes
3
answers
27k
views
apt-get Unmet dependencies error
every time i try to install somthing with apt-get it returns this
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f ...
0
votes
1
answer
276
views
Not able to install any apps with command apt-get install
I have recently installed Debian 8 (Jessie) and when I try to install an app, the message:
A media change is required. Please insert the disc labeled 'Debian GNU/Linux 8.7.1_Jessie_-Official amd64 ...
1
vote
1
answer
905
views
Configure proftpd to use standalone via apt-get?
Is it possible to pass in arguments to the command apt-get install proftpd such that the resulting installation process will assume "stand-alone" mode, without prompting the user for information?
(...
2
votes
1
answer
7k
views
Tunneling apt-get Through SSH Works... Mostly
I am running a Linux container under Proxmox 4.4. The container is based on Debian Jessie. Here are the version specifics:
root@myHostName:/home/myUserName# uname -a
Linux myHostName 4.4.35-1-pve #1 ...
1
vote
1
answer
5k
views
How to install python packages in python3.6 folder?
After extracting .tar.gz and running python setup install, selenium gets installed in,
....
creating /usr/local/lib/python2.7/dist-packages/selenium-3.4.3-py2.7.egg
Extracting selenium-3.4.3-py2.7....
0
votes
1
answer
295
views
I am having trouble to updating the packages using apt-get update in parrot 3.4
Thses errors occurs when i execute apt-get update.
GPG error: http://old-releases.ubuntu.com/ubuntu raring Release: The
following signatures couldn't be verified because the public key is
not ...
0
votes
3
answers
404
views
How to prevent apt upgrade from installing manually installed library
I have a library that I built from sources in a version that is not yet available in the debian archives. Another package requires it and apt upgrade wants to install the older version. How can I ...
9
votes
5
answers
59k
views
Sudo apt-get error: flAbsPath on /var/lib/dpkg/status failed - No such file or directory
sudo apt-get install vlc
Reading package lists... Error!
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory)
E: Could not open file - open (2: No such file or ...
0
votes
2
answers
1k
views
How to restore VIM in debian
After I tried to remove VIM from system, simple apt-get remove --purge vim doesn't do the trick and there still were some vim files, like in /usr/share/vim/. SO I decided to remove them mannually
...
6
votes
3
answers
40k
views
"Unable to locate package sudo" when i try to install sudo on new Debian
i installed a new Debian on a small VPS and now when i try to install sudo i just get this message. I also tried to add FTP-Server into the list and i still get that error.
root@srv45758:~# vi /etc/...
3
votes
1
answer
1k
views
Frustrated with GPG signing aptly administered repository
We host some of our own software packages as debs in a repository of our own. For prototyping purposes, we’ve been running “unauthenticated”. Now we're trying to do things more correctly and do the ...
3
votes
2
answers
4k
views
VLC Unmet Dependencies
I have installed Ubuntu such that it is split into 2 partitions (mounted as / and /home)
After running sudo apt-get install vlc, I get the following error on a near fresh install of Ubuntu 16.04.2 ...
1
vote
1
answer
425
views
How to correctly install deluged on Debian (raspberry)?
I am trying to install deluged on my raspberry pi, but it seems that none of the many tutorials I followed are valid with my installation.
What I did first is:
sudo apt-get install deluged
From ...
1
vote
0
answers
3k
views
Unable to correct problems, you have held broken packages
I've got an Ubuntu 16.04 server in production on which I wanted to install node and npm. So I ran this:
sudo apt install nodejs nodejs-legacy npm
The nodejs-legacy package is solely meant to have a ...
2
votes
1
answer
676
views
Can I make apt-get install default to having the -y option? [duplicate]
I'd like apt-get to default to using the -y option without me having to explicitly provide it. Is this possible?
3
votes
3
answers
9k
views
How to install packages on distributions that dont have apt
i am searching the web for half a day now and found nothing so far.
I need a way to obtain any apt-get package as .deb file or something so i can install it without apt-get install.
For example i ...
0
votes
1
answer
3k
views
error installing wireshark on ubuntu 16.04
sudo apt-get install wireshark
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
...
6
votes
2
answers
1k
views
Is it bad idea to do apt-get upgrade in OpenVZ container?
Now I have problems with one of my VPSs.
My hosting provider declared me, that problems may be caused by executing apt-get upgrade inside my VPS (Ubuntu 14.04.1 LTS x64, OpenVZ) and that it is bad ...