[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#312351: Bug#146207: Bug#312351: woody -> sarge: package on hold upgraded anyway



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.

fjp@gimli:~$ sudo aptitude update
fjp@gimli:~$ sudo aptitude hold aptitude

fjp@gimli:~$ 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

fjp@gimli:~$ 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: pgpGCoI2r_E0v.pgp
Description: PGP signature


Reply to: