Description of problem: when attempting 'yum update' with http_proxy and https_proxy set, 'yum list updates' works but 'yum update' fails with '[Error -1] Header is not complete' for all mirrors in distributed mirrorlist. Unset *_proxy and it works fine; FC1 hosts on the same network operate through the same proxy without a hitch. Version-Release number of selected component (if applicable): yum-2.1.11-3 How reproducible: always. Steps to Reproduce: 1. install FC1 on a gateway 2. install squid on the gateway 3. install FC3 behind the gateway 4. upgrade FC3 without the proxy up to before the RPM below 5. set *_proxy to address squid on the gateway 6. try 'yum update' Actual results: [Error -1] Header is not complete for selinux-policy-targeted-1.17.30-2.62 Expected results: update of the aboce Additional info: the yum output is somewhat confusing Setting up Update Process Setting up Repo: base repomd.xml 100% |=========================| 1.1 kB 00:00 Setting up Repo: updates-released repomd.xml 100% |=========================| 951 B 00:00 Reading repository metadata in from local files base : ################################################## 2622/2622 updates-re: ################################################## 407/407 Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for selinux-policy-targeted to pack into transaction set. selinux-policy-targeted-1 100% |=========================| 64 kB 00:00 http://fr2.rpmfind.net/linux/fedora/core/updates/3/i386/selinux-policy-targeted-1.17.30-2.62.noarch.rpm: [Errno -1] Header is not complete. Trying other mirror. selinux-policy-targeted-1 100% |=========================| 64 kB 00:00 http://ftp.ndlug.nd.edu/pub/fedora/linux/core/updates/3/i386/selinux-policy-targeted-1.17.30-2.62.noarch.rpm: [Errno -1] Header is not complete. as it seems to be downloading the RPM instead of the header, and the squid log confirms this: 1104750845.754 3494 10.17.61.46 TCP_MISS/200 65861 GET http://fr2.rpmfind.net/linux/fedora/core/updates/3/i386/selinux-policy-targeted-1.17.30-2.62.noarch.rpm - DIRECT/195.220.108.108 application/x-rpm
Sorry, my mistake. The gateway is multihomed and the value of *_proxy was not correct; wget got it right because the appropriate value was in /etc/wgetrc.
Sorry again, too eager. Even with the correct proxy, new headers get [Error -1] Header is not complete.
does your proxy not support byte-ranges?
Great suggestion: the squid.conf was too paranoid and overused header_access, silently strangling byte range functionality. Allowing through the appropriate HTTP/1.1 headers did the trick. Thank you very much.