[ATrpms-users] Re: atrpms' docbook-utils requires X?!?

Axel Thimm Axel.Thimm at atrpms.net
Tue Apr 20 17:51:02 CEST 2004


Hi,

On Tue, Apr 20, 2004 at 08:46:15AM -0600, Oscar A. Valdez wrote:
> El mar, 20-04-2004 a las 04:34, Axel Thimm escribió:
> > use the following "poor man's package dependency checker":
> > 
> > rpm --test -e <package>, for example
> > 
> > rpm --test -e XFree86-libs
> > should tell you which package requires X.
> 
> This also works:
> 
> rpm -q --whatrequires XFree86-libs

That is the "poor man's EXPLICIT package dependency checker". ;)

I.e. it does not show packages that require entites offered as
"Provides", for example the shared libraries. Try the "--test -e"
method to see which packages really require XFree86-libs or one of its
virtual components.

rpm --test -e XFree86-libs 2>&1 | wc -l; rpm -q --whatrequires XFree86-libs 2>&1 | wc -l
    919
      8

> The answer is (on my system):
> 
> XFree86-xfs-4.3.0-55
> libgnomeui-2.4.0.1-1
> tk-8.3.5-93
> XFree86-4.3.0-55
> XFree86-twm-4.3.0-55
> XFree86-devel-4.3.0-55

In principle this should be empty, but the last one. I'd consider the
rest harmless [1] packaging bugs.

[1] although given the xorg switch these explicit dependencies are
suddenly broken, and packages need to fix their explicit requirements
(i.e. drop them), and/or the xorg packages provide compatibility hooks.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20040420/81f608fc/attachment.bin


More information about the atrpms-users mailing list