[Ilugc] "Header is not complete" error for yum!

  • From: karuppuswamy@xxxxxxxxx (KaruppuSwamy T)
  • Date: Tue May 9 19:07:31 2006

I have installed FC5 in HP nx6120 laptop. When I update the package
through yum, I get error message of "Header is not complete".  I am
behind a corporate firewall. Yum home page suggest the following:

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Q. 5: I get an "[Errno -1] Header is not complete." error from yum -
what the heck is going on?

A. It's probably a proxy somewhere between you and the repository. You
may not think that a proxy is in the way even though it really is.

You can try doing a "trace" with this command:

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

Which should give you some more information about the network between
you and the repository. Also, be sure to replace
yum-server.example.com with whatever your yum repository server is.
Another diagnosis step is to get the box off of that network (not
always entirely possible, but port forwarding, VPN, or dialup can
simulate the experience) and see if you still have the problem.

The solutions to this problem are:
1. Get your proxy software/firmware updated so that it properly
implements HTTP 1.1
2. Use an FTP repository, where byte ranges are more commonly
supported by the proxy
3. Create a local mirror with rsync and then point your yum.conf to
that local mirror
4. Don't use yum
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I found that it is because of firewall. No chance of firmware update
on firewall. I can't mirror the entire repository (restricted
bandwidth for me). Except myself nobody uses Linux in our office. Can
any one suggest me FTP repository of FC5? or any other solution?

Regards
T.KaruppuSwamy

Other related posts: