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)

7
votes
1answer
567 views

“The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192”

$ sudo apt-get update W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com maverick ...
17
votes
2answers
6k views

What is the apt equivalent to “rpm -V” (Verify installed packages)

On a RedHat/CentOS system, I can verify the installed RPMs on my system using rpm -V. What is the Ubuntu or apt equivalent of this command?
8
votes
1answer
10k views

How to set up PHP with Nginx, APC and PostgreSQL?

I use Ubuntu Server 10.10 and I would like to set up a web server environment with NginX, PHP 5.3.3, PostgreSQL and preferably APC and PHP Suhosin. I have already set up PostgreSQL with apt-get ...
10
votes
3answers
1k views

How do software updates work?

I would like to know how software updates work for my Ubuntu Server 10.10. I have been recommended to use apt-get install for installing new software and apt-get update for updating software for a ...
7
votes
2answers
4k views

How can I change repository mirror from commandline?

On the desktops, the package managers have convenient ways to change the sources.list for apt-get between different mirrors. Is there a similar menu-kind of way of doing this from the command line ...
4
votes
1answer
432 views

Equivalent to yum history?

Is there an equivalent to yum history command in ubuntu? Im aware that i can just look at the apt logs, but im looking for something that will list them all in the command line, and then enable me to ...
2
votes
2answers
2k views

Revert to original Ubuntu set of package

I've installed Ubuntu 10.04 6 months ago and then I've added a lot of packages. Now i upgraded to Ubuntu 10.10 and i want to remove all the packages in order to revert to the original ubuntu 10.10 ...
0
votes
1answer
752 views

How do I downgrade apt?

Today I did my typical "update all" routine when the package manager GUI told me many things needed updating. It chugged along and needed some confirms. I rebooted because one of the upgrades had ...
12
votes
2answers
530 views

Possible problems in mixed use of apt-get, aptitude and synaptic

Even though aptitude and synaptic are both front-end to the APT (and I myself stick only with apt-get), peculiarities in each of the available dpkg/APT frontends seem to cause problems and confusions ...
16
votes
4answers
11k views

How to get the native version of Spotify running?

A while ago Spotify (the streaming music service) came out with a preview for Linux of their client. I had succesfully run it throughout 10.04. Now I'm on 10.10, I can't seem to find it in the ...
1
vote
1answer
241 views

How can I get Movable Type 5 experimental package?

I'd like to install the movabletype-opensource package for version 5.0 I currently have Ubuntu 10.04 installed. How do I install the experimental package? Do I need to add a site to my apt sources? ...
0
votes
2answers
12k views

Apt-get couldn't find package [closed]

I have encountered this error several times lately on both Ubuntu Server/Desktop. E: Couldn't find package. I am trying to install the GUI desktop on the server 10.10 Thanks.
2
votes
1answer
244 views

How to upgrade an old package in say Ubuntu 6.10 to what's available for 10.04? (i.e. openssh)

I would like to learn how to upgrade packages in older Ubuntu versions to what's available in current versions. I assume there is always a manual way to do it, but is there something more automated ...
33
votes
4answers
3k views

Can I see why a package is installed?

For a specific package, can I find out why it is installed? So, can I see or it's manually installed, or that it is installed as a dependency of another package? Or that it is installed as part of ...
18
votes
1answer
529 views

Is there a way to limit the bandwidth that Software Center uses?

Whenever I am downloading packages using Ubuntu Software Center (or any package manager for that matter), my Internet connection slows to an absolute crawl. In fact, most requests timeout. Is there a ...
2
votes
2answers
2k views

apt-build & Chromium PPA

I'd like to build an (optimized) Version of Chromium for my machine with apt-build on Ubuntu 10.04. I've added a Chromium-PPA to my /etc/sources.list.d/ like this: deb ...
2
votes
2answers
698 views

Why are apt-get updates in development releases slower?

When i update apt-get the universe repo takes ages to download, I usually max out at around 130kbps which can easily download ~4mb in under a minute yet it skips between going an bytes per second and ...
5
votes
1answer
1k views

