[arch-projects] Do we still need 'whoneeds'?

Dave Reisner d at falconindy.com
Thu Dec 8 11:06:36 EST 2011


On Thu, Dec 08, 2011 at 05:03:16PM +0100, Karol Blazewicz wrote:
> pactree can print reverse dependency tree since pacman 3.4:
> http://projects.archlinux.org/pacman.git/tree/NEWS?id=v3.4.0
> 
> comm -12 <(pactree -lru $1|sort) <(pacman -Qqe|sort) | grep -v $1
> is much faster than 'whoneeds $1' for bigger dep trees:  0.15 sec v.
> 10 sec. for 'whoneeds zlib' on my system (Pentium 4 @ 2 GHz).
> 
> 'whoneeds' prints 'Packages that depend on [$1]' as the first line of
> output, the one-liner I came up with does not.

No idea why you're posting here about:

$ nosr whoneeds
community/pkgtools

Talk to Daenyth.

http://github.com/Daenyth/pkgtools

dave


More information about the arch-projects mailing list