On Wed, Dec 13, 2006 at 08:21:52PM +0200, Andrei Popescu wrote: > On Thu, Dec 14, 2006 at 02:00:44AM +0800, Tim Post wrote: > > Hello to all, > > > > Is there some way of finding a list of packages in each repo listed in > > aptitude's sources that suggest or install zeroconf? > > > > Its not just zeroconf that I'm interested in finding out about, but > > that's my primary concern. > > I don't know about each repo, but you ca go to the zeroconf package in > aptitude interactive mode, press Enter to open the info then go to > 'Packages which depend on zeroconf' and press Enter. You will then see > which packages depend on, suggest or recommend zeroconf.
apt-cache rdepends zeroconf will get you the packages which depend on zeroconf. then you can march up the tree a bit with apt-cache rdepends zeroconf | grep -v Depends | xargs apt-cache \ rdepends that gets you a much longer list of things that ultimately depend on zeroconf. for the suggests or recommends, there is surely a way, but I don't know it and my attempts at grepping, cutting and xarging is getting out of hand. A
signature.asc
Description: Digital signature