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)

2
votes
1answer
631 views

Help finding missing mumble-server dependencies

I'm trying to install the mumble-server package using apt-get install mumble-server on Ubuntu 11.10 Server Edition on Rackspace Cloud. Problem is it can't find dependencies it should have found ...
2
votes
1answer
2k views

Could not open lock file /var/lock/aptitude No such file or directory

For all those who installed aptitude to easily search through apt on ubuntu 11+, upon upgrading to 11.10 I am now receiving this error. [ ERR] Reading state information E: Could not open lock file ...
2
votes
1answer
482 views

Why does aptitude list a package as not installed while dpkg says it is installed?

When I stat on my 11.10 machine aptitude search lightdm I get this: p gir1.2-lightdm-1 - Typelib file for liblightdm-1 p liblightdm-gobject-1-0 - LightDM ...
1
vote
1answer
2k views

apt-get install kernel source error

apt-get source linux-image-$(uname -r) gives me the below error Reading package lists... Done Building dependency tree Reading state information... Done Picking 'linux' as source package ...
61
votes
23answers
107k views

How to fix Duplicate sources.list entry?

I keep getting this warning whenever I try to run sudo apt-get update. W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages ...
2
votes
1answer
1k views

How to safely remove or repair plymouth package?

I have a broken package... So far nothing horrible. The problem is that it is Plymouth, and it seems that if I remove it, I will remove half of the packages of my system... So here is my question: if ...
1
vote
1answer
278 views

cannot update 10.04 server

I've tried to update 10.04.3 Server but I get an error (sorry but trey're written in slovene) says that cannot download updates and cannot connect to http://si.archive.ubuntu.com lucid Release Any ...
1
vote
1answer
4k views

Unable to remove the lock by normal means

I've been installing ubuntu restricted extras via the software center. Everything was going well at first, but then the installation process froze on 'applying changes' stage. I've had this in the ...
2
votes
1answer
342 views

Unable to install blockdiag

I am trying to install a python UML tool called blockdiag via this command: sudo easy_install blockdiag I get the following error and am unable to figure out how to fix it. I have received this ...
-1
votes
1answer
242 views

sudo apt-get remove [software package] removes [software package] but installs something else as well?

I am using Xubuntu 11.10 Oneric on an old ThinkPad. Often, when I run sudo apt-get purge/remove [software package], the requested software package, say, gnome-shell, is removed and replaced with what ...
3
votes
1answer
756 views

How to uninstall softwares installed with `apt-get`

I am a newbie and followed the instructions of the site: http://sejalivre.org/instalando-o-java-6-update-30-no-ubuntu/ in order to install Java and some proprietary software based on Java on my Ubuntu ...
5
votes
6answers
6k views

Apt-Get using Apt-Cacher NG fails to fetch packages with hash sum mismatch

I have a machine who is using Apt-Cacher NG running on another machine as caching proxy. When I try to run sudo apt-get update I get the following errors: W: Failed to fetch ...
4
votes
3answers
461 views

How to download the source packages for all installed packages?

What apt incantations do I need to use to download the source packages for all the installed packages into a directory? (The use case is GPL compliance when giving an installed Ubuntu system to ...
2
votes
1answer
5k views

openjdk-7-jre on Ubuntu 10.10

As mentioned here, by running this command you can install Java 7 JRE. $ sudo apt-get install openjdk-7-jre But sometimes I can't find the package in the official repository of Ubuntu even after ...
3
votes
2answers
3k views

Can't add repository due to 'missing' fingerprint

I am trying to install nginx with php but when I am following a guide, like this one: http://www.justincarmony.com/blog/2011/10/24/setting-up-nginx-php-fpm-on-ubuntu-10-04/ I am always told to add ...
8
votes
6answers
30k views

Package system is broken. How to fix it?

I just recently bought an arduino and requires gcc-avr/avrdude to compile the software. I installed avr for another microprocessor component a while ago but is obviously an outdated version (gcc ...
2
votes
2answers
92 views

What happens if I install updates without checking for new updates first?

Let's say I open the Update Manager, and my package list is a couple of days old, or I do apt-get upgrade without doing an apt-get update first, what is the result of this? If there have been ...
3
votes
1answer
72 views

How to install 11.10 package on 11.04?

I use rsnapshot to backup various machines, and there is a bug fix between 1.3.1-1 and 1.3.1-3 which is important to me. Unfortunately, this bug fix is only packaged for Oneiric, and a couple of my ...
2
votes
1answer
1k views

Added PPA but apt-get update shows that it's URL is being ignored

I have just added the Handbrake PPA to my Ubuntu system using apt-add-repository ppa:stebbins/handbrake-releases as root. I've then run apt-get update but whenever I run this I get the following line ...
6
votes
4answers
1k views

What is the recommended method for getting & installing updates for an Alpha or Beta release?

I am new and do not, of course, know a lot about installing and maintaining an Ubuntu release. One of the "tricks" I have learned to use is sudo apt-get update followed by sudo apt-get upgrade to ...
0
votes
1answer
3k views

Missing php.ini after apt-get install php5

I just installed php5 as root via apt-get install php5, and for whatever reason I can't find my php.ini file. Running locate php.ini or ls /etc/ | grep php.ini both yield no results. Is there ...
3
votes
3answers
8k views

Apt-get failed to fetch from Ubuntu server with error code 404

I just updated from 10.04 to Oneiric and now I can not use my apt-get anymore. When I do I got the following error: Ign http://security.ubuntu.com oneiric-security InRelease Ign ...
1
vote
0answers
49 views

Fixing dpkg after installation of broken packages? [duplicate]

Possible Duplicate: How to remove all associated files and configuration settings of an app installed through 'force architecture' command I installed a broken package, and now ...
1
vote
1answer
838 views

make a deb repository from packages installed in one server

i have to servers, the main of them , called server1 is a working ubuntu server, with some packages hold in some version, and some of them compiled from deb-src too. I want to make a local repository ...
1
vote
1answer
2k views

Will upgrading ubuntu kernel to a newer downgrade the old kernel?

i have an ubuntu desktop 11.10 64 bit upgraded from 11.04, with kernel 3.3.0 generic installed from packages. I plan to upgrade automatically to 12.04 LTS. I saw in the release info that the official ...
9
votes
2answers
10k views

bypass the yes/no prompt in apt-get upgrade

in order avoid typing out all of the apt-get commands when updating my computer i have made a simple alias command to do it. But i really want to be able to just type in my alias and let it do its ...
20
votes
2answers
30k views

How to install suggested packages in apt-get

I know the question has been asked before, but please hear me out. So I wanted to install screenlets. I ran sudo apt-get install screenlets, and this is what I got: The following extra packages will ...
0
votes
1answer
233 views

Trigger script execution on after apt-get upgrade for a certain package?

Question: I have customized an application startup script. Unfortunately, it gets overwritten every time I do apt-get dist-upgrade when there is an update available (quite often). Now I have ...
3
votes
1answer
710 views

How can I install any package in a particular directory with apt-get?

I would like to know if there is any way that I can make apt-get to install packages in a directory other than /usr/bin. Say I want apt-get to install all the packages from now on to /software. Its ...
10
votes
3answers
43k views

apt-get install openjdk-7-jdk doesn't install javac. Why?

The program 'javac' can be found in the following packages: * openjdk-6-jdk * ecj * gcj-4.4-jdk * gcj-4.6-jdk * gcj-4.5-jdk * openjdk-7-jdk Then I run sudo apt-get install openjdk-7-jdk and ...
5
votes
3answers
838 views

is there a use case for `apt-get install` without `update`?

Every time I see instructions to run apt-get install, it says to run apt-get updatefirst. Same for upgrade and dist-upgrade. Why doesn't install automatically do update? Is there a case where you ...
13
votes
2answers
13k views

aptitude safe-upgrade equivalence with apt-get

Is there an equivalent to doing aptitude safe-upgrade using apt-get?
2
votes
2answers
2k views

unmet dependencies and broken count>0 problem

I tried installing fbreader, following all the steps, but ended up with unmet dependencies, i also think a file is referenced in two locations at once and hence killing it.. any ideas how I can fix ...
5
votes
4answers
10k views

where are apt-get files stored?

i have an ubuntu with three virtual machines running inside running ubuntu also i update the host using apt-get update but i can update VM's, it takes a long time + uses a lot of bandwith which ...
1
vote
1answer
2k views

Unable to upgrade due to “SystemError: E:Method has died unexpectedly!” error

These are the errors shows by different client Update Manager: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 968, in simulate ...
14
votes
5answers
58k views

How to downgrade from PHP 5.4 to 5.3

Recently I upgraded PHP to 5.4, but it seems to be failing on me because APC isn't working with it, however this gave me no choice but to downgrade to 5.3, how can I do this? I executed apt-get ...
2
votes
1answer
2k views

apt-get update fails due to “Unable to connect to localhost:8250” error

Im trying to run sudo apt-get update. I know the server is up and my internet is working. any clues? sudo apt-get update Err http://ppa.launchpad.net oneiric InRelease Err ...
0
votes
3answers
583 views

Get list of recommended packages (suggestions) for touch screen support after apt-get install lxde

I was manually installing X server and lxde on my cellphone's chrooted ubuntu. There were a couple of packages suggested after install related to touchscreen support. I can't remember the name of ...
0
votes
1answer
485 views

libimobiledevice wants to remove all my other packages

When running the command sudo apt-get remove libimobiledevice2 I get: The following packages will be REMOVED: ... gdm gdm-guest-session gnome-power-manager gnome-session gnome-session-bin ...
0
votes
2answers
4k views

All kind of errors while running apt-get update, GPG, BADSIG and more

Okay, I dont know what is going on and thats why I am writing here. I have seen many questions asked and the sollutions to the issues with gpg errors are either sudo -i apt-get clean cd /var/lib/apt ...
1
vote
1answer
518 views

apt-get doesnt download files from NFS location

I have switched to unix from last 3 months and trying to understand install process and in particular apt-get. I am able to successfully install and download the packages when I configure my ...
2
votes
2answers
2k views

Unmet dependency error while installing Cinnamon

I added the required PPA for Cinnamon. Now when I run sudo apt-get install cinnamon, I get the unmet dependencies error. Reading package lists... Done Building dependency tree Reading state ...
3
votes
1answer
4k views

error while doing sudo apt-get update

i always get the following errors when i do sudo apt-get update. How do i fix them? W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner i386 Packages ...
3
votes
1answer
189 views

add packages to apt's partial archives

I'm experimenting with a possible answer for add packages to squid-deb-proxy cache, wherein I am trying to add files downloaded on a different network to the squid-deb-proxy cache. It occurred to me ...
0
votes
1answer
270 views

Release upgrade crashes with “W:Failed to fetch http://host/debian/dists/oneiric/Release.gpg”

My update manager told me that it has not checked for updates in the past 18 days, so I clicked the "check" button. It works just fine until a certain point where it says "Downloading release". The ...
3
votes
2answers
2k views

How to avoid “apt-get” to stuck?

In some conditions like those : Slow internet connections Slow PPA or sources Wifi internet access or 3g internet access apt-get may stuck during update, install, upgrade or dist-upgrade.... ...
1
vote
2answers
232 views

Software center install name to package installed without diffing dpkg output

Something I ran across in the wee hours of the morning this morning was that the software center samba package differs from the samba apt-get package. How do you in a direct way (as in from software ...
2
votes
2answers
2k views

Can't install package (Cinnamon)

I am trying to install Cinnamon 1.4 on my Ubuntu VM (10.10) and I can not get this to work. If someone could be nice enough to explain what i'm doing wrong I would really appreciate it! ...
1
vote
0answers
228 views

Secure APT GPG problem with Release files

I'm experiencing a problem with apt. We're using our own repository and the users apt is configured to check the peer and host of the repository. Furthermore the Release file is verified (with the ...
2
votes
3answers
405 views

Prioritize PPA/repos with the same host

I'm using GIMP every day (on 11.10). Because of this, I need the Single-Window mode feature. So, I've added the matthaeus123/mrw-gimp-svn PPA, but as you see the description: GIMP 2.7.5 Will not ...