Bug 186945 (yum-cpio-error)
Summary: | Yum reports Updated/Complete even when its failed with errors | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Chris Jones <rollercow> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | boris, james.antill, katzj, knolderpoor, michal, pmatilai, valdis.kletnieks |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | f9 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-05-28 19:54:53 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: | |||
Bug Depends On: | |||
Bug Blocks: | 282951 |
Description
Chris Jones
2006-03-27 16:38:55 UTC
This report targets the FC3 or FC4 products, which have now been EOL'd. Could you please check that it still applies to a current Fedora release, and either update the target product or close it ? Thanks. *** Bug 217762 has been marked as a duplicate of this bug. *** Wouldn't this be an issue of rpm's callback not giving us the information of a failure? I'm going to reassign it over to rpm - see what paul and panu have to say. *** Bug 251236 has been marked as a duplicate of this bug. *** I'm not convinced my bug #251236 is an actual dup - this bug reports "rpm XYZ fails to actually install, but gets reported as correct". My bug is "XYZ properly fails, and then *other* things fail to install as well". *** Bug 246037 has been marked as a duplicate of this bug. *** Yum can catch the error by checking for RPMCALLBACK_CPIO_ERROR / RPMCALLBACK_UNPACK_ERROR in the callback and report failure based on that. And over to yum... Is this the case in all versions of rpm or just newer ones? Been there since rpm 4.1 according to hg. And no, I hadn't noticed it either until now... :) (In reply to comment #7) > Yum can catch the error by checking for RPMCALLBACK_CPIO_ERROR / > RPMCALLBACK_UNPACK_ERROR in the callback and report failure based on that. > > And over to yum... You wouldn't happen to know what the fourth option passed to the callback will look like in the case of these two would you? I'm having trouble gleaning this from the rpm source. AFAICT it's a header you can access normally. okay - and one last question - do you happen to have some intentionally broken rpms I can use to test this? Seth: You don't need an intentionally broken RPM, just an intentionally broken system config. If you have a machine that has a separate /usr or /usr/share, just do this: 1) mount -o remount,ro /usr 2) Try to install an RPM that has files on /usr. Ker-splat. :) *** Bug 255281 has been marked as a duplicate of this bug. *** Okay yum is now outputting a clearer error message in this case. However, it is still not fatal to the whole transaction and probably shouldn't be. Is that enough? 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 |