Hi,
James Morrison wrote back in 2005:
> Package: apt-rdepends
> Severity: wishlist
>
> Currently apt-redepends --reverse --build-depends FOO gives the following
> error:
> E: Reverse build-dependencies are not supported
>
> It would be great if this worked.
There is a script called build-rdeps in the package devscripts since
February 2008 which does that job.
Alec Berryman wrote back in 2006:
> I also miss this feature in apt-rdepends and asked around today on
> #debian-devel to see if there is an alternate solution. I was provided
> with the following shell function:
>
> apt-rbdepends () {
> grep-dctrl -F Build-Depends "$1" -s Package
> /var/lib/apt/lists/*_Sources
> }
That function is even more handy if you add some "| sort -u | awk '{print $2}'".
:-)
It especially offers something build-rdeps can't do (yet, see
http://bugs.debian.org/584882): Print just packages names so you use
awk, etc. to modify the list, etc.
> I didn't see that this had been documented anywhere, and I figured that
> people might look here.
Was indeed a good idea!
I'll modify apt-rdepends so that it will either point to or call
build-rdeps and close this bug afterwards.
Regards, Axel
--
,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]