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
3answers
458 views

Installations, updates and removals always fail. But work after a restart

Whenever I install, update or remove something, it fails and I get a message similar to what is below. After I restart, everything appears to work fine. I just installed some updates using update ...
2
votes
2answers
559 views

Can't print, CUPS package corrupted and hangs on re-install

When I upgraded to Ubuntu 10.4 (Maverick), the upgrade process got stuck on the post-installation of the CUPS package. I had to kill processes and run several forced updates before I could finally ...
2
votes
2answers
752 views

How do I install TweetDeck?

See question here: ===============> http://superuser.com/questions/218868/tweetdeck-adobe-air-on-ubuntu-10-10 Getting the issue: sudo apt-get install Reading package lists... Done Building ...
2
votes
1answer
2k views

Where can I find a Netbeans nightly build?

Is there any chance to install nightly Netbeans via apt? I'd like to get daily updates to newest versions. Any PPA?
1
vote
1answer
1k views

Installing Axel?

How do I install axel on Natty Narwhal? I tried sudo apt-get install axel but it came back with this: james@james-ubuntu-11-04:~$ sudo apt-get install axel [sudo] password for james: Reading ...
97
votes
5answers
88k views

How can I accept the Microsoft EULA agreement for ttf-mscorefonts-installer?

After a recent update, ttf-mscorefonts-installer prompted me to accept its license agreement. For some reason my terminal will not allow me to accept, or for some reason I am pressing the wrong ...
6
votes
5answers
8k views

How to install ppa packages in an apt-get style

I want to install ppa packages in a sudo apt-get install <program> style. I don't want to google for the ppa name and I don't want to execute add-apt-repository before executing apt-get. I just ...
7
votes
3answers
310 views

Tracking the popularity of a package over time?

Is there any software or website that allows the user to view a graph of how popular a particular package is? The popcon.ubuntu.com site has raw information on how many people (who have installed ...
3
votes
2answers
282 views

Is it possible to install Firefox 3.0 as well as the default package?

I'm a webdeveloper and using ubuntu 10.10 maverick. I want to track down a bug that appears in firefox 3.0, but not 3.5/3.6. Is there an easy way to install firefox 3.0 without it ...
4
votes
2answers
5k views

Force apt to remove all emacs*

I have a bug-problem with the apt-packages of emacs: >>Error occurred processing debian-ispell.el: File error (("Opening input file" "no such file or directory" ...
3
votes
1answer
383 views

Off-line Repository and software removal

I read up on the process here and came up with this script: for i in `ls -1 /var/cache/apt/archives` ; do sudo cp /var/cache/apt/archives/$i /home/jj/Documents/Repository ; done and to re-install: ...
10
votes
4answers
3k views

Update Manager Error - Authentication Error

When I run Update Manager I get this error: This is what the error box says: W: A error occurred during the signature verification. The repository is not updated and the previous index files ...
122
votes
15answers
344k views

Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?

I get this error when trying to use apt-get: E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is ...
4
votes
0answers
740 views

W: GPG error: http://ppa.launchpad.net lucid Release: [duplicate]

Possible Duplicate: How do I fix the GPG error “NO_PUBKEY” without terminal? After i run sudo aptitude update i get the below error: W: GPG error: http://ppa.launchpad.net ...
7
votes
7answers
9k views

Saving deb files from repositories to a custom location for installing offline [duplicate]

Possible Duplicate: How can I install software offline? I want to download and save some deb files, and preferably their dependencies, of certain apps, from the repositories (apt-get, ...
7
votes
2answers
697 views

Mistaken dist-upgrade, is this bad?

I was looking for Update Manager on Ubuntu 10.10 Netbook Edition and couldn't find it, so in Terminal I did: sudo apt-get update sudo apt-get upgrade I got a message saying some packages were "held ...
3
votes
3answers
461 views

Apt-get with no HTTP/FTP access

Is it possible to install packages using apt-get install without having HTTP access? In other words, can apt-get install packages from a small local repository? I know I can use sudo dpkg -i deb_file ...
28
votes
2answers
62k views

What does Package <package> has no installation candidate mean?

What does the above Error mean? What is an installation candidate? I was trying to do sudo apt-get install munin-memcached and I get this message: Reading package lists... Done Building ...
4
votes
4answers
3k views

How can I find the name of a Package?

I want to create links to software within Software Center using the APTURL - However, I'm not sure how to find out the true "package name". What is the easiest way to discover a package's name for use ...
3
votes
3answers
2k views

apt-get upgrade segfault!

I installed ubuntu server 10.04 and booted as normal. Some time later, I booted the server and tried to install a new package/upgrade the existing packages using: sudo apt-get upgrade sudo aptitude ...
10
votes
2answers
5k views

apt changelog for to-be installed packages [duplicate]

GUI update-manager is able to show the "changelog" of packages to-be installed (not downloaded yet). I also found out how to provide the .changelog files in the right place for update-manager to show ...
0
votes
4answers
1k views

GPG key errors for for older releases

W: GPG error: http //archive.ubuntu.com jaunty Release: The following signatures were invalid: NODATA 2 W: Failed to fetch http: //archive.ubuntu.com/ubuntu/dists/jaunty-updates/Release.gpg Error ...
34
votes
6answers
14k views

Where can I look up my update history?

Is there a place where I can look what updates I've installed?
6
votes
3answers
580 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 ...
62
votes
8answers
66k 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
688 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
461 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
436 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
587 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
344 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
249 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
436 views

How can I remove these apt-get update warnings for extras.ubuntu.com?

$ 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 ...
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?