Red Hat Bugzilla – Bug 202740
yum headers much too large
Last modified: 2014-01-21 17:54:56 EST
Description of problem:
When updating/upgrading, yum downloads headers that are nearly as large as the
final RPM itself.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum upgrade
root@wombat:/var/cache/yum/updates/packages> ls -l
-rw-r--r-- 1 root root 4502093 Aug 15 18:39
-rw-r--r-- 1 root root 4502533 Aug 15 18:39 squirrelmail-1.4.8-1.fc5.noarch.rpm
yum headers significantly smaller than RPM (I don't think squirrelmail has only
440 bytes of payload).
I've seen this for quite a while, interesting is that there are no headers in
the repositories I looked at, so I guess it makes partial downloads of the
packages (and miscalculates severely).
this feels much more like a proxy problem to me. Something not allowing
byte-ranges and doing something broken with it.
Is there anything like that in place?
Seems to be so (but the machines I see this on use proxies I can't fiddle
with)... Would it be possible for yum to use these files as packages if it
already had to download them completely?
I saw something else, namely that some headers are in the few KB range and
others in the MB range. I guess that some mirrors don't allow partial downloads.
Reusing the (already downloaded) package file would be a big imporvement in that
With yum 3.1.x and beyond, we're just killing off the header downloads entirely.