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
7k views

How to install traceroute utility?

I'm getting this: atul@ubuntu:~$ sudo apt-get install traceroute [sudo] password for atul: Reading package lists... Done Building dependency tree Reading state information... Done Package ...
0
votes
0answers
18 views

Why Ubuntu 16.04 Setups Linux Kernel 4.4 in Linux kernel 4.6 Installation?

I installed Linux kernel for Ubuntu 16.04 64 bit as described here. After 17 days of use, I started to get System crashes at the startup, which logs I sent to developers. I do where same output also ...
7
votes
2answers
19k views

Can't install php5 on Ubuntu 16.04

so I've recently installed my first Ubuntu, to be precise, a daily build of 16.04, on my new laptop since the hardware was to new for 15.10. Now I'm in the process of setting it up and I want to ...
0
votes
0answers
28 views

Unattened upgrades for all packages

If I have this following option set in unattended upgrades (/etc/apt/apt.conf.d/50unattended-upgrades), will it update all packages even the ones added repository in /etc/apt/sources.list.d // ...
0
votes
0answers
21 views

No Ubuntu-Desktop Yet Again

This has been a bad day for me. It started while I was trying to install build-essential so I could start some coding projects, but it ended with me busting my computer. I'll give you the low down. ...
0
votes
0answers
11 views

Unattended-upgrades not showing in apt

Even though the updates are installed using unattended upgrades, apt still shows them as not installed. abhishek unattended-upgrades $ tail unattended-upgrades.log 2016-06-30 10:42:57,264 DEBUG ...
1
vote
3answers
31 views

Getting error while running sudo apt-get update

Whenever I am running $ sudo apt-get update, I am getting the following error. $ sudo apt-get update Hit:1 http://download.virtualbox.org/virtualbox/debian xenial InRelease Hit:2 http://archive....
0
votes
1answer
25 views

Update notification for user-modified package

