FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2004
    Posts
    4,256
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    yum error: Header is not complete

    Yum has been working for months on my FC3 installation, but for the past two days I get errors like this when I try to do a yum update:

    http://ftp.uni-koeln.de/fedora/updat...C3.2.i386.rpm: [Errno -1] Header is not complete.

    This error happens as yum tries all the repositories as configured in the default FC3 configuration of yum.

    Is there some general problem that would cause this? The freeRadius package was getting this error so I did a yum remove of it only to have the error with koffice. So I hesitate to go down the road of removing packages.
    "Never let the task you are trying to accomplish distract you from the study of computers."

  2. #2
    Join Date
    Jun 2005
    Location
    Texas
    Posts
    179
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    According to Duke University's yum faq:

    Q. 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

    Solutions number 2 and 4 don't too helpful in your case since you are a) already using an ftp repository and b) can't just stop using yum.

  3. #3
    bytesniper Guest
    i get those errors from time to time... one line solution:

    yum --enablerepo=* clean all


    HTH,
    Joseph

Similar Threads

  1. Yum Header not complete error
    By BlueHaven in forum Using Fedora
    Replies: 2
    Last Post: 4th August 2007, 12:06 AM
  2. Replies: 2
    Last Post: 15th January 2007, 04:01 PM
  3. mplayer header not complete
    By darksilver in forum Using Fedora
    Replies: 3
    Last Post: 6th June 2006, 04:50 PM
  4. YUM Error: [Errno -1] Header is not complete.
    By KimInWis in forum Using Fedora
    Replies: 11
    Last Post: 27th December 2005, 09:33 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •