apt-get update Bad header line on all updates
14,727
Solution 1
I hit this issue with one of the ppa
s (Geogebra
), a few minutes back and doing the following solved the issue:
sudo rm -rf /var/lib/apt/lists/* && sudo apt-get update
Solution 2
You have to set up apt-get correctly to be able to use it behind a proxy:
https://help.ubuntu.com/community/AptGet/Howto#Setting_up_apt-get_to_use_a_http-proxy
Related videos on Youtube
Author by
Fudztown
Technical Project Manager. Background in Oracle / Java over 8 years commercial experience.
Updated on September 18, 2022Comments
-
Fudztown over 1 year
I am behind a proxy so I have updated
/etc/apt/apt.conf
with my proxy settings and I have removed the old lists withsudo rm /var/lib/apt/lists/* -vf
.However I still get the following when I run
sudo apt-get update
:Ign http://gb.archive.ubuntu.com precise InRelease Ign http://gb.archive.ubuntu.com precise-updates InRelease Ign http://gb.archive.ubuntu.com precise-security InRelease Ign http://gb.archive.ubuntu.com precise-proposed InRelease Ign http://gb.archive.ubuntu.com precise-backports InRelease Err http://gb.archive.ubuntu.com precise-security Release.gpg Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-proposed Release.gpg Bad header line Err http://gb.archive.ubuntu.com precise Release.gpg Bad header line Err http://gb.archive.ubuntu.com precise-updates Release.gpg Bad header line Err http://gb.archive.ubuntu.com precise-backports Release.gpg Got a single header line over 360 chars Ign http://gb.archive.ubuntu.com precise-security Release Ign http://gb.archive.ubuntu.com precise-proposed Release Ign http://gb.archive.ubuntu.com precise Release Ign http://gb.archive.ubuntu.com precise-updates Release Ign http://gb.archive.ubuntu.com precise-backports Release Ign http://gb.archive.ubuntu.com precise-security/main TranslationIndex Ign http://gb.archive.ubuntu.com precise-security/multiverse TranslationIndex Ign http://gb.archive.ubuntu.com precise-security/restricted TranslationIndex Ign http://gb.archive.ubuntu.com precise-security/universe TranslationIndex Ign http://gb.archive.ubuntu.com precise-proposed/main TranslationIndex Ign http://gb.archive.ubuntu.com precise-proposed/multiverse TranslationIndex Ign http://gb.archive.ubuntu.com precise-proposed/restricted TranslationIndex Ign http://gb.archive.ubuntu.com precise-proposed/universe TranslationIndex Ign http://gb.archive.ubuntu.com precise/multiverse TranslationIndex Ign http://gb.archive.ubuntu.com precise/restricted TranslationIndex Ign http://gb.archive.ubuntu.com precise/universe TranslationIndex Ign http://gb.archive.ubuntu.com precise/main TranslationIndex Ign http://gb.archive.ubuntu.com precise-updates/main TranslationIndex Ign http://gb.archive.ubuntu.com precise-updates/multiverse TranslationIndex Ign http://gb.archive.ubuntu.com precise-updates/restricted TranslationIndex Ign http://gb.archive.ubuntu.com precise-updates/universe TranslationIndex Ign http://gb.archive.ubuntu.com precise-backports/main TranslationIndex Ign http://gb.archive.ubuntu.com precise-backports/multiverse TranslationIndex Ign http://gb.archive.ubuntu.com precise-backports/restricted TranslationIndex Ign http://gb.archive.ubuntu.com precise-backports/universe TranslationIndex Err http://gb.archive.ubuntu.com precise-security/main Sources Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-security/restricted Sources Bad header line Err http://gb.archive.ubuntu.com precise-security/universe Sources Bad header line Err http://gb.archive.ubuntu.com precise-security/multiverse Sources Bad header line Err http://gb.archive.ubuntu.com precise-security/main amd64 Packages Bad header line Err http://gb.archive.ubuntu.com precise-security/restricted amd64 Packages Bad header line Err http://gb.archive.ubuntu.com precise-security/universe amd64 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-security/multiverse amd64 Packages Bad header line Err http://gb.archive.ubuntu.com precise-security/main i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise-security/restricted i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise-security/universe i386 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-security/multiverse i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise-proposed/restricted amd64 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-proposed/main amd64 Packages Bad header line Err http://gb.archive.ubuntu.com precise-proposed/multiverse amd64 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-proposed/universe amd64 Packages Bad header line Err http://gb.archive.ubuntu.com precise-proposed/restricted i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise-proposed/main i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise-proposed/multiverse i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise-proposed/universe i386 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise/main Sources Bad header line Err http://gb.archive.ubuntu.com precise/restricted Sources Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise/universe Sources Bad header line Err http://gb.archive.ubuntu.com precise/multiverse Sources Bad header line Err http://gb.archive.ubuntu.com precise/main amd64 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise/restricted amd64 Packages Bad header line Err http://gb.archive.ubuntu.com precise/universe amd64 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise/multiverse amd64 Packages Bad header line Err http://gb.archive.ubuntu.com precise/main i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise/restricted i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise/universe i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise/multiverse i386 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-updates/main Sources Bad header line Err http://gb.archive.ubuntu.com precise-updates/restricted Sources Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-updates/universe Sources Bad header line Err http://gb.archive.ubuntu.com precise-updates/multiverse Sources Bad header line Err http://gb.archive.ubuntu.com precise-updates/main amd64 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-updates/restricted amd64 Packages Bad header line Err http://gb.archive.ubuntu.com precise-updates/universe amd64 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-updates/multiverse amd64 Packages Bad header line Err http://gb.archive.ubuntu.com precise-updates/main i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise-updates/restricted i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise-updates/universe i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise-updates/multiverse i386 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-backports/restricted amd64 Packages Bad header line Err http://gb.archive.ubuntu.com precise-backports/main amd64 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-backports/multiverse amd64 Packages Bad header line Err http://gb.archive.ubuntu.com precise-backports/universe amd64 Packages Bad header line Err http://gb.archive.ubuntu.com precise-backports/restricted i386 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-backports/main i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise-backports/multiverse i386 Packages Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-backports/universe i386 Packages Bad header line Err http://gb.archive.ubuntu.com precise-security/main Translation-en_GB Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-security/main Translation-en Bad header line Err http://gb.archive.ubuntu.com precise-security/multiverse Translation-en_GB Bad header line Err http://gb.archive.ubuntu.com precise-security/multiverse Translation-en Bad header line Err http://gb.archive.ubuntu.com precise-security/restricted Translation-en_GB Bad header line Err http://gb.archive.ubuntu.com precise-security/restricted Translation-en Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-security/universe Translation-en_GB Bad header line Err http://gb.archive.ubuntu.com precise-security/universe Translation-en Bad header line Err http://gb.archive.ubuntu.com precise-proposed/main Translation-en_GB Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-proposed/main Translation-en Bad header line Err http://gb.archive.ubuntu.com precise-proposed/multiverse Translation-en_GB Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-proposed/multiverse Translation-en Bad header line Err http://gb.archive.ubuntu.com precise-proposed/restricted Translation-en_GB Bad header line Err http://gb.archive.ubuntu.com precise-proposed/restricted Translation-en Bad header line Err http://gb.archive.ubuntu.com precise-proposed/universe Translation-en_GB Bad header line Err http://gb.archive.ubuntu.com precise-proposed/universe Translation-en Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise/multiverse Translation-en_GB Bad header line Err http://gb.archive.ubuntu.com precise/multiverse Translation-en Bad header line Err http://gb.archive.ubuntu.com precise/restricted Translation-en_GB Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise/restricted Translation-en Bad header line Err http://gb.archive.ubuntu.com precise/universe Translation-en_GB Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise/universe Translation-en Bad header line Err http://gb.archive.ubuntu.com precise/main Translation-en_GB Bad header line Err http://gb.archive.ubuntu.com precise/main Translation-en Bad header line Err http://gb.archive.ubuntu.com precise-updates/main Translation-en_GB Bad header line Err http://gb.archive.ubuntu.com precise-updates/main Translation-en Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-updates/multiverse Translation-en_GB Bad header line Err http://gb.archive.ubuntu.com precise-updates/multiverse Translation-en Bad header line Err http://gb.archive.ubuntu.com precise-updates/restricted Translation-en_GB Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-updates/restricted Translation-en Bad header line Err http://gb.archive.ubuntu.com precise-updates/universe Translation-en_GB Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-updates/universe Translation-en Bad header line Err http://gb.archive.ubuntu.com precise-backports/main Translation-en_GB Bad header line Err http://gb.archive.ubuntu.com precise-backports/main Translation-en Bad header line Err http://gb.archive.ubuntu.com precise-backports/multiverse Translation-en_GB Bad header line Err http://gb.archive.ubuntu.com precise-backports/multiverse Translation-en Got a single header line over 360 chars Err http://gb.archive.ubuntu.com precise-backports/restricted Translation-en_GB Bad header line Err http://gb.archive.ubuntu.com precise-backports/restricted Translation-en Bad header line Err http://gb.archive.ubuntu.com precise-backports/universe Translation-en_GB Bad header line Err http://gb.archive.ubuntu.com precise-backports/universe Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/Release.gpg Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/Release.gpg Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/main/source/Sources Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/restricted/source/Sources Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/universe/source/Sources Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/multiverse/source/Sources Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/main/binary-amd64/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/restricted/binary-amd64/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/universe/binary-amd64/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/multiverse/binary-amd64/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/main/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/restricted/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/universe/binary-i386/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/multiverse/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/restricted/binary-amd64/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/main/binary-amd64/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/multiverse/binary-amd64/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/universe/binary-amd64/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/restricted/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/main/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/multiverse/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/universe/binary-i386/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/main/source/Sources Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/restricted/source/Sources Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/universe/source/Sources Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/multiverse/source/Sources Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/main/binary-amd64/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/restricted/binary-amd64/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-amd64/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/multiverse/binary-amd64/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/main/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/restricted/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/multiverse/binary-i386/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/main/source/Sources Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/source/Sources Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/source/Sources Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/source/Sources Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/main/binary-amd64/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-amd64/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-amd64/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/binary-amd64/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/main/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/binary-i386/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/binary-amd64/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/main/binary-amd64/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-amd64/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/binary-amd64/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/binary-i386/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/main/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-i386/Packages Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/binary-i386/Packages Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/main/i18n/Translation-en_GB Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/main/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/multiverse/i18n/Translation-en_GB Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/multiverse/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/restricted/i18n/Translation-en_GB Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/restricted/i18n/Translation-en Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/universe/i18n/Translation-en_GB Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-security/universe/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/main/i18n/Translation-en_GB Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/main/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/multiverse/i18n/Translation-en_GB Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/multiverse/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/restricted/i18n/Translation-en_GB Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/restricted/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/universe/i18n/Translation-en_GB Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-proposed/universe/i18n/Translation-en Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Translation-en_GB Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/multiverse/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/restricted/i18n/Translation-en_GB Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/restricted/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/universe/i18n/Translation-en_GB Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/universe/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/main/i18n/Translation-en_GB Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise/main/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/main/i18n/Translation-en_GB Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/main/i18n/Translation-en Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/i18n/Translation-en_GB Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/i18n/Translation-en_GB Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/i18n/Translation-en_GB Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/main/i18n/Translation-en_GB Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/main/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/i18n/Translation-en_GB Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/i18n/Translation-en Got a single header line over 360 chars W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/i18n/Translation-en_GB Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/i18n/Translation-en Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/i18n/Translation-en_GB Bad header line W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/i18n/Translation-en Bad header line
I'm on Ubuntu 12.04. This is an Ethernet connection in the office which goes to a Sophos proxy.
-
Chris Hasiński almost 12 yearsTry going to gb.archive.ubuntu.com/ubuntu/dists/precise-security/main/… and downloading files with your browser (just to check if it works), proxy might be blocking your updates.
-
Fudztown almost 12 yearsworks fine in firefox.. trying to see if there is other proxy setting for the terminal that it's looking for?
-
Fudztown almost 12 yearsAh.. just found the following at the bottom of the following post: ubuntugeek.com/… First you need to edit /etc/bash.bashrc file gksudo gedit /etc/bash.bashrc Add your proxy server details in the following format export http_proxy=username:password@proxyhost:port export ftp_proxy=username:password@proxyhost:port However now I get 407 Proxy Authentication Required
-
Fudztown almost 12 yearsStill get this issue.. Additionally I also get Bad header issue in Synaptic with my proxy settings added
-
Shubham Bagate almost 12 yearsWhat does it happens if you connect to one of these addresses? For example: curl -I http://...
-
Fudztown almost 12 years<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>407 Proxy Authentication Required</title> </head><body> <h1>Proxy Authentication Required</h1> <p>This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.</p> </body></html>
-
Ben Middleton about 10 yearsI'm seeing this on Rackspace servers over IPv6 with lines like:
Got a single header line over 360 chars [IP: ::ffff:67.215.65.132 80]
. No solution found yet... -
Ben Middleton about 10 yearsSeems my problem was due to OpenDNS causing a redirect loop. See my answer below for the fix.
-
-
Fudztown almost 12 yearsit's an internal Proxy.. It's up or I wouldn't be able to write this to you now :-)