Questions tagged [aptitude]
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.
228
questions
401
votes
7
answers
283k
views
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 ...
256
votes
5
answers
799k
views
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 ...
198
votes
4
answers
409k
views
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?
129
votes
5
answers
80k
views
How do I find out which package owns a file?
How do I find out what Debian package a file came from?
97
votes
5
answers
55k
views
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 ...
86
votes
4
answers
33k
views
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] <action> ...
Actions (if none is specified, aptitude will enter interactive mode):
...
This ...
72
votes
3
answers
71k
views
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).
56
votes
7
answers
86k
views
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.
52
votes
5
answers
122k
views
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 ...
51
votes
3
answers
24k
views
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 ...
47
votes
8
answers
44k
views
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 ...
39
votes
8
answers
12k
views
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 ...
36
votes
9
answers
48k
views
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 ...
34
votes
12
answers
133k
views
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?
19
votes
4
answers
89k
views
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 ...