Bug 439275
Summary: | yum reget is broken | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jake Edge <jake> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | ffesti, james.antill, katzj, pmatilai, tim.lauridsen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-03-28 07:00:04 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: |
Description
Jake Edge
2008-03-27 20:28:45 UTC
Here's what's happening: 1. a package is being partially downloaded. 2. yum sees the size of the file is less than what the file's total size should be and it is keeping the partial download in hope that it can fill up the rest of it and make a complete rpm 3. The partial download, however, is corrupt for one reason or another. 4. urlgrabber fills up the file the rest of the way, tests it, sees it is bad/wrong and attempts to try some more. But it can't stop trying to fill it up eventhough the file is 'full'. This might be considered a bug in urlgrabber but I think we can work around it in yum by having the verifyPkg() method unlink a file if: a. it fails the checksum test b. if the file is >= the expected size of the file. I will however raise this issue with the urlgrabber maintainer, see if he thinks it is insane or not. and fixed in yum for now. I still wanna know if this is a bug in urlgrabber or on purpose. :) |