Advanced Packaging Tool, the package manager for Debian-based distributions. It is also the most used tool for installing packages in Ubuntu. Questions about using any of the apt tools should use this tag.

learn more… | top users | synonyms (1)

3
votes
1answer
32 views

Why does installing collectd on Ubuntu 16.04 require X11?

I am setting up monitoring using Riemann and collectd on my server. When I do sudo apt-get install collectd , I get a huge list of packages including X11, fonts and icon-themes. The other option is ...
1
vote
2answers
2k views

how to fix update problem on ubuntu 16.04

While update I have got error like this W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/...
0
votes
0answers
20 views

While trying to install git, “errors were encountered while processing: runit, git-daemon-run”

I'm trying to install git using sudo apt-get install git-all but I'm getting an error message which ends as follows: Errors were encountered while processing: runit git-daemon-run E: Sub-process ...
2
votes
1answer
35 views

Can't install Mrtg on Ubuntu 14.04 LTS [closed]

I can't install MRGT-2.17.4 on Ubuntu 14.04 LTS Text appear Error below ? Reading package lists... Done Building dependency tree Reading state information... Done mrtg is already the newest ...
1
vote
0answers
9 views

gufw installation issue (package is in a very bad inconsistent state)

I have been unable to fix this any help would be appreciated: dpkg: error processing package **gufw** (--configure): package is in a very bad inconsistent state; you should reinstall it before ...
3
votes
2answers
7k views

How to install qt3-dev-tools package

I am using Ubuntu 13.10 and want to install qt3-dev-tools package. When i run this command sudo apt-get install qt3-dev-tools i am getting this error, E: Unable to locate package qt3-dev-tools ...
0
votes
0answers
29 views

is a file in /etc/network or in /etc/network-manager misconfigured?

Each time when I want to run sudo apt-get update then the system stucks and only following line appears : 0% [connection with dlink.com (12.130.207.110)] [connection with dlink.com:1024 ...
3
votes
1answer
38 views

Unmet dependencies and possible conflicts? [duplicate]

It seems that I have messed up somewhere along the line and now I can no longer install anything without the following message showing up: The following packages have unmet dependencies: kde-...
0
votes
0answers
25 views

Add a repository for security testing

I want to use some security tools because I study security (A total beginner). I tried adding the repos of kali, and install some security tools from there, the security tools works great but I had ...
0
votes
0answers
30 views

apt-get hash sum mismatch

I am trying to install packages from an internal repository and I am getting persistent issues with hash sum mismatches on ubuntu 14.04. WARNING: The following packages cannot be authenticated! ...
1
vote
0answers
30 views

APT install package with dependency

I created own debian packages with dependencies. Package A: Version 1.0 depends on Package B = 1.2 Version 1.1 depends on Package B = 1.2 Package B: Version: 1.0, 1.1, 1.2, 1.3 If I'm trying to ...
0
votes
0answers
47 views

Has the update process changed in 16.04?

Update: This comment by Colin Watson addressed my question/concern. Thanks, Colin! apt has got rather better at producing less junk in its output than it used to, and various server-side changes ...
43
votes
8answers
69k views

“GPG error: Release: The following signatures were invalid: BADSIG”

I ran this command in the Terminal: sudo apt-get update Updating ends with the following error report: W: A error occurred during the signature verification. The repository is not updated and the ...
0
votes
0answers
15 views

update-desktop-database: not found error when installing ubuntu-mate-welcome

I am running Kubuntu 16.04 LTS, when I try to install the ubuntu-mate-welcome, I get this message. Reading package lists... Building dependency tree... Reading state information... Suggested packages:...
0
votes
1answer
130 views

apt-get update command not working from xenial local mirror

Using apt-mirror, I downloaded the xenial packages to my machine (ip address: 172.16.3.37). The content of my "mirror.list" for apt-mirror is the following. ############# config ################## #...
1
vote
0answers
48 views

Unmet dependencies, install -f looks scary

Ubuntu 12.04 LTS, 64-bit I tried to install Lazarus (1.4.4) by downloading the .deb files and using sudo dpkg -i. However I think it tried to install them in the wrong order and I now get "unmet ...
0
votes
2answers
21 views

Command Problem in ubuntu

I can not use this command sudo apt-get install w64codecs. The terminal shows this: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the ...
0
votes
0answers
23 views

dpkg error with libmysqlclient18

Every time I try to install/uninstall any package I got the same message: nelson@nelson:~$ sudo apt-get install firefox [sudo] password for nelson: Reading package lists... Done Building dependency ...
1
vote
2answers
504 views

How to fix missing gpg key even though it should have been imported?

I am changing the way I install docker on a bunch of machines as pointed out here. It worked fine on one, yet this one behaves strangely. I have imported the key: sudo apt-key adv --keyserver hkp://...
4
votes
4answers
818 views

Boot partition full, failing to delete old kernels. Broken packages

Sorry for asking about what is probably really simple, but I've been Googling about for a week now and I've tried a lot of stuff without success. To start off, I get a pop-up every time I boot saying ...
1
vote
1answer
115 views

Installing NVIDIA 361.45.11?

I was checking recent packages and figured out that NVIDIA 361.45.11 [recent version] is available here. I am new here and cant understand how to install this package (NVIDIA binary driver - version ...
10
votes
2answers
17k views

Python 3.5 has just been released, can I get it as a package for Ubuntu 15.4?

I want the very latest version of Python, but I don't want to bypass the apt package manager: I don't want to do an old-school source install because that can make it harder to uninstall when the ...
0
votes
2answers
111 views

Ubuntu 16: google-chrome-stable : Depends: libappindicator1 but it is not going to be installed

I have a freshly installed Ubuntu 16 desktop few weeks ago. Added Chrome and all fine. However now when I try sudo apt-get install ffmpeg, I get this error message: Reading package lists... Done ...
0
votes
0answers
71 views

apt: Can't drop privileges for downloading

I get an error when i am trying install apache2 This is the error it displays: W: Can't drop privileges for downloading as file '/var/cache/apt/archives/partial/apache2_2.4.18-2ubuntu3_i386.deb' ...
0
votes
0answers
75 views

Ubuntu 14.0.4 Server - Can't install snmpd

I am trying to install snmpd on my server, to be able to user observium but I get this error: $ sudo apt-get install snmpd Reading package lists... Done Building dependency tree Reading ...
2
votes
1answer
45 views

How does APT actually work (apt-get,cache, search)

I have some questions about the APT package manager. As I understand we have repositories URLs located at /etc/apt/sources.list and /etc/apt/sources.list.d/* When apt-get update is called, ...
1
vote
2answers
142 views

“Package dependencies cannot be resolved” - R project

I use R statistics ("r-base") on my computer and recently, by mistake, I ran the following command in terminal: sudo apt-get remove r-base-core Of course this removed R from my computer. To undo ...
5
votes
2answers
8k views

apt-get update stuck: Connecting to security.ubuntu.com

When I run apt-get update on my machine it gets stuck at: 100% [Connecting to security.ubuntu.com (2001:67c:1562::15)] [Connecting to archive.canonical.com (2001:67c:1360:8c01::16)] I have made no ...
1
vote
1answer
35 views

Recovering uninstalled packages

I did sudo apt-get purge *pulse* ; sudo apt-get purge skype; dpkg -r skype; Output from logs: Start-Date: 2016-06-15 22:26:03 Commandline: apt-get remove *pulse* Requested-By: abhishek (1000) ...
80
votes
4answers
28k views

How to fix apt: Signature by key uses weak digest algorithm (SHA1)?

I started setting up by adding repositories and then went to run a sudo apt-get update again before I started installing other software, and I get the Signature key lines and it stops. So it ...
2
votes
1answer
52 views

Why do snap-packages exist - is there a real need? [closed]

Assumptions Honestly, I do not know much about snap-packages - but this is irrelevant for this question - see below. I assume the system is significantly different from the existing one. Does the ...
1
vote
2answers
50 views

Failed to download respository information - Software Updater [duplicate]

I run Ubuntu 14.04LTS, 64bit. I tried to run Software Updater, but I had that "Failed to download respository information. Check your Internet connection" message (screenshot). I ran apt-get update,...
0
votes
0answers
15 views

Why apt-add-repository does not enable source for main?

I'm trying to enable deb-src source repositories for main, universe, etc. Since it is possible to add them to sources.list with apt-add-repository main I would assume that apt-add-repository -s ...
0
votes
1answer
45 views

Issues while upgrading from ubuntu 14.04 LTS to 16.04

My computer crashed during the upgrade from 14.04 to 16.04 and since then I receive this message when I get to the command line.This is the command I used for the upgrade sudo update-manager -d How ...
0
votes
0answers
18 views

QT unmet dependencies for smplayer

I was trying to upgrade smplayer, but aptitude tells that it's unable to solve the dependencies for libqt5script5 $>sudo aptitude dist-upgrade The following NEW packages will be installed: ...
0
votes
0answers
106 views

Errors were encountered while processing libcuda1 when trying to remove libcuda1

Since I installed nvidia and cuda when I try to run apt-get upgrade I receive this error message Reading package lists... Done Building dependency tree Reading state information... Done ...
7
votes
3answers
5k views

How remove all programs from a meta-package?

When you install a program like postgresql, it installs several programs for its last version. Once installed how remove all those packages? because using apt-get remove postgresql removes only ...
0
votes
1answer
560 views

How to fix processing with runit and git-daemon-run

I'm trying to install Django using sudo apt-get install python-django But I'm getting error Reading package lists... Done Building dependency tree Reading state information... Done python-...
10
votes
1answer
11k views

Reinstall package and its installed dependencies

I've got a package installed that is broken (the package itself, not its dependencies). Reinstalling it with sudo dpkg-reconfigure <package> or sudo apt-get --reinstall install <package> ...
7
votes
1answer
216 views

Shorter way to apt-get install php7.0-{some modules}

I am currently installing php7.0 and was wondering if there is an shorter way to install the modules. normally I type: apt-get install php7.0 php7.0-fpm php7.0-mbstring php7.0-mcrypt php7.0-...
0
votes
2answers
2k views

IP Messenger showing Error on Ubuntu 12.04

I installed gnome ip messenger from terminal bu using the following command in my Ubuntu 12.04 Unity desktop sudo apt-get install g2ipmsg But it is giving the following error as already mentioned ...
3
votes
1answer
25 views

Compiling a 32 application on 64 bit, without getting rid of GNU EABI for ARM

I want to build a C++ program for 32 bit on my 64 bit 16.04. /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.so when searching for -lstdc++ /usr/bin/ld: skipping ...
2
votes
1answer
20k views

Ubuntu 12.10: Package libc6-dev-i386 is not available

I'm building 32 bit boost thread libraries on 32 bit Ubuntu 12.10. When building I get the error /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory I googled the problem ...
91
votes
3answers
82k views

How do I re-run boot loader?

Running sudo apt-get -f install said that The link /vmlinuz.old is a damaged link and: you may need to re-run your boot loader[grub] Here's the full output: user@chrubuntu:~$ sudo apt-get -f ...
4
votes
3answers
489 views

Cron jobs are disabled on clean installation of 14.04

I have a clean installation of Ubuntu 14.04 and in my /etc/cron.daily/ I see *.disabled files: -rwxr-xr-x 1 root root 15481 Apr 10 09:04 apt.disabled -rwxr-xr-x 1 root root 314 Feb 17 2014 ...
1
vote
0answers
36 views

Software updates failing with dependency issues 16.04 LTS

Recently a software update failed with dependency issues and now they're all failing. The same four modules appear to be the root cause: Errors were encountered while processing: udev apport ...
1
vote
3answers
3k views

How to solve the error: WARNING:root:could not open file '/etc/apt/sources.list'

wazir@wazir:~$ sudo software-properties-gtk [sudo] password for wazir: (process:15506): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Cannot set locale: ...
0
votes
2answers
50 views

Having trouble running update through terminal

After typing sudo apt-get update which I've done quite a bit in the past few months, (I am a new Linux user and kind of went in head first to try to teach myself) the two different error messages I'm ...
0
votes
0answers
36 views

errors on apt-get install [duplicate]

when I try to install a new package (for instance dafault-jdk) I get this error: sudo apt-get install default-jdk Preconfiguring packages ... dpkg: error processing package lsb-base (--configure): ...
0
votes
1answer
33 views

apt-get update fails after installing chrome and some tweaks

I was trying to apt-get update, but it shows an error: Reading package lists... Done W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key ...