Bug 699929
Summary: | anaconda erroneously reports error occurred when no packages are upgraded | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Greg Bailey <gbailey> | ||||||
Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||||
Status: | CLOSED DEFERRED | QA Contact: | Red Hat Satellite QA List <satqe-list> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 5.6 | CC: | pmatilai | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | i686 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-03-07 15:54:41 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: | |||||||||
Attachments: |
|
Description
Greg Bailey
2011-04-26 23:36:58 UTC
Created attachment 495081 [details]
anaconda.log from original upgrade attempt
Created attachment 495082 [details]
Proposed patch to skip empty transaction sets
While we could certainly do this in anaconda, I think I'd prefer a fix down in rpm itself. I don't understand why running an empty transaction should be an error condition. If it's empty, running it is trivially finished. Agreed, there's no reason to report an error code on empty transaction, that's just "historical behavior" since 2004. I've fixed rpmtsRun() to return zero on empty transaction upstream, and preliminary ACK for changing it in RHEL 5 + 6 too. As this is really a rare corner case and a cosmetic one at that, it's hardly worth fixing in RHEL-5 at this point. This will be fixed in future RHEL versions anyway. |