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)

6
votes
3answers
581 views

Why does tasksel exist when there are already meta packages?

I've recently heard of tasksel, a tool that "installs multiple related packages as a co-ordinated "task" onto your system". What is the difference between using tasksel and installing meta packages ...
3
votes
3answers
4k views

Upgrading 10.04LTS -> 10.10 using custom sources

I'm trying to upgrade to 10.10 from 10.04 LTS using a custom sources.list file that points to an unofficial mirror*. The mirror does have maverick, but I get the following output when upgrading: ...
16
votes
0answers
6k views

How to find and delete duplicated sources list entries? [duplicate]

Is there a command line to find and delete duplicated entries in the /etc/apt/sources.list file? or is this possible via synaptic perhaps?
4
votes
2answers
1k views

Can't install anything, dpkg error

I can't install anything on my Ubuntu.. I googled it, found the same problem, but none of the proposed solutions solved my issue.. All the time, it keeps giving me No apport report written because ...
6
votes
8answers
2k views

Useful apt (dpkg) commands

Please post your less-known, but useful apt commands involving apt-*, dpkg, or aptitude.
39
votes
3answers
12k views

How do I find the reverse dependency of a package?

I was wondering if it was possible to check what package another package is a dependency of. For example, jetty is mysteriously installed and running on my system and I'd like to check whether it is ...
0
votes
2answers
4k views

Errors on apt-get update [duplicate]

Possible Duplicate: How can I fix a 404 Error using a PPA? I am getting few errors when I run the command sudo apt-get update here is the output of errors only. Err ...
63
votes
8answers
69k views

How do I fix the GPG error “NO_PUBKEY”?

I added some extra repositories with the Software Sources program. But when I reload the package database, I get an error like the following: GPG error [...] NO_PUBKEY [...] I know I can fix ...
26
votes
8answers
12k views

Where do I get a package for GNU Parallel?

I want to install GNU Parallel in Ubuntu but I can't find a package for it in the default Ubuntu repos. Where can I get it?
10
votes
5answers
2k views

How can I revert a config file back to the originally installed version after I have edited it?

I want to revert a file in /etc/ back to its originally-installed form. I have edited the file since it was installed. How can I revert this config file? Apt is smart enough not to overwrite edited ...
1
vote
1answer
2k views

apt-get build-dep problems

This often happens to me. I go to install a program and it says I am missing certain dependencies. Then I run apt-get build-dep and get an error message like the following: sudo apt-get build-dep ...
6
votes
3answers
689 views

meta-package dependencies

I've got a pure vanilla Lucid Desktop installation on a severely RAM limited laptop (with a slow drive for extra happy swapping). I'm trying to remove packages that snuck in on ubuntu-desktop which I ...
2
votes
2answers
259 views

Do '..-backports' repositories automatically take precedence over the standard repos? in sources.list

Is the order of ..-backports repositories in sources.list significant? ...or does ..-backports take precedence over the standard entries, regardless of placement? Are the two following examples ...
6
votes
4answers
464 views

Is it safe to change my Lucid sources to Maverick, to get one app, then revert to Lucid?

I am considering to temporarily change my repositories to Maverick, on a Lucid system. I want to install a newer version of Evolution because it has a particular feature I want. I don't want to ...
0
votes
4answers
437 views

How can I set up Ubuntu to install updates without asking? [duplicate]

Possible Duplicate: How do I enable automatic updates? I would like to have Ubuntu silently install updates every day or so. It it possible to set it to do so? Are there any potential ...
7
votes
5answers
590 views

Generating an app list from the old installation to run it on the new installation

I want to shift from ubuntu-desktop 10.10 to ubuntu netbook edition 10.10 on my netbook. Currently, the moment I ssh into ubuntu from my ad-hoc network, ubuntu freezes. It always requires a cold ...
1
vote
2answers
300 views

How does using 'apt-get install' affect reverse dependencies?

If libfoo is pulled in by the package bar, and I upgrade it by executing apt-get install libfoo, how will this affect reverse dependencies? If I then remove the package bar, will libfoo still be ...
1
vote
2answers
354 views

How do I restore sources that are ignored on upgrade?

When I upgraded my server to 10.10, some of my sources (basically hudson and git) are now being ignored... any idea how I can get them active again? The entries are in the /etc/apt/sources.list file, ...
0
votes
2answers
1k views

How to fix apt-get autoremove?

The apt-get autoremove command does not have any effect in Maverick. How can I solve that? EDIT: Restoring a VM backup containing a clean install solved the problem.
4
votes
2answers
2k views

What does “selecting previously deselected package” mean?

Whenever I install software from the command-line using apt-get or aptitude, I see messages like this: Selecting previously deselected package foobar-cil-dev. I understand "downloading" and ...
1
vote
3answers
3k views

Can't install software from Software Center

I cant install anything from software centre, I get this error every time I click on install, "Require installation packages" Here is my output of sudo apt get update [sudo] password for gaurav: ...
1
vote
3answers
346 views

What do the following packages do?

What does each of the packages do? I was installing libmozjs-dev, and it said that the following packages need to be removed: couchdb-bin desktopcouch evolution-couchdb gnome-user-guide ...
5
votes
2answers
1k views

Preferred apt repository

If I have to two repositories listed in my sources.list or sources.list.d is there a way to tell apt which is preferred? My exact use case is if a package is found on the intranet repository and on ...
6
votes
2answers
2k views

What does 'Lock Version' do?

Having installed an experimental version of dropbox and installed in manually, i dont want the deb in synaptic to download any updates (as theyll over write the changes ive done manually i assume). ...
0
votes
2answers
251 views

Elementary will not install

I really like elementary themes and I now want to install the elementary theme on my new re-installation of Ubuntu. So when I typed this in sudo apt-get update && sudo apt-get install ...
7
votes
1answer
443 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
5k 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
8k 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
3k 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
361 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
1k 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
730 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
489 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 ...
14
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
236 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
11k 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
234 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 ...
22
votes
4answers
2k 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 ...
17
votes
1answer
477 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
1k 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
690 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
603 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 ...
32
votes
9answers
35k 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 ...
12
votes
8answers
13k 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
671 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
150 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
19k 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 ...