Red Hat Bugzilla – Bug 205350
R-packages fail when uninstalling
Last modified: 2008-05-06 12:18:21 EDT
Description of problem:
R-gnomeGUI, R-waveslim and R-wavethresh fail if they get dependency-uninstalled.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install R and these packages
2. yum uninstall R
When R uninstalls, it uninstalls R before uninstalling the other modules.
The post-processing of the 3 modules mentioned fails when R is gone, and they
don't get uninstalled.
When R has already been uninstalled these modules should not care that they
cannot run the post-processing.
I have to reinstall R, and then uninstall these modules before uninstalling R to
get them removed.
Pretty sure this is an rpm failure, not R's fault. These packages Require: R
already. Pointing this to rpm.
# yum instal R R-vaweslim R-wavethresh R-gnomeGUI
(which did not find R-waveslim or R-gnomeGUI, clearly a yum or repo config deficiency, not an rpm
# yum remove R
which discovered that R-wavethresh needed to be removed as well. Good!
Unfortunatley yum chose to order the transaction as erase R, then R-wavethresh,
reproducing the reported problem, that scriptlets fail because R is already gone.
I then installed R and R-wavethresh using "yum install" and ran
# rpm -e R R-wavethresh
I repeated the "yum install" and did (note reversed args)
# rpm -e R-wavethresh R
All with rpm-4.4.7.
So its a yum, not an rpm problem.
UPSTREAM or back to yum, your call. The rpm in FC has not erasure ordering.
I just think that if R is already gone when R-wavethresh is uninstalling the
uninstall of R-wavethresh shouldn't fail. It seems wrong that it should refuse
to uninstall because it cannot deregister itself from a package that has already
So even if I think there is a bug in yum here, I still think the logic in the
wavethresh rpm is also wrong.
You are correct that the issue(s) of erasure ordering
by yum (or rpm) could be avoided if the R-wavethresh
scriptlets were written differently (and more robustly).
User email@example.com's account has been closed
Reassigning to owner after bugzilla made a mess, sorry about the noise...
FC5 is EOL, but is this still an issue with later releases? There have been some
fixes for erasure ordering since then...
I dont know, as I have changed employer and don't work on those packages anymore :-)
Sorry I can't be of much help on this bug anymore.
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.
If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.
If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
Thanks for your help, and we apologize again that we haven't handled
these issues to this point.
The process we are following is outlined here:
We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
And if you'd like to join the bug triage team to help make things
better, check out http://fedoraproject.org/wiki/BugZappers
This bug is open for a Fedora version that is no longer maintained and
will not be fixed by Fedora. Therefore we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen thus bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.