For a long time I had a copy of Xournal 0.4.8 which I had modified; update notifications and aptitude never proposed that I "update" it to the repository version (or actually to the version in this ...
1
vote
0answers
21 views

Programs not Upgraded?

This question has been asked before, I know, but I think my situation is a little... odd. I've been trying to install build-essential so I can do some development, but I keep getting a huge long ...
0
votes
0answers
24 views

Issues with Unity Tweak Tool on Ubuntu 16.04

I recently installed 16.04 on my desktop, and one of the first things I did was install the Unity Tweak Tool (via the Ubuntu Software app store). It was working fine for a while. Later, after making ...
0
votes
1answer
69 views

Can I skip using apt-get update and update a software directly using .tar file?

Often I don't need to do apt-get update because that command will also update the system when I only need to update a software only. The reason is for example firefox new version only require 20++...
1
vote
1answer
42 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
2answers
2k views

nginx fail to install on Ubuntu 15.10 server

I am trying to install nginx on my freshly installed Ubuntu Server 15.10 with Mate desktop. I did a quick update: sudo apt-get update Now trying to install nginx: sudo apt-get install nginx ...
3
votes
0answers
20 views

Error when using sudo apt-get update

I am using kubuntu 16.04 SSD/HDD combo and I keep getting the below error message when trying to sudo apt-get update. Reading package lists... Error! E: Could not create temporary file for /var/...
0
votes
3answers
474 views

Ubuntu Server not using proxy settings

i am using the ubuntu server package (terminal only) and i am struggling to get the proxy server working. there is no username/password for the proxy. When i am trying to do sudo apt-get update i ...
0
votes
1answer
17 views

Why do it get this error while downloading source packages as a Regular user?

I'm downloading a source package and I get this error W: Can't drop privileges for downloading as file 'inkscape_0.91.orig.tar.gz' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: ...
1
vote
1answer
36 views

Failed to Install New Kernel (v4.2.0-41.48) from (v4.2.0-38.45)

I tried to upgrade to the new kernel today, but DPKG half-configured the packages. Here's what APT said: (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ......
6
votes
2answers
223 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:/...
1
vote
1answer
32 views

Is APT trying to downgrade a package?

Since last month (or two) I am observing this kind of error when running apt-get upgrade: Preparing to unpack .../nginx-common_1.9.3-1ubuntu1.2_all.deb ... Unpacking nginx-common (1.9.3-1ubuntu1.2) ...
0
votes
0answers
18 views

Error trying to install most things Sub-process /usr/bin/dpkg returned an error code (1)

I'm trying to install deluge with sudo apt-get install deluge and I get this error: Reading package lists... Done Building dependency tree Reading state information... Done deluge is already ...
0
votes
0answers
19 views

all packages removed with apt-get remove, how to recover

I was trying to uninstall python2.7 package using apt-get remove, but it seems all packages are removed. I think I tried with "sudo apt-get remove python2.7". After reboot left pane is not coming on ...
0
votes
0answers
25 views

dpkg: error processing package initramfs-tools

Error while updating the system. I try: sudo apt-get upgrade sudo apt-get install -f sudo apt-get autoremove sudo apt-get purge Output: Setting up initramfs-tools (0.122ubuntu8.1) ... update-...
3
votes
4answers
388 views

Regexp/config var for apt-cacher to allow repo files for 16.04 clients (Metadata, Components-*.yml)?

I use apt-cacher on a Debian server, and doing an apt-get update with a 16.04 client I'm finding that it's blocking a bunch of repo files including icons-64x64[.tar[.gz]], some xz extensions, Metadata ...
0
votes
1answer
52 views

apt-get update stuck at “100% [1 Sources 276 kB/277 kB 100%]”

I have two servers that are running Ubuntu 14.04.4. When I do apt-get update, they both get stuck on 100% [1 Sources 276 kB/277 kB 100%] or the same line with a different size(like 199kb). Packages ...
2
votes
1answer
21 views

Biber and biblatex ubuntu (Upgrade from xenial-proposed?)

Ubuntu 16.04 has the wrong version of biber shipped, biber 2.3 is too low to be compatible with biblatex: $ sudo apt-get install texlive-bibtex-extra biber Reading package lists... Done Building ...
0
votes
0answers
19 views

Weak security SHA-1 SSL error in chrome on some sites after installing ubuntu 14.04

I installed a old Ubuntu ISO 14.04 Trusty, May be it was downloaded in 2015. I keep getting SHA-1 weak security error while using slack when Slack actually uses SHA-2. This site uses weak ...
1
vote
1answer
21 views

Unattended upgrades

There are 2 files with same configuration settings in unattended upgrades /etc/apt/apt.conf.d: 20auto-upgrades and 10periodic. APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-...
1
vote
2answers
1k views

14.04 update hangs on bluez

I am having trouble doing a software update on 14.04. sudo apt-get update sudo apt-get upgrade The terminal hangs indefinitely after outputting: Setting up bluez (5.23-2ubuntu0trusty1) ... I ...
-2
votes
2answers
27 views

apt-get broke after trying to install wine [on hold]

I'm a new Linux user. I use Kali Linux and tried to install wine via: sudo apt-get install wine winetricks This, however, didn't work as there were some errors. After that, I cannot install, update ...
3
votes
1answer
319 views

Perl package not found with apt

When I try to do an upgrade or install something, apt(-get or aptitude) throw an error, saying that perl can't find XML/SAX/Debian.pm while trying to configure libxml-libxml-perl. Here is the full ...
2
votes
2answers
31 views

Ubuntu doesn't show any updates anymore

I have installed Ubuntu 16.04 in April, but since I have barely received any system updates (the ones popping up automatically with the Software Updater). When checking the kernel version with uname -...
6
votes
3answers
477 views

apt: relocation error: version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

Since trying to upgrade to 16.04 xenial, I'm getting $ apt apt: relocation error: /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0: symbol ...
2
votes
1answer
10k views

apt-get package is not available but is referred to by another package - but cannot find that package

When I try to install a package with apt-get install, I'll occasionally see a message of the form Package somePackage is not available, but is referred to by another package. This may mean that the ...
0
votes
1answer
457 views

Ubuntu 16.04 apt-get update doesn't work with local repository

I have local repository of xenial in /CDs/ubuntu directory. My sources.list file: deb file:/CDs/ubuntu xenial main restricted universe multiverse Results of update: #apt-get update Get:1 file:/CDs/...
0
votes
2answers
4k views

Accidentally deleted /etc/apt/apt.conf.d

I accidentally deleted the apt.conf.d folder and cant install (use the apt-get) anything =( . When I try to locate the apt.conf.d in the apt folder , its no longer there . EDIT: When I open the apt ...
0
votes
0answers
17 views

Can't apt update Error: Unable to find expected entry in Release file, Wrong sources.list entry or malformed file

I keep getting the following error, there is no line number in error, also I looked up url and keywords in sources.lst but couldn't find anything. The existing answers didn't help. W: Failed to ...
5
votes
2answers
18k views

Installing matplotlib on Ubuntu 14.04 after installing Python 3 with pyenv

I am using Ubuntu 14.04 with Python 2.7.6. I have installed matplotlib for Python 2. Now, I just installed Python 3.4.2 using pyenv install 3.4.2. I then ran pip install matplotlib to install ...
-3
votes
0answers
39 views

I am getting an unknown error [on hold]

I am getting this error related to package updates. What is causing it? How can I fix it? W:Ignoring file 'trusty-stella-datong.volatile' in directory '/etc/apt/sources.list.d/' as it has an ...
0
votes
0answers
12 views

How do I make h5py MPI-aware with the apt package system?

As I am trying to run parallel hdf5 with h5py and mpi4py, I am met with the following error: NameError: global name 'mpi4py' is not defined Googling suggests that this is because h5py is not "mpi-...
0
votes
0answers
55 views

Can't Install Wine On Ubuntu 16.04 For Unkown Reason!

The problem: Every time I've tried to install Wine on Ubuntu 16.04, it doesn't work. When I attempt to install it, I receive the following message: E: Unmet dependencies. Try 'apt-get -f install' ...
2
votes
1answer
209 views

How to get unity build dependencies after apply the LTS Enablement Stacks?

I have a Ubuntu 14.04.2 installation with the LTS Enablement Stacks (https://wiki.ubuntu.com/Kernel/LTSEnablementStack). I would like to build the Unity package from source to apply some custom ...
1
vote
1answer
430 views

Installing Kodi, add apt-repository won't work

I've been following the instructions to install Kodi on my Ubuntu built pi as per the instructions here. However, when I get to the install: sudo add-apt-repository pps:team-xmbc/ppa Error ...
0
votes
0answers
20 views

Apt-get update failed with proxy

What's the most possible reasons for my case while I do a apt-get upgrade of apt-get install [package]. The setting of /etc/apt/apt.conf are as follow: Acquire::http::Proxy "http://169.254.91.100:...
0
votes
1answer
32 views

Unable to locate package libfam0-dev

I am trying to install Maya 2015 on my laptop, Ubuntu 14.04, 64 bit, and I can't continue with sudo apt-get install -y alien csh tcsh libaudiofile-dev libglw1-mesa elfutils gamin libglw1-mesa-dev mesa-...
24
votes
4answers
25k views

How can I update youtube-dl?

I use youtube-dl to download videos for watching later offline. Usually, it works fine. However, due to frequent changes on the video sites, it sometimes requires a quick update. It wasn't a problem ...
0
votes
0answers
24 views

g++ installation problem

While I type sudo apt-get install g++ in terminal I am getting this. After this type of things I am getting the dependency problem and broken package problem. I have tried all solutions like sudo ...
2
votes
2answers
827 views

Botched upgrade--dpkg hangs on 'Started Braille Device Support'

Screwed up an upgrade from 14.10->15.04->15.10 badly. I've been messing around in recovery mode and am confidentish that I managed to get all the broken packages/dependencies removed and reinstalled, ...
0
votes
0answers
12 views

error while loading shared libraries: libGL.so.1 genymotion

I install genymotion but when I try to run it, it gives me this error : ./genymotion: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory I ...
1
vote
1answer
27 views

Installing the latest version of Apache 2.4 from trusty backports throws dependency errors

I'm trying to install the latest version of Apache 2.4. However: $ sudo apt-get install apache2=2.4.* Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
1answer
40 views

update not happening sudo apt-get update command

Followings are the error output: **W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty-security/main/source/Sources 404 Not Found [IP: 91.189.92.152 80] W: Failed to fetch http://extras....