Bug 834326
Summary: | yum changed behavior when installing/updating circular obsoleted packages | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Patrik Kis <pkis> |
Component: | yum | Assignee: | James Antill <james.antill> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Karel Srot <ksrot> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | james.antill, ksrot, pkis |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | yum-3.4.3-48 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 10:31:25 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Patrik Kis
2012-06-21 14:46:30 UTC
This is fixed upstream, not sure if it's made it into RHEL-7 yet though (tested in 6.4 though). Still failing on current RHEL7 with yum-3.4.3-46.el7.noarch Switching back to assigned Changelog says it made it into rawhide in -48, should be there now for sure though :). Hi James, Patrik, current rpm behavior is that just one package is installed (this is expected as described in bug804069#c7) current yum behavior is as follows: Installing: test-ccc x86_64 0.2-2 myrepo 1.6 k replacing test-ddd.x86_64 0.1-1 test-ddd x86_64 0.2-2 myrepo 1.6 k replacing test-ccc.x86_64 0.1-1 Transaction Summary ================================================================================Install 2 Packages Total download size: 3.3 k Downloading packages: --------------------------------------------------------------------------------Total 2.0 MB/s | 3.3 kB 00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum. Installing : test-ccc-0.2-2.x86_64 1/3 Erasing : test-ddd-0.1-1.x86_64 2/3 Cleanup : test-ccc-0.1-1.x86_64 3/3 Rpmdb checksum is invalid: dCDPT(pkg checksums): test-ddd.x86_64 0:0.2-2 - u :: [ FAIL ] :: Running 'yum --disablerepo='*' --enablerepo=myrepo -y update' (Expected 0, got 1) So yum somehow detects that one package wasn't installed and reports the rpmdb invalid checksum error and exits with 1. This is different from the requirement described above but still it makes sense to me. What do you think? It is ok form me if the installation ends with error. Assuming what was said in bug 804069, that these circular obsoleted packages can be considered as packaging error, IMHO returning error and let the admins know that there is something bad with the packages/installation is probably the best option here. Yeh, rpm does it's own thing but tells us what happened ... which is why yum complains (it sees something different happened than what it thought would happen). It's far from perfect, but it is what it is. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |