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)

0
votes
0answers
11 views

dpkg-reconfigure vs apt-get upgrade

Can someone clarify whats would be the difference between upgrading an ubuntu system with apt-get upgrade & dpkg-reconfigure --plow unattended-upgrades. We are concerned not to upgrade certain ...
0
votes
0answers
7 views

Completely nuked my libdrm2 package, need help

I was attempting to downgrade my libdrm2 package via dpkg, as it was a recommended fix for issues I was having with HTML5 video acceleration (I was getting 100% cpu usage on all cores when viewing ...
8
votes
2answers
2k views

How to get apt-get to call apt-fast?

Have been using apt-fast for a while now and really liking it. In case you don't know it is useful to speed up apt-get. However, I have a few questions regarding apt-fast: I would like to make any ...
-2
votes
1answer
106 views

Cryptic message about linux-image-4.4.0 when trying to install anything (or upgrade) 16.04

I'm getting this frustrating message. I didn't mess with anything system related. Reading database ... 264956 files and directories currently installed.) Removing linux-image-extra-4.4.0-21-generic (...
0
votes
0answers
20 views

Error “Can't drop privileges” when trying to download zsh

I am trying to download zsh onto my Ubuntu server but I'm receiving this message of permission denied: ~# apt-get download zsh Get:1 http://au.archive.ubuntu.com/ubuntu xenial/main amd64 zsh amd64 5....
0
votes
1answer
22 views

Problem in invoke sudo make install in python script

I have written the following code to configure yara package in my script, but when it call sudo make install, python give me error. How can I fix it? def yara_installation(self): os.chdir("...
1
vote
1answer
1k views

APT update fails: writing more data than expected

when trying to update package listings via apt update or apt-get update I receive the following error: E: Failed to fetch http://lt.archive.ubuntu.com/ubuntu/dists/xenial/universe/dep11/Components-...
2
votes
0answers
29 views

Distribution upgrade from 14.04 to 16.04 hangs

I noticed 16.04.1 was available for download today and thought I'd try a distribution upgrade rather than my usual approach of fresh install. I issued the command sudo update-manager -d (Research ...
15
votes
3answers
14k views

How to install a fingerprint reader on Lenovo ThinkPad

I have a Lenovo ThinkPad with a fingerprint reader: How to make Ubuntu recognise it and use it for login? I already tried: sudo add-apt-repository ppa:fingerprint/fingerprint-gui sudo apt-get ...
0
votes
0answers
12 views

Internal Server Error 500 on Several Ubuntu Repositories

I'm trying to set some application to my ubuntu 16.04, but i got some problem while trying to install the application using apt-get that the repository which i use return Internal Server Error 500 for ...
1
vote
1answer
141 views

Apt-get SSL client certificate not working on 16.04 (Error while reading file)

I ported the same working SSL client key/certificate and /etc/apt/apt.conf.d/01_https_client_cert rule from an (working) 14.04 VM to a fresh 16.04 installation. I am able to use the SSL client ...
12
votes
3answers
17k views

I can't add PPA repository behind the proxy

I'm trying to add the ppa repository (as a root) with the following command: export HTTP_PROXY="http://firstname.surname@xxx.com:my_pass@165.x.x.232:8080" add-apt-repository ppa:nilarimogard/webupd8 ...
0
votes
2answers
38 views

Installing ubuntu packages within python script

I want to install following packages within my python script : python-pip python-sqlalchemy mongodb python-bson python-dpkt python-jinja2 python-magic python-gridfs python-libvirt python-bottle ...
0
votes
0answers
10 views

Cannot connect to internet or sudo apt-get in Ubuntu Server

I installed Ubuntu Server on an old windows laptop. I have my computer connected through an ethernet and I absolutely cannot get anything to work through sudo apt-get. Im very new to Linux, but I ...
2
votes
1answer
44 views

Can't install Programs Through APT [on hold]

Since I last reinstalled ubuntu 16.04 I am having issues using apt. When I try (ubuntu-desktop (fixing another error), unity-tweak-tool etc) I get the error saying that there's unmet dependencies ...
1
vote
2answers
76 views

apt-get install not working [E: Read error - read (5: Input/output error)]

I have an old problem (since a week) with apt-get which prevents me from installing and upgrading packages. I have Ubuntu 16.04. I am receiving this message on the top bar: Error: opening the cache (...
0
votes
2answers
15 views

Package [zfsnap] installed incorrectly - what's what?

On Ubuntu Xenial server, installing zfsnap exists with error status 0. However, the package isn't properly installed: $ zfsnap zfsnap: command not found $ $ sudo dpkg -p zfsnap dpkg-query: package '...
5
votes
1answer
42 views

How to install new versions of G++ that use the corresponding C++ standard library?

I am trying to install multiple versions of the g++ compiler for testing purposes. I would like to be able to install g++ 4.9.3,5.1.0, 5.2.0, and 6.1.0. I know that I can do sudo add-apt-...
2
votes
1answer
1k views

Unable to use apt-get or cpan

I am using Ubuntu 12.10. A few days back I needed to change my proxy for connecting to the internet at my institute. After that I can't access the internet through terminal like can't install CPAN lib ...
1
vote
1answer
36 views

How to install Python 3.4.5 from apt?

I have Python 3.5 installed.I previously installed Python 3.4 from source and managed to uninstall it somehow. Now if I try to install Python 3.4 through apt-get install python3.4 , it returns ...
22
votes
13answers
121k views

apt-get update cannot find ubuntu servers

Running sudo apt-get update fails on my server (that has a 'net connection). Are the servers temporarily broken, or is my apt misconfigured and using old servers? In short, how do I fix this? Here's ...
0
votes
0answers
29 views

Unable to install any package with apt-get

When I am trying to install git using apt-get. I am using a Pre-Configured VM machine in my laptop which is configured for hadoop (CDH) environment. I got it from my coaching institute. It is Ubuntu ...
4
votes
2answers
397 views

ubuntu resolve unmet dependencies

I have tried to upgrade from ubuntu 14.10 to 15.04, it stopped upgrading and offered a partial upgrade which I didn't do. Right now I'm having an issue with deja-dup-monitor which is consuming about ...
0
votes
0answers
14 views

Python problem with Let's Encrypt

When trying to use the following command to setup my certs: ./letsencrypt-auto --apache -d example.com I get this error from Python: dpkg: dependency problems prevent configuration of python-...
0
votes
0answers
12 views

Can't access sudo apt update and sudo apt upgrade [duplicate]

After I Update and Install Ubuntu Software Like this enter image description here I can't process apt update, and get this error E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource ...
1
vote
1answer
66 views

Fix Package Dependencies?

I'm trying to install build-essential using sudo apt-get install build-essential like I'm supposed to. It returns with the error The following packages have unmet dependencies: build ...
0
votes
0answers
7 views

Having issues with mime-support and apt

This error is being reported with any instance of apt or apt-get that I run: package mime-support 3.59ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error ...
7
votes
4answers
291 views

“apt-get update” always failed to fetch

I don't understand why this issue could be survive. It display this error message all the time Fetched 32.8 MB in 1min 16s (430 kB/s) W: Failed to fetch http:/...
848
votes
18answers
1.3m views

How to list all installed packages

I'd like to output a list of all installed packages into a text file so that I can review it and bulk-install on another system. How would I do this?
0
votes
1answer
62 views

Ubuntu 16.04 : can t apt due to mysql-server-5.7 issue

I m trying to install / update packages and everytime the process failed because of a mysql-server error : sudo apt install graylog-server Lecture des listes de paquets... Fait ...
-1
votes
0answers
14 views

How to trick apt-get into believing a package version is different?

The package I want to upgrade "is already the newest version". But I am using a previous version of it and what to see what happens if I upgrade it now. This package comes preinstalled on Linux ...
36
votes
3answers
120k views

E: Unable to correct problems, you have held broken packages

I am using Ubuntu 13.04 which I installed few days back. I am trying to install nodejs and npm. I tried to install from command line first and then uninstalled it. Then something broke. sudo apt-get ...
0
votes
1answer
11 views

Unable to update any software packages in VMWare Ubuntu

I want to understand why I am unable to install any packages. I am trying to install hadoop, but for that Ubuntu 14.04 & Java 7 or above are prerequisite and I cannot install them: sudo apt-get ...
0
votes
0answers
40 views

No GUI after upgrade in Kali linux [on hold]

I have upgraded my system yesterday using synaptic. I have continued installing even though some files were missing after download. Then after restarting, there is no GUI. The screen stops at Kali ...
0
votes
1answer
469 views

14.04 Cleanly upgrade to ppa:ondrej/php from ppa:ondrej/php5-5.6

I went through my usual server package upgrades today and discovered that ppa:ondrej/php5-5.6 has been depreciated and we must now upgrade to ppa:ondrej/php. The basic provided instructions are to ...
1
vote
2answers
556 views

dpkg broken by oracle-java8-installer

I want to remove the oracle-java8-installer but it gives the below errors. Perhaps good to mention that I messed a bit with apt, e.g. at some point I manually removed the apt cache (but the java ...
1
vote
1answer
28 views

Webupd8 Oracle Java8 on rpi missing javaws.policy

I'm trying to install Oracle java8 on my raspberry pi 3. My script follows the instructions at http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html. I tried both the option of ...
2
votes
2answers
76 views

FileZilla: The following packages have unmet dependencies [on hold]

I am trying to install FileZilla 3.19 but I get this error when running apt-get install filezilla: Reading package lists... Done Building dependency tree Reading state information... Done Some ...
0
votes
0answers
22 views

Can not update Restricted extras

The message that I receive when trying to play any audio file: Required plugin could not be found Videos requires to install plugins to play media files of the following type: MPEG-1 Layer ...
0
votes
0answers
12 views

Software center error, tried recommended commands, no dice [duplicate]

Software center just closes, error message sent. Here is what I am left with. Thanks in advance. rustybucket@rustybucket:~$ sudo apt-get autoclean [sudo] password for rustybucket: Reading package ...
0
votes
0answers
8 views

failed to remove dnscrypt-proxy

I am trying to remove dnscrypt-proxy from my system I tried to run sudo apt-get remove dnscrypt-proxy and then i get this error Removing dnscrypt-proxy (1.6.1-1pmo3~xenial) ... Failed to stop ...
2
votes
2answers
125 views

Can't purge old kernels (dependency problems), but /boot is out of space

I'm running Ubuntu 14.04.4 LTS, and I'm trying to install a new package using apt-get. Unfortunately, whenever I try I get messages like: The following packages have unmet dependencies: linux-image-...
0
votes
0answers
28 views

Avoid updating system while installing Ubuntu 14.04

I'd like to install Ubuntu 14.04 with Preseed out of a local archive. While installing, the routine wants to enter directory "trusty-updates" and can't find it just because it is not in the archive. ...
1
vote
1answer
135 views

Symantec Class 3 G4 intermediate certificate missing from ca-certificates/ca-certificates-java

I hope that you can help. I did a search and didn't find this exact issue. A vendor of ours recently updated their SSL certificate using a Symantec intermediate certificate. Our java process was no ...
312
votes
14answers
886k views

Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

I get this error when trying to use apt-get: E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is ...
0
votes
0answers
39 views

Ubuntu 16.04 Error Processing archive mysql-common

I've a problem when I'm tried to run apt-get update, error appears as follows: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run '...
4
votes
3answers
14k views

nginx dependency problem trying to upgrade

Trying to upgrade my Ubuntu 12.04 vps I get the following error: henrik@neung:~$ sudo apt-get upgrade [sudo] password for henrik: Reading package lists... Done Building dependency tree ...
1
vote
1answer
21 views

How can I install php5-mcrypt

When I try to use sudo apt-get install php5-mcrypt to install php5-mcrypt, I receive the following error. I used sudo apt-get install lamp-server^ to install the php5 ahmad@ubuntu:/var/www/html$ sudo ...
0
votes
0answers
21 views

Unable to downgrade GNOME from 3.20 to 3.18

I'd like to downgrade GNOME because 3.20 on my Ubuntu 16.04 is a mess. There are countless sources on the Internet (including askubuntu) saying how to do this, and it's always: sudo ppa-purge ppa:...
34
votes
2answers
42k views

Installing PHP 5.6 on Xenial (16.04)

I need to use php5 (5.6) because I'm working on a Drupal 7 project which doesn't support php7. The problem is I recently updated to ubuntu 16.04 Xenial which seems to no longer support php5. I tried ...