On Tuesday 07 June 2005 20:53, Daniel Burrows wrote:
>   Actually, that's not quite true: searching for '~ahold' will show you
> a list of packages that are either "held" in a sticky way or are not
> going to be upgraded because they haven't been selected for upgrade; if
> you manipulate things a little you might be able to get a list of all
> held packages out of that.

[EMAIL PROTECTED]:~$ sudo aptitude update
[EMAIL PROTECTED]:~$ sudo aptitude hold aptitude

[EMAIL PROTECTED]:~$ aptitude search "~ahold"
ih  aptitude             - terminal-based apt frontend
i   discover1            - hardware identification system
i A libdiscover1         - hardware identification library
i   libdiscover1-pic     - hardware identification library - [...]
i A libusb-0.1-4         - userspace USB programming library
i   usbutils             - USB console utilities

[EMAIL PROTECTED]:~$ aptitude search "~ahold" | grep "^.h"
ih  aptitude             - terminal-based apt frontend

Looks like that last command will do the trick nicely.

Thanks for the hints.
(The second option looked too much like "do not feed to newbies" ;-)

Cheers,
FJP

Attachment: pgp8jsKzqAqSm.pgp
Description: PGP signature

Reply via email to