I'm looking for a way to make aptitude(1) be quiet when installing packages. I want it to only produce output on explicit errors. The -q option does this is most other programs, but apparently not in aptitude.
My goal is being able to say:
someprogram: You need to install the foobar package for this to work.
$ sudo aptitude install foobar -yq &
And not have the screen filled with text. I'm aware of > /dev/null, but that seems like an ugly way of doing what I feel should be a very common task.