This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Header is not complete - YUM

Hi. 

I have a problem with the debian/CentOS yum update program. 
Certain packages are not able to be downloaded and yum complains with
"[Errno -1] Header is not complete."
Many hints are guiding towards not a correctly working transparent proxy. 
Can somebody giving me a hint how to solve that?
I operate v6.304 in transparent mode. 
Many thanks in advance. 

Regards
Danny


This thread was automatically locked due to age.
Parents
  • Hi. 

    I have a problem with the debian/CentOS yum update program. 
    Certain packages are not able to be downloaded and yum complains with
    "[Errno -1] Header is not complete."
    Many hints are guiding towards not a correctly working transparent proxy. 
    Can somebody giving me a hint how to solve that?
    I operate v6.304 in transparent mode. 
    Many thanks in advance. 

    Regards
    Danny

    your best bet is to whitelist the primary.xml.gz extension.  This is what i do on my firewalls(non astaro and did it on the astaro machines) to work around the issue.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • Thanks for the hint reg. white listing. In general, its not an elegant solution and doesn't solve the general issue at all. But a good start. 

    Interestingly, I don't have it for all the updates. Only partially, there is this error. So if somebody hasn't the problem it does not mean he will never have it. It took me quite a while before I came to this problem. 

    Danny
Reply
  • Thanks for the hint reg. white listing. In general, its not an elegant solution and doesn't solve the general issue at all. But a good start. 

    Interestingly, I don't have it for all the updates. Only partially, there is this error. So if somebody hasn't the problem it does not mean he will never have it. It took me quite a while before I came to this problem. 

    Danny
Children
  • Will. 

    thanks for the hint reg. white listing. That helps. 

    For those, not so familiar, here are the steps: 
    - define the destination of the repository in the Networks (e.g. yum.trixbox.org)
    - Under the HTTP proxy settings (must be transparent), add the above network to the "skip source/destionation networks"
    - In packet filter / rules, add a rule for that network. Activate it. 

    That helped. 

    Regards
    Danny