Red Hat Bugzilla – Bug 208460
yum - update to 2.9.7 is messing up local file and makes further operations impossible
Last modified: 2014-01-21 17:55:24 EST
Description of problem:
After 'yum upgrade "yum*"' with the current rawhide for every package
already in local cache errors of that sort always show up:
[Errno 9] Requested Range Not Satisfiable
Trying other mirror.
Attempt to rectify that with 'yum clean metadata' does not help.
Files _not_ in cache download without any troubles.
The above would be a minor annoyance if not that detail that after
all downloads are complete one get "Error Downloading Packages:"
for all packages which were already on a local disk and yum bails
OK, so lets try 'yum localupdate *.rpm' on files in a local cache.
For that yum informs "Total download size: 313 M", even if a total
size of files in that directory is something like 102M, crunches
something a bit, gets "[Errno 9] Requested Range Not Satisfiable"
attemptig to "download" again an rpm file on a local disk and
once more terminates with "Error Downloading Packages:" despite
Backing off to yum-2.9.6-1 and yum-metadata-parser-1.0-7.1.fc6
allows to finish the whole update with
yum --exclude="yum*" update
with no problems and no attempts to re-download anything.
I did not try to check what would happen if I would not have any
files cached. With a speed of my connection and other limitations
this is a totally loosing proposition (and a default 'keepcache=0'
in /etc/yum.conf clearly unworkable).
Just in case - the above was observed on x86_64 platform.
Version-Release number of selected component (if applicable):
Using "yum clean packages" helps to work around the problem. You'll have to
download all packages again though obviously.
> Using "yum clean packages" helps to work around the problem.
This is precisely what I really do NOT want to do and I thought
that I wrote that clearly enough. :-)
Fixed in yum CVS and yum-2.9.7-4 I think (I was able to reproduce the problem
and have something that fixes for me)
Can you try http://people.redhat.com/~katzj/yum-2.9.7-4.noarch.rpm (yum-updatesd
On a sample of one available package (yum-metadata-parser) which I still had
not updated :-) yum-2.9.7-4 fixed the problem.
I will try to recheck when the next bunch of updates will show up but
I expect that 2.9.7-4 behaves. Thanks!
I checked with a bigger number of packages and a mixture of files
already in a local cache and not downloaded yet. With yum-2.9.7-4
I do not see the problem anymore.