aptitude is a front-end to the Advanced Packaging Tool (APT). It displays a list of software packages and allows the user to interactively pick packages to install or remove. In addition to a curses based interface, it also has a command line interface.
Questions tagged [aptitude]
228 questions
408
votes
7 answers
Find what package a file belongs to in Ubuntu/Debian?
I frequently find myself missing a program, man page, or other file when working on my Ubuntu 8.04 system. Is there any simple way to look up what package contains a given file (whether it is installed already or not)? Maybe some obscure option for…
Jay Conrod
- 5,806
261
votes
5 answers
How to reinstall a package using 'apt-get'?
It seems that my aptitude is somehow broken:
sudo aptitude update
0% [Working]Segmentation fault
dmesg
[223282.616599] aptitude[30972]: segfault at 67707f ip 7f954dcfae5d sp 7ffff5a5f950 error 4 in…
Vokuhila-Oliba
- 4,237
208
votes
4 answers
How to install local .deb packages with apt-get
Is there a way to install packages store on your HD with apt-get, like apt-get install ./package.deb?
If not, how to handle the dependencies in a very very easy way?
Louis
- 2,770
130
votes
5 answers
How do I find out which package owns a file?
How do I find out what Debian package a file came from?
98
votes
5 answers
Aptitude vs. apt-get: Which is the recommended (aka the "right") tool to use?
Some time ago I read that aptitude is the preferred tool for installation on Debian-based systems. But when you search around on how to administer a Debian-based system, then aptitude is rarely mentioned. Most people seem to prefer apt-get - and…
Vokuhila-Oliba
- 4,237
88
votes
4 answers
What are "Super Cow Powers" and why doesn't my aptitude have them?
sudo aptitude help
aptitude 0.4.11.11
Usage: aptitude [-S fname] [-u|-i]
aptitude [options] ...
Actions (if none is specified, aptitude will enter interactive mode):
...
This aptitude does not have Super Cow Powers.
brianegge
- 1,739
74
votes
3 answers
Which Debian package architecture am I using?
What's the command to find out which Debian package architecture I'm using?
eg, on a 64 bit x86, I'm expecting something like amd64, i386 on 32 bit x86 and darwin-x86_64 from OSX 10.6 (via Fink).
therefromhere
- 8,662
56
votes
7 answers
Apt-cache: How to list all installed packages with version number?
apt-cache dump --installed doesn't work, it lists uninstalled packages as well.
I want to list the install packages each by one line, with the installed version number.
Lenik
- 18,830
53
votes
5 answers
How can I specify the repository from which a package will be installed? (emacs-snapshot)
I want to install emacs-snapshot from http://emacs.orebokech.com
But there is already an emacs-snapshot in Ubuntu's repositories.
How can I specify the repository from which a package will be installed?
elviejo79
- 1,133
52
votes
3 answers
What is the difference between Recommended and Suggested packages (Ubuntu)
On Ubuntu when you install a package, there can be dependencies, recommendations and suggestions. For example: virtualbox-ose has adduser as dependency, libgl1 as recommendation and libpulse0 as suggestion.
What is the difference between…
Peter Smit
- 9,636
48
votes
8 answers
Find packages installed from a certain repository with aptitude
I'm in search for something analog to this question: Zypper: How do I display all packages from a certain repository?
Since I'm on Ubuntu, I need an aptitude based solution: How can I get a list of installed packages from a certain repository?
Boldewyn
- 4,468
39
votes
8 answers
How do you track which packages were installed on Ubuntu (Linux)?
(This question is very similar to 10458. It was suggested that Fedora and Ubuntu/Debian are different enough to warrant different answers.)
As I use any Ubuntu setup I gradually install a number of packages over and above the baseline installation. …
quark
- 888
36
votes
9 answers
How to work around blocked outbound hkp port for apt keys
I'm using Ubuntu 9.10, and need to add some apt repositories. Unfortunately, I get messages like this when running sudo apt-get update:
W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn't be verified because the…
Kief
- 753
36
votes
12 answers
How can I undo or rollback an "apt-get upgrade" command on Ubuntu?
Is there a way in Ubuntu to rollback or undo the last upgrade after doing an apt-get upgrade if you don't like the results?
jjclarkson
- 503
20
votes
4 answers
How do I add a apt-get repository without editing /etc/apt/sources.list?
I want to add a repository to apt-get (without potentially messing up /etc/apt/sources.list) through the user of a script. This script may run multiple times so I can't just append the entry each time. Is there any way I can add a single file in a…
Daisetsu
- 6,171