Re: Checking Dependencies

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

 



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 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux