rpm4/rpm5 incompat: rpm5 firing on provides

Elan Ruusamäe glen at pld-linux.org
Mon Oct 29 18:37:27 CET 2012


# rpm -q rpm
rpm-5.4.10-18.x86_64

# rpm -q rc-scripts initscripts
rc-scripts-0.4.3.3-3.x86_64
rc-scripts-0.4.5.4-2.x86_64
package initscripts is not installed

# rpm -q --whatprovides initscripts
rc-scripts-0.4.3.3-3.x86_64
rc-scripts-0.4.5.4-2.x86_64

# rpm -e rc-scripts-0.4.3.3-3.x86_64
mv: cannot stat ‘/etc/sysconfig/network-scripts/ifcfg-*’: No such file 
or directory
error: %trigger(rc-scripts-0.4.3.3-3.x86_64) scriptlet failed, exit status 1
mv: cannot stat ‘/etc/sysconfig/network-scripts/ifcfg-*’: No such file 
or directory
error: %trigger(rc-scripts-0.4.3.3-3.x86_64) scriptlet failed, exit status 1

# rpm -q --triggers rc-scripts-0.4.3.3-3.x86_64
triggerpostun scriptlet (using /bin/sh) -- initscripts
mv -f /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/interfaces



-- 
glen



More information about the pld-devel-en mailing list