Red Hat Bugzilla – Bug 366891
f7 rpm can't be uninstalled on f8
Last modified: 2008-05-14 15:51:55 EDT
Description of problem:
the rpm can't be uninstalled on F8, and yum thus can't upgrade from
avahi-0.6.17-1.fc7 to F8. The old avahi will seem to be installed, and there is
no(?) way it can be cleaned up automatically in future upgrades.
If it is an F7 problem then I suggest that an F7 update is pushed before F8 is
Version-Release number of selected component (if applicable):
100% by forcing downgrading of an F8 system.
Steps to Reproduce:
1. rpm -e avahi --nodeps
2. rpm -ihv avahi-0.6.17-1.fc7.i386.rpm --nodeps
3. rpm -e avahi-0.6.17-1.fc7
yum upgrade avahi
rpm -q avahi
uninstall possible, thus upgrade possible
*** Bug 375511 has been marked as a duplicate of this bug. ***
Note that the fc7 rpm "almost" has been uninstalled during the upgrade to fc8;
it is only the script execution that fails.
The last traces of fc7 rpm can be removed with
rpm -e --noscripts avahi-0.6.17-1.fc7
*** Bug 390921 has been marked as a duplicate of this bug. ***
I am really not sure why this happens. Apparently ldconfig is returning non-zero
when deinstalling this package? If so, you are in serious trouble anyway, and I
see no point in hiding this in our postun script.
Our postun script basically just calls ldconfig and /sbin/service. The latter is
protected via ||: so definitely not the cause of this failure.
Ok, the old version in 0.6.17 of the postun script lacks the ||:
And apparently we're doomed, because we cannot replace the old postun scripts of
already installed packages.
I am really not sure about this. Apparently the recommended way to fix this is
to ask the user to call "rpm -e --noscripts avahi-0.6.17-1.fc7" which totally sucks.
I assume that most/many F7 now has been upgraded to F8 and has this problem.
Making an upgrade work is thus not that important - it's too late. But all the
machines out there with two avahi's should be cleaned up somehow. Last resort
could perhaps be a hack in F9 anaconda...
This issue is NEEDINFO from me, but I don't see what info is needed?
This message is a reminder that Fedora 7 is nearing the end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 7. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '7'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 7's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 7 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug. If you are unable to change the version, please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. If possible, it is recommended that you try the newest available Fedora distribution to see if your bug still exists.
Please read the Release Notes for the newest Fedora distribution to make sure it will meet your needs:
The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping