Bug 222013
Summary: | twisted-dropin-cache scriptlet exits 255 on some package removals | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kevin Fenzi <kevin> |
Component: | python-twisted-core | Assignee: | Thomas Vander Stichele <thomas> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | giallu, matthias, mtasaka, paul, triage |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | bzcl34nup | ||
Fixed In Version: | 8.1.0-2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-12-23 21:36:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Kevin Fenzi
2007-01-09 16:33:43 UTC
See my comment on bug 221310. For me this happens on FC-6, but not on FC-devel. It seems for me to be the bug on "rpm". (In reply to comment #0) > I don't know if Requires(pre) and Requires(post) adding would also fix the > scriptlet issues above. I tried with explicitly write to -words package like: ------------------------------------- Requires(post): python-twisted-core Requires(postun): python-twisted-core ------------------------------------- However the misordering wasn't fixed... Yeah, I can confirm that this happens on fc6, and not on devel. ;( Perhaps as a workaround for fc6, you could change the post/postun to something like: %post %{_libexecdir}/twisted-dropin-cache || : %postun %{_libexecdir}/twisted-dropin-cache || : That seems to work around the problem here... Just happened to me as well... Since the clock for FC-6 EOL is ticking, are you going to fix this? 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. http://fedoraproject.org/wiki/LifeCycle/EOL 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 the change. 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: http://fedoraproject.org/wiki/BugZappers/F9CleanUp 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 I just tried this on current rawhide, and its still happening... # rpm -e python-twisted-words python-twisted-core error: %postun(python-twisted-words-0.5.0-3.fc9.x86_64) scriptlet failed, exit status 255 Thomas? Can we please fix this? Kevin provided the requested information in Comment #5; the problem still exists in current rawhide. Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I've seen the same problems as what has been detailed here earlier, namely that even with the correct "Requires(foo):" lines, the core package still gets removed before the plugin packages, which causes errors. So in the 8.1.0 packages I've just pushed to rawhide, I've replaced the existing scriplets in the plugin packages with the following, which should fix the problem : %post if [ -x %{_libexecdir}/twisted-dropin-cache ]; then %{_libexecdir}/twisted-dropin-cache || : fi %postun if [ -x %{_libexecdir}/twisted-dropin-cache ]; then %{_libexecdir}/twisted-dropin-cache || : fi It's kind of hack-ish, but should do the trick. Note that I've also updated the core package, which now removes the "dropin.cache" file upon removal. |