How to create a Remote Aptitude/APT Repository?

I've recently started administrating more Ubuntu machines - as such I've had to recompile/create packages for our configuration. On my Redhat machines I was able to create a server that served as a ...
3
votes
1answer
638 views

What are benefits of aptitude compared to apt-get? [duplicate]

Possible Duplicate: Is aptitude really better than apt-get? To install a package I can "apt-get install" or "aptitude install", to search - "apt-cache search" or "aptitude search". I find ...
33
votes
10answers
42k 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 ...
5
votes
2answers
2k views

Unauthenticated software sources

My Lucid (10.04) installation recently started warning me that the updated packages were unauthenticated. For instance, if I open Update Manager and click the "Install Updates" button, it warns me ...
13
votes
8answers
19k views

How do I find packages to install via apt-get

After doing a man apt-get and cursory Google search it's not clear how I find new programs to install (from the internet) using apt-get (which is amazingly powerful and simple coming from another ...
7
votes
3answers
683 views

Partition advice, how can I stop running out of space on “/” partition?

I run Ubuntu 10.04 on an EEEPC with a 4GB fast SSD set as the / partition, and a 16GB slower SSD set as the /home partition. I keep running out of space on "/", and can no longer install the latest ...
3
votes
1answer
152 views

How can I make sure that pinning with apt-get is compatible with virtual packages?

In order to allow php5.2 being used on lucid, I created a ppa (ppa:txwikinger/php5.2) and build several php5.2 packages there. In order to prefer those packages I have given instructions to pin them. ...
17
votes
2answers
23k views

How to make USB drive as local repository

I copied "archives" folder (/var/cache/apt/archives) from another computer which was fully updated and had some packages that i want. Can someone guide me how to add my USB drive in repository list so ...
33
votes
2answers
38k views

What is difference between the options “autoclean”, “autoremove” and “clean”?

apt-get has a few options which looks the same to me: autoclean, autoremove and clean. What do each of them do?
7
votes
4answers
3k views

What's apt-get's equivalent option of this dpkg command?

dpkg -L <package> This command gives me a list of all the installed files, what's apt-get's equivalent option for it? I read the man page but couldn't figure out.
14
votes
3answers
2k views

Why `sudo apt-get install XXXX` sometimes request confirmation, others not?

Just for curiosity, sometimes while installing software throught apt-get install software_name the terminal prompt me for a confirmation "type Yes or No", but not allways. I dont mean the sudo ...
5
votes
2answers
483 views

What does “hardy” mean in /etc/apt/sources.list?

I see entries in /etc/apt/sources.list that say: deb http://us.archive.ubuntu.com/ubuntu/ hardy universe I am using Ubuntu 8.04, and I don't know what "hardy" means, though I suspect it has ...
3
votes
1answer
206 views

Locking updates to a specific mirror

