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

Re: Howto find packages that build-depend on pkg



On Sat, Oct 18, 2003 at 09:37:34PM +0200, Goswin von Brederlow wrote:
> Tom Cato Amundsen <tca@gnu.org> writes:
> 
> > On Sat, Oct 18, 2003 at 05:57:13PM +0200, Goswin von Brederlow wrote:
> > > Tom Cato Amundsen <tca@gnu.org> writes:
> > > 
> > > > How can I find all packages that build-depends on a package?
> > > > In my case, I'm looking for packages that build-depends on
> > > > docbook-xml and docbook-xsl.
> > > 
> > > apt-cache show grep-dctrl
> > > 
> > 
> > The build-depends fields are not included in Packages files, so this
> > does not help.
> 
> No?
> 
> % grep-dctrl -n -s Package -F Build-Depends docbook-xml /mnt/debian/mirror/debian/dists/sid/main/source/Sources

Of course. I was searching the Packages file, not Sources.

Thanks!

-- 
Tom Cato Amundsen <tca@gnu.org>
GNU Solfege - free eartraining, http://www.gnu.org/software/solfege/



Reply to: