Checking Dependencies
James Wilkinson
fedora at westexe.demon.co.uk
Wed Apr 12 18:32:45 UTC 2006
Paul Howarth wrote:
> There are multiple ways
> a package can be a dependency, and this query only reveals one of those
> ways.
>
> Suppose you have a package A, which "provides" libA.so.1 and also
> contains the file /bin/A
>
> rpm -q --whatrequires A
> will only show you the packages that have an explicit dependency on A
> It won't show you the packages that have a dependency on libA.so.1 or
> the file /bin/A
And if C has a dependency on B, which has a dependency on A, but C
itself does not *directly* depend on A, then rpm -q --whatrequires won't
show that, either.
James.
--
E-mail address: james | McGill does everything in two languages. Even the
@westexe.demon.co.uk | water valves in our bathrooms are marked in both
| English and French — the left one is marked "C" for
| "Chaud," and the right one "C" for "Cold."
| -- Konstantin Ryabitsev
More information about the users
mailing list