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)

38
votes
6answers
43k views

My /boot partition hit 100% and now I can't upgrade. Can't remove old kernels to make room

My first issue was when i tried to apt-get update/upgrade. On upgrade I get the following error: You might want to run 'apt-get -f install' to correct these. The following packages have unmet ...
0
votes
0answers
7 views

Upgrade from 12 to 14 failed with missing python package, now what?

do-release-upgrade aborted deep in the process. The main log file ends with the following. How do I recover this system? (The apt.log file seems boring). 2015-03-28 08:30:32,930 INFO Using config ...
2
votes
2answers
475 views

Unable to install android studio dependency is not satisfiable

I am trying to install android studio from this source: The following packages have unmet dependencies: android-studio : Depends: lib32ncurses5 but it is not installable Depends: ...
1
vote
1answer
3k views

Can't install or upgrade Firefox at all

I've run into a frustrating problem when attempting to upgrade Firefox. I was running version 16 attempting to upgrade to version 18 through Synaptic. I received the following error: W: Failed to ...
0
votes
1answer
14 views

What is the correct address for precise/12.04 restricted, multiverse and universe ppa?

I am running Ubuntu 12.04. When I run sudo apt-get update now I get the following errors at the end: W: Failed to fetch ...
0
votes
5answers
13k views

How can I access my Ubuntu phone over ssh?

Whenever I try to run apt-get install openssh-server I get the following errors: root@ubuntu-phablet:/home/hablet# apt-get install openssh-server W: Not using locking for read only lock file ...
0
votes
0answers
10 views

ubuntu machine had postgresql folder blown away manually

i have a machine where a user deleted their postgresql folder from the command line in an attempt to uninstall postgres. when they go into the Ubuntu Software Center, they are continuously prompted ...
0
votes
0answers
28 views
+50

Why no TCP_HITS using squid-deb-proxy

I've followed all the advice here and the server log file updates when I do an update on another computer on the network. However, I never see any TCP_HITs. I even grepped for them. This is some of ...
0
votes
1answer
25 views

Uninstall libav packages after re-installing from source

I'm running kubuntu 14.04 and don't plan on upgrading until at least these summer holidays. The libav packages provided are somewhat outdated (two major versions behind) and produce unsatisfying ...
24
votes
6answers
48k views

apt-get update very slow, stuck at “Waiting for headers”

I have looked at similar questions: Stuck at 0% [waiting for headers] (apt) apt-get update stuck on "Waiting for Headers" However neither one of them answer my problem. I am running ...
0
votes
0answers
6 views

Packaging an app that uses autotools

Hopefully someone can help me, I maintain a ppa and lately I've been trying to package a few apps which utilize autotools in their source. I've tried various different configurations in my debian ...
0
votes
2answers
514 views

OpenJDK-7-JRE throws “broken packages” error (14.04 LTS)

I have an application that requires the Java JRE. I decided to go ahead and install the JRE from the repositories. Normally, the only issue I would have with this is it taking forever and a day to ...
14
votes
1answer
27k views

Apt encounters errors with bad GPG keys [duplicate]

Possible Duplicate: How do I fix a “Problem with MergeList” error when trying to do an update? I always have been a Windows guy but with my recent interesting and degree ...
5
votes
1answer
201 views

What is apt-file update?

I was following these instructions and I have installed apt-file along with some other packages using: sudo apt-get install gnupg pbuilder ubuntu-dev-tools bzr-builddeb apt-file And now every time ...
434
votes
15answers
626k 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 to do this?
0
votes
2answers
15 views

ia32-libs-gtk package not found

Though I searched a lot and there are lots of thread about ia32-libs-gtk but nothing seems to solve the problem. when I ran sudo apt-get install ia32-libs-gtk it says unable to locate. i want to ...
1
vote
1answer
553 views

Software Update: This requires installing packages from unauthenticated sources

When trying to install packages through the software updater on Ubuntu 14.04.1 LTS I get following error: It's about these packages: I have selected following settings from where to install ...
0
votes
1answer
12 views

Lubuntu: Apt-Get Can't Find GCC

I'm trying to install gcc so I can compile the no-ip client. When I try to use apt-get, the command returns: unable to locate build-essentials What is the correct apt-get install package command to ...
0
votes
0answers
13 views

dpkg: error processing procps (--configure)

How can I fix this issue? user@server:/var/lib/dpkg/info$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages ...
6
votes
3answers
48k views

“Unable to locate package” while trying to install packages by apt

When I try to install any package through the command line, I get an error. Can anyone help me on this? $ sudo apt-get install <package> Reading package lists... Done Building dependency tree ...
8
votes
1answer
10k views

Install with sudo app-get install doesn't work, “Not using locking for read only file /var/lib/dpkg/lock”

I just installed Ubuntu Touch on my Nexus 7. Unfortunately I can't install anything from the terminal app: If I enter: sudo apt-get install yasm -y git make g++ build-essential libminiupnpc-dev I ...
1
vote
0answers
26 views

Udev and systemd are broken any help would be appreciated

I cannot configure udev or systemd cam@banowsky:~/rails/lo/db$ sudo dpkg --configure udevSetting up udev (219- 4ubuntu10) ... update-initramfs: deferring update (trigger activated) insserv: ...
0
votes
2answers
14 views

Installed phpunit using composer but still says to install using apt-get

I have installed composer globally on my Ubuntu12.04 machine. I can confirm it because it is in the ~/.composer/vendor directory and is included in global composer.json. My problem is whenever I try ...
37
votes
6answers
20k views

Where can I look up my update history?

Is there a place where I can look what updates I've installed?
0
votes
0answers
10 views

Error when attempting to update Ubuntu 14.04

I am using Ubuntu 14.04.When I attempt to update: sudo apt-get install -f I see this error: kg-deb: error: subprocess paste was killed by signal (Broken pipe) Examining /etc/kernel/postrm.d . ...
5
votes
1answer
6k 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> ...
0
votes
0answers
25 views

Why can't I install mono-complete?

When I try to install it, the following result comes up: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may ...
34
votes
10answers
44k views

How to use a .iso image as a CD-ROM Repository?

I have all images of Debian, Ubuntu and Ubuntustudio as .iso. How can I use them as repository to install my desired packages with sudo apt-get install package-name? I easily mount the .iso file with ...
8
votes
6answers
11k views

How do I install a 32-bit proprietary deb on a 64-bit system without causing dependency problems?

I know Guitar pro doesn't support 64 bit, but i did get it to work with this command jeggy@jeggy-XPS:~$ sudo dpkg --force-architecture -i GuitarPro6-rev9063.deb [sudo] password for jeggy: Selecting ...
2
votes
1answer
4k views

Can't connect to some (not all) repository servers

I have some head crunch issues with updating my Ubuntu 12.04 server system. When I issue the following command (as root): apt-get update ...nothing happens and after a while apt-get gives up with ...
1
vote
0answers
15 views

How to keep terminal for installation of debugging symbols of apport's local investigation alive?

apport allows to investigate crashes locally and to either start a gdb session, get a backtrace or install debugging symbols in that local investigation. When choosing the latter a gnome-terminal is ...
2
votes
2answers
34 views

apt-get update doesn't work gives an error

Errors were encountered while processing: /var/cache/apt/archives/libsdl2_2.0.3+z4~20140315-8621-1ppa1trusty1_i386.deb ...
5
votes
2answers
175 views

Consequences of using apt-get in ubuntu touch

I have just received my BQ Aquaris E4.5 Ubuntu edition. I have been playing around with it and find that it is just what I expected it to be. One of the great things about it is a full ubuntu stack, ...
3
votes
3answers
438 views

How can I get a list of files on my computer that are not “owned” by any package?

I'm contemplating writing a script that does this: Goes through each file in /usr/lib Does a dpkg -s search on each file. Reports a list of "orphan" files not belonging to any .deb package. The ...
1
vote
0answers
18 views

apt-get should not download packages that are locally available

I am trying to install some packages. I have already downloaded the .debs to my local repo and apt is aware of it since apt-cache policy shows the package, but when trying to install the package, it ...
1
vote
3answers
75 views

What does apt-get install pkg -y do?

Using apt-get install pkg, you can specify a parameter -y. What does -y do?
1
vote
0answers
26 views

Problem installing apache 2 in ubuntu 14.04: dpkg:- error processing package javascript-common (--configure):

I was trying to reinstall my apache 2 after un-installing it. But on installing it using command- sudo apt-get install apache2 i am getting error- rahul@rahulpc:~$ sudo apt-get install apache2 ...
0
votes
1answer
41 views

Unable to install ubuntu-device-flash in 14.04

I have problem with this command: $ sudo apt-get install ubuntu-device-flash Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be ...
0
votes
0answers
31 views

to install numpy i get the following error of unmet depedency

While installing the numpy of python I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f ...
9
votes
4answers
4k views

Get package description using apt

How do I get the prosaic description of a package using apt? I tried both apt-cache show and apt-cache showpkg but no luck. Using synaptic it's easy as typing the package name and the description is ...
0
votes
0answers
17 views

unable to install gnome-shell and i also dont have unity

$ sudo apt-get install gnome-shell [sudo] password for dheeru: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. ...
0
votes
0answers
26 views

apt-get update error on domain http://ubuntu.mirror.pop-sc.rnp.br

I have trouble with apt-get update command. As I was doing apt-get update, it always stuck with anything with the domain http://ubuntu.mirror.pop-sc.rnp.br I have already tried modifying the source ...
0
votes
3answers
186 views

do-release-upgrade, interrupt, then no upgrade found

I started a do-release upgrade from 14.04 to 14.10. It found a release and started downloading some files. Before it got to do anything besides downloading, I realized on was on battery, didn't have ...
0
votes
2answers
25 views

can't install , remove , purge or anything

when ever I try to open Software Center it shows a message : New software can't be installed because there is a problem with the software currently installed. Do you want to repair this problem ...
0
votes
2answers
44 views

/usr/bin/dpkg returned an error when remove & install broken packages

I tried to remove unstable openoffice and reinstall libreoffice however I accidently removed directory of openoffice under /opt before I purged it. Now I cannot clean the broken package, and cannot ...
1
vote
2answers
31 views

Which is actual difference between package update and security updates?

This is probably a real noob question... I would like to understand what the "updates" alerts I get when logging onto my Lubuntu box actually mean. When I read: 35 packages can be updated. 22 ...
0
votes
2answers
3k views

How do I get iperf on a Ubuntu 13.10 Live disc?

I have Ubuntu 13.10 running from a live DVD disc. Unfortunately it does not include the iperf tool, so it will need to be added separately. I already tried the command below. apt-get install iperf ...
0
votes
1answer
14 views

Can't install prozilla on ubuntu gnome 14.10

i am getting this error while installing prozilla: (Reading database ... 100% (Reading database ... 154269 files and directories currently installed.) Preparing to unpack ...
2
votes
1answer
5k views

How to debug dpkg configure error in subprocess post-installation?

In short: I am trying to install spamassassin but dpkg returns only with: dpkg: error processing spamassassin (--configure): subprocess installed post-installation script returned error exit status 1 ...
0
votes
0answers
78 views

Failed to add GPGKEY at http://cuda-repo/repos/GPGKEY to apt keys

I am trying to install JetPack-1.1.0 to my Ubuntu 14.04.2 x86_64 laptop. When the installation was at between %80 and %90 it warned me for installation of cuda-toolkit-6-5 cuda-cross-armhf-6-5 failed. ...