[Yum] [Errno -1] Header is not complete.

Joshua Jensen joshua at iwsp.com
Thu Jul 7 13:50:48 UTC 2005


Welcome to yum on a big bad network.  Both the emails you site are 
mine.  Looks like you are behind transparent and silently broken 
proxies.  One way I've found that usually works to detect a transparent 
proxy is this:

echo -e "TRACE / HTTP/1.1\nHost:  yum-server.example.com\n\n"  | nc yum-server.example.com 80

This sends a TRACE (as opposed to a GET or HEAD or POST) http
request, for which proxies are *supposed* to tack on an extra "Via:"
line to identify themselves.  They don't have to, but most of the ones
I've encountered do.

Yum isn't doing anything wrong here.  The answer in the case of "Header
is not complete" is "fix your network".  Your proxies just don't perform
http byte-ranged requests.... usually a simple upgrade of it's OS or
firmware will do the trick. Can you convince your network guys to do
this for you?

Joshua


On Thu, Jul 07, 2005 at 09:51:09AM -0400, Wacek, William R. wrote:
> Hi All!
> 
> I am trying to update my desktop Fedora Core 4 (using yum 2.3.2) machine at
> work, using a rather large WAN.  I am getting the error:
> 
> [Errno -1] Header is not complete.
> 
> Strangely, I am getting this error after yum downloads the entire file, not
> just the header data.  I searched for help on this, and found this article
> mentioning the Cisco Content Engine not supporting http byte-ranged
> requests.  https://lists.dulug.duke.edu/pipermail/yum/2005-April/006459.html
> 
> I am in a rather large company network, and I don't have a timely way to
> verify the network structure (or the knowledge of networking) to see what
> the problem is, I was hoping someone on this list could help me out.
> 
> I have reproduced the yum session below.  The interesting thing is that on a
> few mirrors, I get an HTTP 403 error instead of the above error.  When that
> error comes back, the one line says:
> Via: 1.1 webproxy-east1 (NetCache NetApp/5.5R2)
> I was wondering if this is pointing out that the proxy on my end is the
> NetApp device, and whether this could be the problem.
> 
> I found another thread on the list
> (https://lists.dulug.duke.edu/pipermail/yum/2005-June/006748.html)
> suggesting a software fix for yum to fix this problem.  I was wondering if
> any work had been done on this, as I did not see it listed in Bugzilla.
> 
> Thanks for any help!
> 
> -Bill
> 
> 
> 
> [root at sweb-dev bwacek]# yum update
> Setting up Update Process
> Setting up repositories
> updates-released          100% |=========================|  951 B    00:00
> extras                    100% |=========================| 1.1 kB    00:00
> base                      100% |=========================| 1.1 kB    00:00
> Reading repository metadata in from local files
> primary.xml.gz            100% |=========================| 121 kB    00:01
> updates-re: ################################################## 346/346
> Added 33 new packages, deleted 0 old in 1.79 seconds
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Downloading header for kde-i18n-Dutch to pack into transaction set.
> kde-i18n-Dutch-3.4.1-0.fc 100% |=========================| 9.9 MB    02:06
> http://ftp1.skynet.cz/pub/linux/fedora/updates/4/i386/kde-i18n-Dutch-3.4.1-0
> .fc4.1.noarch.rpm: [Errno -1] Header is not complete.
> Trying other mirror.
> kde-i18n-Dutch-3.4.1-0.fc 100% |=========================| 9.9 MB    02:08
> http://zeniv.linux.org.uk/pub/distributions/fedora/linux/core/updates/4/i386
> /kde-i18n-Dutch-3.4.1-0.fc4.1.noarch.rpm: [Errno -1] Header is not complete.
> Trying other mirror.
> http://klid.dk/homeftp/fedora/linux/core/updates/4/i386/kde-i18n-Dutch-3.4.1
> -0.fc4.1.noarch.rpm: [Errno 4] IOError: HTTP Error 403: Transfer-Encoding:
> chunked
> Date: Thu, 07 Jul 2005 12:46:07 GMT
> Content-Type: text/html; charset=iso-8859-1
> Server: Apache-AdvancedExtranetServer/1.3.28 (Mandrake Linux/3.4.92mdk)
> PHP/4.3.3
> Via: 1.1 webproxy-east1 (NetCache NetApp/5.5R2)
> Trying other mirror.
> kde-i18n-Dutch-3.4.1-0.fc 100% |=========================| 9.9 MB    02:52
> http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/kde-i
> 18n-Dutch-3.4.1-0.fc4.1.noarch.rpm: [Errno -1] Header is not complete.
> Trying other mirror.
> http://mirror.netglobalis.net/pub/fedora/core/updates/4/i386/kde-i18n-Dutch-
> 3.4.1-0.fc4.1.noarch.rpm: [Errno 4] IOError: HTTP Error 404: Date: Thu, 07
> Jul 2005 12:49:02 GMT
> Content-Length: 335
> Content-Type: text/html; charset=iso-8859-1
> Server:
> Via: 1.1 webproxy-east1 (NetCache NetApp/5.5R2)
> Trying other mirror.
> kde-i18n-Dutch-3.4.1-0.fc 100% |=========================| 9.9 MB    05:07
> http://ftp.udl.es/pub/fedora/linux/core/updates/4/i386/kde-i18n-Dutch-3.4.1-
> 0.fc4.1.noarch.rpm: [Errno -1] Header is not complete.
> Trying other mirror.
> kde-i18n-Dutch-3.4.1-0.fc 100% |=========================| 9.9 MB    04:39
> http://limestone.uoregon.edu/ftp/fedora/updates/4/i386/kde-i18n-Dutch-3.4.1-
> 0.fc4.1.noarch.rpm: [Errno -1] Header is not complete.
> Trying other mirror.
> kde-i18n-Dutch-3.4.1-0.fc 100% |=========================| 9.9 MB    02:07
> http://redhat.linux.ee/pub/fedora/linux/core/updates/4/i386/kde-i18n-Dutch-3
> .4.1-0.fc4.1.noarch.rpm: [Errno -1] Header is not complete.
> Trying other mirror.
> kde-i18n-Dutch-3.4.1-0.fc 100% |=========================| 9.9 MB    05:15
> http://fr2.rpmfind.net/linux/fedora/core/updates/4/i386/kde-i18n-Dutch-3.4.1
> -0.fc4.1.noarch.rpm: [Errno -1] Header is not complete.
> Trying other mirror.
> http://ftp.ipv6.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/up
> dates/4/i386/kde-i18n-Dutch-3.4.1-0.fc4.1.noarch.rpm: [Errno 4] IOError:
> <urlopen error (97, 'Address family not supported by protocol')>
> Trying other mirror.
> http://mirror.usu.edu/mirrors/fedora/linux/core/updates/4/i386/kde-i18n-Dutc
> h-3.4.1-0.fc4.1.noarch.rpm: [Errno 4] IOError: HTTP Error 404: Date: Thu, 07
> Jul 2005 13:02:27 GMT
> Content-Length: 364
> Content-Type: text/html; charset=iso-8859-1
> Server: Apache/2.0.54 (Gentoo/Linux)
> Via: 1.1 webproxy-east1 (NetCache NetApp/5.5R2)
> Trying other mirror.
> kde-i18n-Dutch-3.4.1-0.fc 100% |=========================| 9.9 MB    03:20
> http://ftp.lug.ro/fedora/linux/core/updates/4/i386/kde-i18n-Dutch-3.4.1-0.fc
> 4.1.noarch.rpm: [Errno -1] Header is not complete.
> Trying other mirror.
> kde-i18n-Dutch-3.4.1-0.fc 100% |=========================| 9.9 MB    02:25
> http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/updates
> /4/i386/kde-i18n-Dutch-3.4.1-0.fc4.1.noarch.rpm: [Errno -1] Header is not
> complete.
> Trying other mirror.
> kde-i18n-Dutch-3.4.1-0.fc 100% |=========================| 9.9 MB    05:06
> http://sunsite.mff.cuni.cz/pub/fedora/updates/4/i386/kde-i18n-Dutch-3.4.1-0.
> fc4.1.noarch.rpm: [Errno -1] Header is not complete.
> Trying other mirror.
> kde-i18n-Dutch-3.4.1-0.fc 100% |=========================| 9.9 MB    04:58
> http://ftp.ndlug.nd.edu/pub/fedora/linux/core/updates/4/i386/kde-i18n-Dutch-
> 3.4.1-0.fc4.1.noarch.rpm: [Errno -1] Header is not complete.
> Trying other mirror.
> kde-i18n-Dutch-3.4.1-0.fc 100% |=========================| 9.9 MB    03:54
> http://fedora.mirrors.tds.net/pub/fedora-core/updates/4/i386/kde-i18n-Dutch-
> 3.4.1-0.fc4.1.noarch.rpm: [Errno -1] Header is not complete.
> Trying other mirror.
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum

-- 
Joshua Jensen
joshua at iwsp.com
"If God didn't want us to eat animals, why did he make them out of meat?"



More information about the Yum mailing list