Eu acertei esse problema com um dos ppa
s ( Geogebra
), alguns minutos atrás e fazer o seguinte resolveu o problema:
sudo rm -rf /var/lib/apt/lists/* && sudo apt-get update
Eu tentei todas as soluções e ainda tenho um problema.
Estou atrás de um proxy, por isso atualizei /etc/apt/apt.conf
com minhas configurações de proxy e removi as listas antigas com sudo rm /var/lib/apt/lists/* -vf
.
No entanto, ainda recebo o seguinte:
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
Eu acertei esse problema com um dos ppa
s ( Geogebra
), alguns minutos atrás e fazer o seguinte resolveu o problema:
sudo rm -rf /var/lib/apt/lists/* && sudo apt-get update
Parece que está em baixo. Eu gosto de usar o link para verificar se um site está inativo ou não.
Não tenho certeza se você está usando o OpenDNS, mas se você é que poderia ser o problema. Hoje (22/04/2014) parece haver um problema com a página de pesquisa do OpenDNS .
Eu estava recebendo vários erros de rede com sudo apt-get update
, como:
Err http://ppa.launchpad.net precise Release.gpg
Got a single header line over 360 chars [IP: ::ffff:67.215.65.132 80]
Eu também estava vendo o 303 Redirect Loops com diversos URLs, como:
$ wget -d http://debian.datastax.com/debian/repo_key
DEBUG output created by Wget 1.13.4 on linux-gnu.
URI encoding = 'UTF-8'
--2014-04-22 22:29:34-- http://debian.datastax.com/debian/repo_key
Resolving debian.datastax.com (debian.datastax.com)... ::ffff:67.215.65.132, 173.203.57.192
Caching debian.datastax.com => ::ffff:67.215.65.132 173.203.57.192
Connecting to debian.datastax.com (debian.datastax.com)|::ffff:67.215.65.132|:80... connected.
Created socket 3.
Releasing 0x0000000000fffad0 (new refcount 1).
---request begin---
GET /debian/repo_key HTTP/1.1
User-Agent: Wget/1.13.4 (linux-gnu)
Accept: */*
Host: debian.datastax.com
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.0 303 See Other
Location: http://guidetest.a.id.opendns.com/?url=debian%2Edatastax%2Ecom%2Fdebian%2Frepo%5Fkey
Content-Length: 0
Connection: close
Date: Tue, 22 Apr 2014 22:29:34 GMT
Server: OpenDNS Guide
---response end---
303 See Other
Location: http://guidetest.a.id.opendns.com/?url=debian%2Edatastax%2Ecom%2Fdebian%2Frepo%5Fkey [following]
Closed fd 3
URI content encoding = None
--2014-04-22 22:29:34-- http://guidetest.a.id.opendns.com/?url=debian%2Edatastax%2Ecom%2Fdebian%2Frepo%5Fkey
Resolving guidetest.a.id.opendns.com (guidetest.a.id.opendns.com)... ::ffff:67.215.65.132, 67.215.67.10
Caching guidetest.a.id.opendns.com => ::ffff:67.215.65.132 67.215.67.10
Connecting to guidetest.a.id.opendns.com (guidetest.a.id.opendns.com)|::ffff:67.215.65.132|:80... connected.
Created socket 3.
Releasing 0x0000000000ffdd40 (new refcount 1).
---request begin---
GET /?url=debian%2Edatastax%2Ecom%2Fdebian%2Frepo%5Fkey HTTP/1.1
User-Agent: Wget/1.13.4 (linux-gnu)
Accept: */*
Host: guidetest.a.id.opendns.com
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.0 303 See Other
Location: http://guidetest.a.id.opendns.com/?url=guidetest%2Ea%2Eid%2Eopendns%2Ecom%2F%3Furl%3Ddebian%252Edatastax%252Ecom%252Fdebian%252Frepo%255Fkey
Content-Length: 0
Connection: close
Date: Tue, 22 Apr 2014 22:29:34 GMT
Server: OpenDNS Guide
---response end---
[...SNIP MANY 303 REDIRECTS...]
303 See Other
Location: http://guidetest.a.id.opendns.com/?url=guidetest%2Ea%2Eid%2Eopendns%2Ecom%2F%3Furl%3Dguidetest%252Ea%252Eid%252Eopendns%252Ecom%252F%253Furl%253Dguidetest%25252Ea%25252Eid%25252Eopendns%25252Ecom%25252F%25253Furl%25253Dguidetest%2525252Ea%2525252Eid%2525252Eopendns%2525252Ecom%2525252F%2525253Furl%2525253Dguidetest%252525252Ea%252525252Eid%252525252Eopendns%252525252Ecom%252525252F%252525253Furl%252525253Dguidetest%25252525252Ea%25252525252Eid%25252525252Eopendns%25252525252Ecom%25252525252F%25252525253Furl%25252525253Dguidetest%2525252525252Ea%2525252525252Eid%2525252525252Eopendns%2525252525252Ecom%2525252525252F%2525252525253Furl%2525252525253Dguidetest%252525252525252Ea%252525252525252Eid%252525252525252Eopendns%252525252525252Ecom%252525252525252F%252525252525253Furl%252525252525253Dguidetest%25252525252525252Ea%25252525252525252Eid%25252525252525252Eopendns%25252525252525252Ecom%25252525252525252F%25252525252525253Furl%25252525252525253Dguidetest%2525252525252525252Ea%2525252525252525252Eid%2525252525252525252Eopendns%2525252525252525252Ecom%2525252525252525252F%2525252525252525253Furl%2525252525252525253Dguidetest%252525252525252525252Ea%252525252525252525252Eid%252525252525252525252Eopendns%252525252525252525252Ecom%252525252525252525252F%252525252525252525253Furl%252525252525252525253Dguidetest%25252525252525252525252Ea%25252525252525252525252Eid%25252525252525252525252Eopendns%25252525252525252525252Ecom%25252525252525252525252F%25252525252525252525253Furl%25252525252525252525253Dguidetest%2525252525252525252525252Ea%2525252525252525252525252Eid%2525252525252525252525252Eopendns%2525252525252525252525252Ecom%2525252525252525252525252F%2525252525252525252525253Furl%2525252525252525252525253Dguidetest%252525252525252525252525252Ea%252525252525252525252525252Eid%252525252525252525252525252Eopendns%252525252525252525252525252Ecom%252525252525252525252525252F%252525252525252525252525253Furl%252525252525252525252525253Dguidetest%25252525252525252525252525252Ea%25252525252525252525252525252Eid%25252525252525252525252525252Eopendns%25252525252525252525252525252Ecom%25252525252525252525252525252F%25252525252525252525252525253Furl%25252525252525252525252525253Dguidetest%2525252525252525252525252525252Ea%2525252525252525252525252525252Eid%2525252525252525252525252525252Eopendns%2525252525252525252525252525252Ecom%2525252525252525252525252525252F%2525252525252525252525252525253Furl%2525252525252525252525252525253Dguidetest%252525252525252525252525252525252Ea%252525252525252525252525252525252Eid%252525252525252525252525252525252Eopendns%252525252525252525252525252525252Ecom%252525252525252525252525252525252F%252525252525252525252525252525253Furl%252525252525252525252525252525253Dguidetest%25252525252525252525252525252525252Ea%25252525252525252525252525252525252Eid%25252525252525252525252525252525252Eopendns%25252525252525252525252525252525252Ecom%25252525252525252525252525252525252F%25252525252525252525252525252525253Furl%25252525252525252525252525252525253Dguidetest%2525252525252525252525252525252525252Ea%2525252525252525252525252525252525252Eid%2525252525252525252525252525252525252Eopendns%2525252525252525252525252525252525252Ecom%2525252525252525252525252525252525252F%2525252525252525252525252525252525253Furl%2525252525252525252525252525252525253Dguidetest%252525252525252525252525252525252525252Ea%252525252525252525252525252525252525252Eid%252525252525252525252525252525252525252Eopendns%252525252525252525252525252525252525252Ecom%252525252525252525252525252525252525252F%252525252525252525252525252525252525253Furl%252525252525252525252525252525252525253Ddebian%25252525252525252525252525252525252525252Edatastax%25252525252525252525252525252525252525252Ecom%25252525252525252525252525252525252525252Fdebian%25252525252525252525252525252525252525252Frepo%25252525252525252525252525252525252525255Fkey [following]
Closed fd 3
URI content encoding = None
20 redirections exceeded.
Para corrigir isso, eu mudei /etc/resolv.conf
para usar o GoogleDNS:
nameserver 8.8.8.8
nameserver 8.8.4.4
Anteriormente, estava usando o OpenDNS (por exemplo, nameserver 208.67.222.222
& nameserver 208.67.220.220
)
Além de alterar o servidor para old-releases.ubuntu.com em vez de cc.archives.ubuntu.com, você precisa alterar o protocolo de http simples para https criptografado. Trabalhei para mim!
BTW, você pode usar "sed" para fazer as duas substituições automaticamente.