I'd like to lookup in the repo what packages require a particular package. I can do this locally with this python script: http://www.pixelbeat.org/scripts/whatrequires
For example seeing what local packages require libicu...
$ whatrequires libicu libicu-devel-3.8-6.fc8.i386 icu-3.8-6.fc8.i386 boost-1.34.1-5.fc8.i386 boost-devel-1.34.1-5.fc8.i386
I tried these to no avail: $ repoquery --whatrequires /usr/lib/libicudata.so.38 $ repoquery --whatrequires libicu
cheers, Pádraig.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Pádraig Brady wrote:
I'd like to lookup in the repo what packages require a particular package. I can do this locally with this python script: http://www.pixelbeat.org/scripts/whatrequires
For example seeing what local packages require libicu...
$ whatrequires libicu libicu-devel-3.8-6.fc8.i386 icu-3.8-6.fc8.i386 boost-1.34.1-5.fc8.i386 boost-devel-1.34.1-5.fc8.i386
I tried these to no avail: $ repoquery --whatrequires /usr/lib/libicudata.so.38 $ repoquery --whatrequires libicu
cheers, Pádraig.
[sgallagh@sgallagh ~]$ repoquery --whatrequires libicuuc.so.40 sword-0:1.5.11-2.fc10.i386 adminutil-0:1.1.6-2.fc10.i386 libicu-devel-0:4.0-3.fc10.i386 libicu-0:4.0-3.fc10.i386 fedora-ds-base-0:1.1.3-6.fc10.i386 fedora-ds-admin-0:1.1.6-2.fc10.i386 adminutil-0:1.1.7-2.fc10.i386 mapnik-0:0.5.2-0.7.svn738.fc10.i386 WebKit-gtk-0:1.0.0-0.15.svn37790.fc10.i386 libyaz-0:3.0.34-1.fc10.i386 boost-0:1.34.1-17.fc10.i386
[sgallagh@sgallagh ~]$ repoquery --whatrequires libicu libicu-devel-0:4.0-3.fc10.i386 libicu-devel-0:4.0-3.fc10.x86_64
- -- Stephen Gallagher RHCE 804006346421761
Looking to carve out IT costs? www.redhat.com/carveoutcosts/
Stephen Gallagher wrote:
$ repoquery --whatrequires libicuuc.so.40
Ah you need to use the basename. That's non obvious/surprising.
$ repoquery --whatrequires $(rpm -ql libicu | xargs -n1 basename) | sort -u adminutil-0:1.1.4-2.fc8.i386 adminutil-0:1.1.7-1.fc8.i386 boost-0:1.34.1-5.fc8.i386 boost-0:1.34.1-7.fc8.i386 fedora-ds-admin-0:1.1.6-1.fc8.i386 fedora-ds-base-0:1.1.0-1.2.fc8.i386 fedora-ds-base-0:1.1.3-2.fc8.i386 fedora-ds-dsgw-0:1.1.1-1.fc8.i386 gnomesword-0:2.2.3-5.fc8.i386 icu-0:3.8-1.fc8.i386 icu-0:3.8-6.fc8.i386 libicu-0:3.8-1.fc8.i386 libicu-0:3.8-6.fc8.i386 libicu-devel-0:3.8-1.fc8.i386 libicu-devel-0:3.8-6.fc8.i386 libyaz-0:3.0.34-1.fc8.i386 mapnik-0:0.5.2-0.4.svn738.fc8.i386 msort-0:8.46-1.fc8.i386 openoffice.org-core-1:2.3.0-6.17.fc8.i386 openoffice.org-core-1:2.3.0-6.6.fc8.i386 sword-0:1.5.11-1.fc8.i386 sword-0:1.5.9-7.fc8.i386 WebKit-gtk-0:1.0.0-0.10.svn34655.fc8.i386 yaz-0:3.0.34-1.fc8.i386
cheers, Pádraig.
On Thursday, 12 March 2009 at 14:00, Pádraig Brady wrote:
Stephen Gallagher wrote:
$ repoquery --whatrequires libicuuc.so.40
Ah you need to use the basename. That's non obvious/surprising.
Not basename, but rpm provides (rpm -q --provides libicu).
$ repoquery --whatrequires $(rpm -ql libicu | xargs -n1 basename) | sort -u
This won't work on any multilib arch, because 64bit provides look like this: libicu.so.40()(64bit) on those.
Regards, R.
On Thu, 12 Mar 2009 12:38:59 +0000, Pádraig wrote:
I'd like to lookup in the repo what packages require a particular package. I can do this locally with this python script: http://www.pixelbeat.org/scripts/whatrequires
For example seeing what local packages require libicu...
$ whatrequires libicu libicu-devel-3.8-6.fc8.i386 icu-3.8-6.fc8.i386 boost-1.34.1-5.fc8.i386 boost-devel-1.34.1-5.fc8.i386
I tried these to no avail: $ repoquery --whatrequires /usr/lib/libicudata.so.38
No package requires this path.
$ repoquery --whatrequires libicu
It's likely that no package requires this package name in favour of requiring a library SONAME such as libicudata.so.38 Use:
$ repoquery --alldeps --whatrequires libicu $ repoquery --whatrequires libicudata.so.38
On Thu, 12 Mar 2009, Pádraig Brady wrote:
I'd like to lookup in the repo what packages require a particular package. I can do this locally with this python script: http://www.pixelbeat.org/scripts/whatrequires
For example seeing what local packages require libicu...
$ whatrequires libicu libicu-devel-3.8-6.fc8.i386 icu-3.8-6.fc8.i386 boost-1.34.1-5.fc8.i386 boost-devel-1.34.1-5.fc8.i386
I tried these to no avail: $ repoquery --whatrequires /usr/lib/libicudata.so.38 $ repoquery --whatrequires libicu
repoquery --whatrequires --alldeps libicu
-sv