Fixing old packages leftover after upgrade from Fedora 10 to 11

After update from Fedora 10 to Fedora 11 some packages where leftover from the update process:

$ rpm -qa|grep fc10
iptables-1.4.3.2-1.fc10.i386
iptables-ipv6-1.4.3.2-1.fc10.i386
foomatic-4.0.3-3.fc10.i386
alsa-plugins-pulseaudio-1.0.21-3.fc10.i386
libXTrap-1.0.0-6.fc10.i386
libXTrap-devel-1.0.0-6.fc10.i386
libdhcp4client-4.0.0-37.fc10.i386

The update path is the following:

foomatic: 4.0.3-3.fc10.i386 -> 4.0.3-3.fc11.i586
iptables: 1.4.3.2.fc10.i386 -> 1.4.3.1.fc11.i586
iptables-ipv6: 1.4.3.2.fc10.i386 -> 1.4.3.1.fc11.i586
alsa-plugins-pulseaudio: 1.0.21.fc10.i386 -> 1.0.21.fc11.i586
libXTrap: No update package
libXTrap-devel: No update package
libdhcp4client: No update package

Removal of libXTrap, libXTrap-devel and libdhcp4client was no problem, since it were not needed by any other package. Nevertheless the upgrade progress should have asked afterwards if it can remove such orphaned packages.

Fixing the foomatic and iptables-* packages was not so easy as the architecture changed. Note that I didn’t do a yum upgrade – which is not supported officially – but rather a CD upate. This kind of problems should never occur. But unfourtunately Fedora can’t handle updates like this. Not really enduser friendly…

To manually fix the problems you can do

$ rpm --nodeps -e alsa-plugins-pulseaudio foomatic iptables iptables-ipv6
$ yum install alsa-plugins-pulseaudio foomatic iptables iptables-ipv6

The --nodeps option instructs rpm to not honour the dependencies (other packages depend on foomatic and iptables) and just remove the packages.