Re: [CentOS] Trying to find packages that depend on package X.

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



On Fri, 2006-05-26 at 14:06 -0300, Rodrigo Barbosa wrote:
<snip>

> rpm -q --provides PACKAGE_NAME | sed 's/^/"/;s/\([^[:space:]]\) *
> $/\1"/;/=/{h;s/ =.*$/"/;G}' | xargs rpm -q --whatrequires | grep -v -E
> '^no package'

Still needs some work, Ran it here and only got 38 packages, s/b 207
here. Timing on 1st run was

   real    0m0.701s
   user    0m0.186s
   sys     0m0.019s

By the time we get 207 pkgs, I suspect a little overhead penalty.

Thx
-- 
Bill

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux