Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

People say that aptitude on Debian is so much better than apt-get, but I find it less usable. (See examples below.) Is there any configuration magic for aptitude to get rid of those useless status messages?

» aptitude install foo
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Couldn't find any package whose name or description matched "foo"
Couldn't find any package whose name or description matched "foo"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...

Compare:

» apt-get install foo
Reading package lists...
Building dependency tree...
Reading state information...
E: Couldn't find package foo
share|improve this question
up vote 6 down vote accepted

You can configure the quietness of aptitude (and apt-get) by putting a line such as:

quiet = "2";

at the beginning or end of /etc/apt/apt.conf.

share|improve this answer

Try putting -q, -q=2 or -qq at the end of your commands, for example:

sudo aptitude update -q=2
share|improve this answer

Usability does not really depend on the amount of output an application generates. Why do these status messages bother you? If it is because you have the output mailed to you on a daily basis, then I suggest you trim the output to the relevant lines using grep, probably with the -A option.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .