Aptitude is a quite powerful package manager leveraging CLI and an ncurses-style interface.

learn more… | top users | synonyms

108
votes
6answers
38k 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 ...
43
votes
2answers
14k views

What is the difference between dpkg and aptitude/apt-get?

When installing a software via dpkg -i packageA.deb, will the dependencies required by packageA be downloaded and installed automatically? How is this different from using apt-get or aptitude?
32
votes
8answers
13k 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 ...
25
votes
3answers
1k views

Why was aptitude removed in favor of apt-get?

Why was aptitude removed in favor of apt-get by default? I read it somewhere, but forgot - anyone bother to clear it up? And doesn't Debian prefer aptitude and Canonical apt-get? Update From the ...
23
votes
3answers
5k views

apt-get vs. aptitude .vs synaptic compatibility

I had been a Debian user for almost 3 years... but memories have gone really fuzzy... I "kind of" remember that I should only use one of the package managers... Either apt-get, aptitude, or synaptic, ...
21
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 ...
21
votes
1answer
13k views

Restoring all data and dependencies from dpkg --set-selections '*'

So I can run on one machine: dpkg --get-selections '*' > selection.txt On another machine: dpkg --set-selections < selection.txt ... followed by either of the following: aptitude install ...
20
votes
6answers
6k views

How do I figure out what package something is in without resorting to Google?

I often find myself wanting to install something, but I'm unsure of what package it's in. This is a very common occurrence for me: $ make html sphinx-build -b djangohtml -d _build/doctrees . ...
20
votes
4answers
828 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 ...
17
votes
1answer
1k views

How to remove everything Ubuntu One-related?

Is sudo aptitude purge ubuntuone? sufficient to remove everything Ubuntu One-related from my system?
16
votes
1answer
14k views

Make apt-get (or aptitude) run with -y but not prompt for replacement of configuration files?

When running apt-get -y install <packages ...> on Ubuntu 10.04 I would like apt-get (or aptitude if that makes it easier) to not prompt me when installing additional dependencies (behavior of -y ...
13
votes
2answers
13k views

aptitude safe-upgrade equivalence with apt-get

Is there an equivalent to doing aptitude safe-upgrade using apt-get?
13
votes
1answer
7k views

Assign highest priority to my local repository

Summary How can I make apt-get prefer local repository packages instead of downloading again the same package version from official repositories? The local repository is signed and trusted. We've ...
12
votes
5answers
28k views

Cannot get mcrypt for PHP5

I've done this many times: sudo aptitude install php5-mcrypt sudo apache2ctl restart aptitude says mcrypt is installed. I've reinstalled it 3 times already. I've restarted apache about 20 times ...
12
votes
3answers
3k views

Why do some packages conflict with themselves?

After an upgrade to Oneiric I have had some troubles with the package manager (it wanted to remove half of my system, including libc6, zlib1g packages etc). During the fight with aptitude I've noticed ...
12
votes
3answers
10k views

Why does “tasksel” give an “aptitude failed” error?

The problem started in the following way. I was using tasksel from the terminal menu that it shows when I simply do sudo tasksel. I select Lamp Server from the list and started to install all packages ...
12
votes
2answers
513 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 ...
11
votes
4answers
2k views

How do you I find a list of softwares which are outdated and needs upgrade?

How do I find a list of packages that are outdated and need to be upgraded using aptitude? I am using Ubuntu 10.04.
11
votes
3answers
5k views

Why does update-mime-database complain about uri/rtspt and other unusual types?

When running update-mime-database - usually automatically launched by apt-get - why do I reliably get complaints like: Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' ...
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 ...
10
votes
3answers
7k views

How to use wildcards with aptitude?

Is there a way to use wildcards with aptitude such as in the following: sudo apt-get remove openoffice*.*
10
votes
2answers
15k views

How to remove warnings like `Unknown media type …`

Each time apt-get tries to process triggers for shared-mime-info, it reports warnings like: ... Processing triggers for shared-mime-info... Unknown media type in type 'all/all' Unknown media type in ...
10
votes
7answers
7k views

Ubuntu tells me I have packages to upgrade when I don't

I have a server machine that I never log into the X display on, only via ssh. Recently I logged in and it told me I had 12 packages can be updated. 6 updates are security updates. I actually ...
9
votes
4answers
10k views

Why does apt-get fail when automated with cron?

I'm trying to use cron to automate my system updates. You can see my crontab, commands, and resulting errors below. When I run upgrades.sh as root, the script runs fine. When cron runs it, apt-get -y ...
9
votes
2answers
10k views

I can't add PPA repository behind the proxy

I'm trying to add the ppa repository (as a root) with the following command: export HTTP_PROXY="http://firstname.surname@xxx.com:my_pass@165.x.x.232:8080" add-apt-repository ppa:nilarimogard/webupd8 ...
9
votes
1answer
2k views

Why does aptitude give me the “Does not have Super Cow Powers” error?

When I try to update 11.10 with current updates, I receive this error message stating Does Not Have Super Cow Powers. Why is it not updating with the current security packages?
8
votes
3answers
819 views

Is there a way to check if a program is available in the repository by commandline?

When i find a interesting program i want to test and install in ubuntu i first check if it's available in the repository. For that i use the software center. But does a possibility exist to check it ...
8
votes
2answers
1k views

Will aptitude be added back in 12.04 or future versions?

Since there is more space in the ISO (750MB for now) for the 12.04 version and the limit of 700MB is removed, has there been any thoughts about adding aptitude to the command line tools. I ask this ...
8
votes
1answer
235 views

Annotating packages at installation to ease maintenance with apt / aptitude

I manage my packages with aptitude. I occasionally go through my list of packages, removing obsolete applications (in the sense that I do not want to use them any more). For example, while I have a ...
8
votes
3answers
1k views

How can I prevent apt-get/aptitude from showing dialogs during installation?

I'm trying to build an Ansible Playbook to deploy some Ubuntu 12.04 servers on Linode, but my problem seems to be an Ubuntu one. When I run different combinations of apt-get or aptitude I always get ...
8
votes
2answers
2k views

How to prevent apt-get/aptitude keeping a cache

I have installed Apt-Cacher NG to provide a cache of packages for several machines. I therefore see no point in having aptitude/apt-get keeping their own (second) cache in /var/cache/apt/archives. I ...
7
votes
7answers
10k 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
1answer
445 views

Why does aptitude insist on installing packages?

Why does aptitude want to install so many packages when I simply run the following? sudo aptitude install I'd rather not provide specific packages it wants to install because this has happened ...
7
votes
1answer
397 views

What can cause “Missing Package: header, Problem with MergeList, The package lists or status file could not be parsed or opened” errors?

I write tests for my company's application. One of these tests tries to upgrade the application from a previous version to a new version to make sure nothing breaks. When I am installing an old ...
7
votes
1answer
665 views

Can I see more details of an aptitude dist-upgrade? [duplicate]

When I type aptitude dist-upgrade I get for example: Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information ...
7
votes
2answers
3k views

Is there a safe way to reinstall via the package manager?

Assume, I have a system with all the packages installed, which I want, and all configuration files set up as desired. However, the files on the file system could have become corrupted or missing due ...
6
votes
2answers
311 views

What is apt and aptitude in Ubuntu?

I've been blindly copy pasting code that contains these keywords to install programs and having migrated from Windows, I don't quite understand what they mean. Can anyone explain them and their ...
6
votes
8answers
2k views

Useful apt (dpkg) commands

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

What's difference of apt-get and aptitude? [duplicate]

What is difference of apt-get and aptitude? Does both of them use same repositories? Which one is better?
6
votes
3answers
949 views

How do I install a package with aptitude?

I've looked at an aptitude tutorial and read the man page, but I just don't get it. After you launch aptitude, how do you say "install package foo"? Or search for all packages with "foo" in their ...
6
votes
2answers
4k views

How can I make apt-get upgrade the kernel, similarly to aptitude?

Installed new Ubuntu Server 12.04 on Windows Azure After apt-get upgrade, console shows: The following packages have been kept back: linux-image-extra-virtual linux-image-virtual linux-tools ...
6
votes
1answer
14k views

Where can I install termcap from?

From apt-get or aptitude there's just termcap-compact, but I still see "no termcap library found" when trying to install my software (a development kit from another enterprise). This happens just on ...
6
votes
2answers
3k views

Update problems: packages held back

When I try and upgrade I get packages that are kept back, when I use dist-upgrade they will be upgraded however I get this warning: Current status: 5 updates [-1]. will@will-desktop:~$ sudo aptitude ...
5
votes
5answers
20k views

Errors running apt-get update and apt-get install mysql-server

Since yesterday I've been trying to run apt-get update unsuccessfully in Ubuntu instances I am creating on the EC2. In specific I've been getting these errors: Ign http://security.ubuntu.com ...
5
votes
2answers
841 views

list all suggested packages for currently installed packages

Every time I install a package: sudo apt-get install <pkg> apt-get displays a list of suggested packages. I have simply ignored these so far, but some of these suggestions are actually good ...
5
votes
2answers
871 views

How do I delete all packages which match a certain pattern?

I want to uninstall libreoffice. This program consists of about three dozen modules. Ideally, they could be removed with: aptitude remove libreoffice3.6* libreoffice-debian-menus libobasis3.6-* but ...
5
votes
1answer
9k views

What is “Manual Package Selection” in Ubuntu Server?

What does choosing "Manual Package Selection" allow me to do, versus choosing one of the other options?
5
votes
3answers
1k views

how to uninstall all packages installed by “aptitude build-dep”

Is it possible to undo all changes made by "aptitude build-dep xxxxxx" i.e to un-install all dependencies installed by this command?
5
votes
2answers
247 views

How exactly does Synaptic keep track of “New in repository” packages?

Is this info part of APT cache or does it create a separate file to compare with new cache? Where is it stored then?
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 ...