Bug 459666
Summary: | yum clean all --noplugins leaves corrupt data in cache. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | wdc |
Component: | yum | Assignee: | James Antill <james.antill> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.2 | CC: | mkearey |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-08-22 00:01:46 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
wdc
2008-08-20 22:10:50 UTC
Created attachment 314665 [details]
Snapshot of yum cache after "yum clean all --noplugins" left all the relevant corruption in place.
Original tgz file was too big.
Concatinate yum-tgz-00 and yum-tgz-01 to create the yum.tgz file containing
the corrupt cache.
Created attachment 314666 [details]
part two of the yum cache tgz file
Original tgz file was too big.
Concatinate yum-tgz-00 and yum-tgz-01 to create the yum.tgz file containing
the corrupt cache.
Greetings, Just a couple of points to help clarify the issue here: - The 'cache corruption' is not really corruption in the strict meaning of the term. The cache files have not been damaged, the cache is in fact intact and error free. The data that has been cached is just bad. This is no fault of yum cache mechanism - The problem is that with a third party repository enabled, and using yum-rhn-plugin, yum clean all fails like so: # yum clean all Loading "rhnplugin" plugin Repository epel-debuginfo is listed more than once in the configuration - In an attempt to avoid that problem we can disable plugins: yum clean all --noplugins The yum cache is not cleaned in this case because yum clean all works on _enebled_ repository files in the cache. It leaves any files in the cache that don't belong to enabled repo's untouched. Actually the epel repo CANNOT appear more than once unless someone worked very hard to create a file epel.repo that can somehow appear twice in a directory. In BZ 448012 I opine that the failure is that the rhn-yum-plugin is inappropriately scanning the list of repositories twice twice. I think the bottom line for what you're saying is, though that telling people to perform yum clean all --noplugins cannot work, because the rhn-yum-plugin is required to enable the repo. Never mind. You don't have to answer. I figured out how to incorporate the patch in bug 448012 myself, and confirmed that indeed "--noplugins" CANT work. This bug is a duplicate of 448012. Y'all should close this bug with that status. *** This bug has been marked as a duplicate of bug 448012 *** |