Bug 75324
Summary: | rpm fails with exit code 0 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Gerald Teschl <gt> | ||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 8.0 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-03-24 17:14:03 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
Gerald Teschl
2002-10-07 09:46:32 UTC
A dependency loop is not a failure, rpm-4.x undertakes appropriate corrective action, ignoring the Requires: in the loop, honoring the PreReq:'s. The only side effect is that the partial order of the packages in the transaction set changes, as the loop is detected late, causing packages in the loop to be emitted later than they would be in the absence of the loop. Sorry if my report was unclear. There are some dependency issues and rpm fails with unresolved dependencies, but the exit code is still 0. Unfortunately, I don't know how to reproduce this, the only thing in common is the "loop" error. But this might be just coincidence. If you want me to dig out an erroneous exit code, I'm gonna need a reproducible test case that shows the problem. OK. I just managed to reproduce this with rpm-4.0.4 I took a fully up2date 7.3 system (with rpm-4.0.4-7x.18) and tried to upgrade 256 packages from redhat 8.0. I'll add the command line plus the rpm output as attachment. In this case it will print an error about failed dependencies (and it will not upgrade a single rpm) but exit with 0. Created attachment 90464 [details]
rpm command line plus output
I can no longer reproduce this with rpm-4.1.1. |