Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 160323 - Yum fails if proxy doesn't support byte ranges
Summary: Yum fails if proxy doesn't support byte ranges
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 4
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-06-14 13:43 UTC by David Wood
Modified: 2014-01-21 22:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-06-20 20:48:31 UTC

Attachments (Terms of Use)

Description David Wood 2005-06-14 13:43:17 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
This is a follow-up to unresolved bug 134294 and is also connected with bug 140387.  Under our current corporate IT security policy, our HTTP and FTP proxy servers are not permitted to support byte ranges.  This has been an issue since yum 2.1 which I have worked around by sticking with yum 2.0.7.  However, I notice that in FC4, the headers folder is missing from the updates directory (apart from at ?).  If the approach is being phased out, I'm going to be stuck soon. So ...
1) Can yum be modified to avoid using byte ranges in environments where they are not supported?
2) Why are update headers only available at ? If they can be posted there, please could they also appear at

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.  Run yum install cups-devel (for example)

Actual Results:  Repository updates-released already added, not adding again
Repository base already added, not adding again
Setting up Install Process
Setting up repositories
base                      100% |=========================|  951 B    00:00
updates-released          100% |=========================|  951 B    00:00
extras                    100% |=========================|  951 B    00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for cups-devel to pack into transaction set. [Errno 4] IOError: HTTP Error 404: None
Trying other mirror.
Error: failure: Fedora/RPMS/cups-devel-1.1.23-15.i386.rpm from base: [Errno 256] No more mirrors to try.

Expected Results:  I will do the following:
[install: cups-devel 1:1.1.23-15.i386]
Is this ok [y/N]: y
Downloading Packages
Running test transaction:
Test transaction complete, Success!
cups-devel 100 % done 1/1
Installed:  cups-devel 1:1.1.23-15.i386
Transaction(s) Complete

Additional info:

Comment 1 Seth Vidal 2005-06-14 14:12:30 UTC
http byterange support is a necessary part of yum. We need to be able to
download only a portion of the file to get important information.

We won't be adding yum 2.0.X headers support back into FC4 or FC5. There may be
otherways to work around the need for byte-ranges in the future but for now
there is no option.

Note You need to log in before you can comment on or make changes to this bug.