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

Re: Tracking dependencies



On Jun 27, 2005, at 6:15 AM, Mischa Aizatulin wrote:

for a given package, I would like to output a list of all installed
packages that it depends on. Is there any possibility to do that?

Since --whatrequires and --whatprovides don't seem to do what I want I usually do a -e --test (very important: the --test tells RPM to just do a dry run and not to touch the disk). Not the best or safest way to do it but a quick hack nonetheless without any required coding.


Again, the --test is the key here so you don't actually erase any packages.

root@(none):~# rpm -e --test bash
error: Failed dependencies:
/bin/bash is needed by (installed) shadow-20000902-7.0.0.0300532
/bin/bash is needed by (installed) rpm-build-4.1-8x.1.pepper
/bin/bash is needed by (installed) console- tools-0.2.3-4.0.0.0300532
/bin/bash is needed by (installed) ntp-4.1.2-1.0.0.0300532
/bin/bash is needed by (installed) autofs-3.1.7-4.0.0.0300532
/bin/bash is needed by (installed) fbgetty-0.1.4-2.0.0.0300532
/bin/bash is needed by (installed) libposixtime- examples-2.4.20-2.0.0.0300532


/Sean/


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