Hallo, On Nov 3 17:25 David Haller wrote (excerpt):
# rpm -q --provides -f /usr/lib64/libsnmp.so.25 | \ cut -d' ' -f1 | xargs rpm -q --whatrequires
Nur zur Info dazu aus einer anderen Mail von mir: -------------------------------------------------------------------------- Note that stuff like "rpm -q --whatrequires <something>" does not show all package dependencies because this shows only the dependencies regarding the exact RPM capability <something>. Only "rpm -e --test <package>" shows you all other packages which depend on package. An example (on SLED11-SP1 with some additionally installed packages): # rpm -q --whatrequires cdrkit-cdrtools-compat no package requires cdrkit-cdrtools-compat # rpm -e --test cdrkit-cdrtools-compat error: Failed dependencies: cdrecord is needed by (installed) nautilus-cd-burner-2.25.3-3.1.179.i586 mkisofs is needed by (installed) zisofs-tools-1.0.6-138.22.i586 /usr/bin/mkisofs is needed by (installed) rear-SUSE-0.1.beta2-1.5.1.noarch # rpm -q --whatrequires cdrecord nautilus-cd-burner-2.25.3-3.1.179 # rpm -q --whatrequires mkisofs zisofs-tools-1.0.6-138.22 # rpm -q --whatrequires /usr/bin/mkisofs rear-SUSE-0.1.beta2-1.5.1 -------------------------------------------------------------------------- Gruß Johannes Meixner -- SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer