Debugging rpm package installation order

Jacek Konieczny jajcus at jajcus.net
Fri Aug 9 22:41:37 CEST 2013


Re-sending this mail… it was not sent for some reason…

On Fri, 9 Aug 2013 13:55:30 +0200
Jacek Konieczny <jajcus at jajcus.net> wrote:
> First two are clear:
> 
> iproute2-3.4.0-1.aos2.i686 requires '/bin/sh', so it pulls pdksh…
> then pdksh-5.2.14-56.aos2.i686 requires '/usr/share/man/man1' and…?
> 
> axeos-pbx-api-0.13-aos1.noarch does not provide
> '/usr/share/man/man1' (it does not even contain any manual pages),
> nor any of the 27 other packages listed below.
> 
> Maybe the package dependencies are right, but the RPM dependency
> checking is broken for some reason? Any ideas?

Hmmm… I have added 'pdksh>axeos-pbx-api' to the '_dependency_whiteout' macro
and I got a shorter loop:

D: LOOP:
D: removing iproute2-3.4.0-1.aos2.i686 "Requires: /sbin" from tsort relations.
D: removing net-snmp-5.6.1-4.aos3.i686 "Requires(auto): libnetsnmp.so.25" from tsort relations.
D: removing net-snmp-libs-5.6.1-4.aos3.i686 "Requires(auto): libnl.so.3" from tsort relations.
D: removing libnl-3.0-3.aos2.i686 "Requires(auto): libc.so.6" from tsort relations.
D: removing glibc-2.15-10.aos1.i686 "Requires: /usr/share/man/fr/man5" from tsort relations.
D: removing nagios-nrpe-2.12-2.aos3.i686 "Requires(post): /sbin/chkconfig" from tsort relations.
D: removing chkconfig-1.3.20-0.4.aos1.i686 "Requires: /usr/share/locale/uk/LC_MESSAGES" from tsort relations
D: removing tcpdump-4.1.1-3.aos1.i686 "Requires: libpcap >= 2:1.0.0" from tsort relations.
D: removing libpcap-1.3.0-1.aos1.i686 "Requires: /usr/share/man/man7" from tsort relations.
D: removing tar-1.26-1.aos1.i686 "Requires: /usr/share/man/pl/man1" from tsort relations.
D: removing rc-scripts-0.4.5.4-2.aos1.i686 "Requires: SysVinit-tools >= 2.88-1" from tsort relations.
D: removing SysVinit-tools-2.88-7.aos1.i686 "Requires: /usr/share/man/cs/man8" from tsort relations.
D: removing axeos-phone-configs-3.2.0-aos1.noarch "Requires(pre): axeos-services" from tsort relations.
D: removing axeos-services-3.1-aos74.noarch "Requires: axeos-scripts-common >= 3.2.8" from tsort relations.
D: removing axeos-scripts-common-3.2.25-aos1.i686 "Requires: /usr/bin/sensors" from tsort relations.
D: removing lm_sensors-3.2.0-1.aos1.i686 "Requires: lm_sensors-config >= 3" from tsort relations.
D: removing lm_sensors-config-default-3.2.0-1.aos1.i686 "Requires: /etc/sysconfig" from tsort relations.
D: removing filesystem-4.0-11.aos1.i686 "Requires: /usr/share/man/pl" from tsort relations.

Please note that all the 'phantom' edges (iproute2/net-snmp, glibc/nagios-nrpe,
chkconfig/tcpdump, libpcap/tar/rc-scripts, SysVinit-tools/axeos-phone-configs,
filesystem/iproute2) are via directories in the FHS package – it looks like
random package was used instead of 'FHS' when those dirs were required.

Greets,
	Jacek


More information about the pld-devel-en mailing list