My ISP offers a freezone Ubuntu mirror (http://ftp.iinet.net.au/pub/ubuntu/) however Ubuntu is constantly pulling updates from a US server that is slower not inside my freezone How can I force ...
1
vote
2answers
288 views

apt-get stuck on libboo2.0.9-cil upgrade [closed]

For whatever reason, aptitude is stuck on upgrading libboo2.0.9-cil. I tried dpkg --configure -a and restarting the upgrade, but that doesn't seem to do anything. It just sits there on ...
10
votes
3answers
4k views

What is the equivalent apt-get or aptitude command

Is there an equivalent to the yum "whatprovides" option in apt-get? For example on CentOS yum whatprovides /usr/share/gdm/themes/TreeFlower/background.png Tells me ...
37
votes
8answers
15k views

Generating list of manually installed packages and querying individual packages

I'd like to get a list of packages installed manually by apt or aptitude and be able to find out whether a foobar package was installed manually or automatically. Is there any neat way of doing that ...
0
votes
2answers
443 views

Customize software sources for Ubuntu Desktop updater to manage?

I love the software updater in Ubuntu Desktop and want to configure underlying package managers with other sources of software. Sometimes I run into a new software project that isn't delivered ...
0
votes
1answer
2k views

Installation:Troubleshooting webmin dependencies

I am having a dependency problem dpkg installing webmin 1.510 (deb) package on Ubuntu 10.04, as seen in the screenshot. I do not know where to look to find info about what dependencies are needed. ...
4
votes
3answers
3k views

Backup Software Sources

In Ubuntu 10.04, when I goto System > Administration > Software Sources and goto the Authentication tab, I can view all of my keys allowing me to download from third party sources. How would I back ...
92
votes
6answers
55k views

What is the easiest way to resolve apt-get BADSIG GPG errors?

I frequently cross this issue, and always have to google for an answer. Does anyone have a permanent fix for BADSIG errors from apt-get? W: GPG error: http://download.virtualbox.org lucid ...
112
votes
6answers
41k views

Is aptitude still considered superior to apt-get?

When I first started with Ubuntu using aptitude was the 'in-thing', with some stated improvements over apt-get. Am I correct in saying that apt-get has now 'caught up' with aptitude, and it makes ...
1
vote
3answers
994 views

Why would the aptitude binary be missing if its package is installed?

Yesterday I upgraded a laptop from Kubuntu 9.04 (Lucid) to 9.10 (Karmic). Then afterwards I tried to install some software $ sudo aptitude install dont-remember-what-it-was and I get sudo: ...
8
votes
0answers
1k views

What is the converse of add-apt-repository? [duplicate]

Possible Duplicate: How can PPAs be removed after they have been added with the add-apt-repository command? You can a new PPA repository with add-apt-repository. How do you remove an added ...
21
votes
3answers
8k views

What does it mean that a package is “set to manually installed?”

When packages are already installed and I run an apt-get install <package-name>, sometimes it will print a line <package-name> is set to manually installed. What does that mean?
10
votes
1answer
586 views

Authentication problem with my PPA

I created a package and uploaded it to my PPA. After it got built, I went to install it, but was faced with this message: ******@******-laptop:~$ sudo apt-get install stackapplet Reading package ...
234
votes
11answers
172k views

“The following packages have been kept back:” Why and how do I solve it?

I just added a PPA repository for the development version of the GIMP, but I get this error The following packages have been kept back: gimp gimp-data libgegl-0.0-0 libgimp2.0 Why and how can I ...
29
votes
4answers
19k views

How to set up an APT repository?

I would like to set up an APT repository on a server that will provide a couple of packages. Is there a way to set one up without installing any software on the server? How do the files have to be ...
12
votes
4answers
14k views

How do I write an application install shell script?

Does anyone know how to write a shell script to install a list of applications? It's a pain to have to install each application by hand every time I set up a new system. Edit: It still asks me Do ...
60
votes
2answers
45k views

How can I see all versions of a package that are available in the archive?

Is there a way I can see all the versions that are in the archives that I have configured in sources.list. I can see the last version of each archive with "apt-get policy", but how can I see all? Is ...
20
votes
4answers
850 views

Is it possible to tell what packages I've installed that aren't in the vanilla install?

I've upgraded Ubuntu on my laptop all the way from 7.04 to 10.04 without ever wiping the disk. I have a sneaking suspicion that means I have a bunch of crufty packages that I don't use and that are ...
331
votes
23answers
282k views

How can PPAs be removed?

I've added many PPAs using the add-apt-repository command. Is there a simple way to remove these PPAs? I've checked in /etc/apt/sources.list for the appropriate deb lines but they aren't there. This ...
21
votes
2answers
28k views

How to force installation of kernel updates when using apt-get upgrade?

To update my server I use apt-get upgrade. But when there are kernel updates I always need to do apt-get install linux-.... because apt-get update does not install them. Is there a way I can tell it ...
22
votes
8answers
10k views

How to see packages installed on a given date using aptitude

Does anyone know if there's an easy way to find a list of packages installed, sorted by date, when using aptitude (or apt-get)? I was installing a bunch of packages to try something new, and it ...