rpm4/rpm5 incompat: rpm5 firing on provides

Jeffrey Johnson n3npq at me.com
Tue Oct 30 16:17:52 CET 2012


On Oct 30, 2012, at 11:07 AM, Elan Ruusamäe wrote:

>> 
> yes of course, just did not want to remove package until clear that the state is no longer needed for debugging purposes.
> 

The 1st step of debugging is _ALWAYS_ to supply rpm -vv output somehow.

But even before supplying rpm -vv output, one needs to state what problem needs solving.

There is nothing in the entire 1st message that indicates what you wish (except for the Subject:
which incorrectly assumes incompat firing on provides).

73 de Jeff
====================================

# 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

73 de Jeff


More information about the pld-devel-en mailing list