ubuntu / apt-get update disse “Falha ao buscar http: //… 404 não encontrado”

1

Estou tentando executar o apt-get update no ubuntu 9.10

Configurei meu servidor proxy e posso acessar a Internet sem problemas:

/etc/apt# wget "http://www.google.com"
Resolving (...)
Proxy request sent, awaiting response... 200 OK
Length: 292 [text/html]
Saving to: 'index.html'
100%[=================================================================================================================================>] 292         --.-K/s   in 0s      

2010-04-02 17:20:33 (29.8 MB/s) - 'index.html' saved [292/292]

Mas quando tentei usar o apt-get recebi a seguinte mensagem:

Ign http://archive.ubuntu.com karmic Release.gpg
Ign http://ubuntu.univ-nantes.fr karmic Release.gpg       
Ign http://ubuntu.univ-nantes.fr karmic/main Translation-en_US
Ign http://ubuntu.univ-nantes.fr karmic/restricted Translation-en_US
Ign http://archive.ubuntu.com karmic Release   
Ign http://ubuntu.univ-nantes.fr karmic/multiverse Translation-en_US
Ign http://ubuntu.univ-nantes.fr karmic/universe Translation-en_US
Ign http://ubuntu.univ-nantes.fr karmic-updates Release.gpg
Ign http://archive.ubuntu.com karmic/main Sources
Ign http://ubuntu.univ-nantes.fr karmic-updates/main Translation-en_US
Ign http://ubuntu.univ-nantes.fr karmic-updates/restricted Translation-en_US
Ign http://ubuntu.univ-nantes.fr karmic-updates/multiverse Translation-en_US
Ign http://archive.ubuntu.com karmic/restricted Sources
Ign http://ubuntu.univ-nantes.fr karmic-updates/universe Translation-en_US
Ign http://ubuntu.univ-nantes.fr karmic-security Release.gpg
Ign http://archive.ubuntu.com karmic/main Sources
Ign http://ubuntu.univ-nantes.fr karmic-security/main Translation-en_US
Ign http://ubuntu.univ-nantes.fr karmic-security/restricted Translation-en_US
Ign http://ubuntu.univ-nantes.fr karmic-security/multiverse Translation-en_US
Ign http://archive.ubuntu.com karmic/restricted Sources
Ign http://ubuntu.univ-nantes.fr karmic-security/universe Translation-en_US
Ign http://ubuntu.univ-nantes.fr karmic Release
Err http://archive.ubuntu.com karmic/main Sources
  404  Not Found
Ign http://ubuntu.univ-nantes.fr karmic-updates Release
Ign http://ubuntu.univ-nantes.fr karmic-security Release
Err http://archive.ubuntu.com karmic/restricted Sources
  404  Not Found
Ign http://ubuntu.univ-nantes.fr karmic/main Packages
Ign http://ubuntu.univ-nantes.fr karmic/restricted Packages
Ign http://ubuntu.univ-nantes.fr karmic/multiverse Packages
Ign http://ubuntu.univ-nantes.fr karmic/restricted Sources
Ign http://ubuntu.univ-nantes.fr karmic/main Sources
Ign http://ubuntu.univ-nantes.fr karmic/universe Sources
Ign http://ubuntu.univ-nantes.fr karmic/universe Packages
Ign http://ubuntu.univ-nantes.fr karmic-updates/main Packages
Ign http://ubuntu.univ-nantes.fr karmic-updates/restricted Packages
Ign http://ubuntu.univ-nantes.fr karmic-updates/multiverse Packages
Ign http://ubuntu.univ-nantes.fr karmic-updates/restricted Sources
Ign http://ubuntu.univ-nantes.fr karmic-updates/main Sources
Ign http://ubuntu.univ-nantes.fr karmic-updates/universe Sources
Ign http://ubuntu.univ-nantes.fr karmic-updates/universe Packages
Ign http://ubuntu.univ-nantes.fr karmic-security/main Packages
Ign http://ubuntu.univ-nantes.fr karmic-security/restricted Packages
Ign http://ubuntu.univ-nantes.fr karmic-security/multiverse Packages
Ign http://ubuntu.univ-nantes.fr karmic-security/restricted Sources
Ign http://ubuntu.univ-nantes.fr karmic-security/main Sources
Ign http://ubuntu.univ-nantes.fr karmic-security/universe Sources
Ign http://ubuntu.univ-nantes.fr karmic-security/universe Packages
Ign http://ubuntu.univ-nantes.fr karmic/main Packages
Ign http://ubuntu.univ-nantes.fr karmic/restricted Packages
Ign http://ubuntu.univ-nantes.fr karmic/multiverse Packages
Ign http://ubuntu.univ-nantes.fr karmic/restricted Sources
Ign http://ubuntu.univ-nantes.fr karmic/main Sources
Ign http://ubuntu.univ-nantes.fr karmic/universe Sources
Ign http://ubuntu.univ-nantes.fr karmic/universe Packages
Ign http://ubuntu.univ-nantes.fr karmic-updates/main Packages
Ign http://ubuntu.univ-nantes.fr karmic-updates/restricted Packages
Ign http://ubuntu.univ-nantes.fr karmic-updates/multiverse Packages
Ign http://ubuntu.univ-nantes.fr karmic-updates/restricted Sources
Ign http://ubuntu.univ-nantes.fr karmic-updates/main Sources
Ign http://ubuntu.univ-nantes.fr karmic-updates/universe Sources
Ign http://ubuntu.univ-nantes.fr karmic-updates/universe Packages
Ign http://ubuntu.univ-nantes.fr karmic-security/main Packages
Ign http://ubuntu.univ-nantes.fr karmic-security/restricted Packages
Ign http://ubuntu.univ-nantes.fr karmic-security/multiverse Packages
Ign http://ubuntu.univ-nantes.fr karmic-security/restricted Sources
Ign http://ubuntu.univ-nantes.fr karmic-security/main Sources
Ign http://ubuntu.univ-nantes.fr karmic-security/universe Sources
Ign http://ubuntu.univ-nantes.fr karmic-security/universe Packages
Err http://ubuntu.univ-nantes.fr karmic/main Packages
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic/restricted Packages
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic/multiverse Packages
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic/restricted Sources
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic/main Sources
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic/universe Sources
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic/universe Packages
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-updates/main Packages
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-updates/restricted Packages
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-updates/multiverse Packages
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-updates/restricted Sources
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-updates/main Sources
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-updates/universe Sources
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-updates/universe Packages
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-security/main Packages
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-security/restricted Packages
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-security/multiverse Packages
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-security/restricted Sources
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-security/main Sources
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-security/universe Sources
  404  Not Found
Err http://ubuntu.univ-nantes.fr karmic-security/universe Packages
  404  Not Found
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/karmic/main/source/Sources.gz  404  Not Found

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/karmic/restricted/source/Sources.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic/main/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic/restricted/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic/multiverse/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic/restricted/source/Sources.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic/main/source/Sources.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic/universe/source/Sources.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic/universe/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-updates/main/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-updates/restricted/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-updates/multiverse/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-updates/restricted/source/Sources.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-updates/main/source/Sources.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-updates/universe/source/Sources.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-updates/universe/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-security/main/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-security/restricted/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-security/multiverse/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-security/restricted/source/Sources.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-security/main/source/Sources.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-security/universe/source/Sources.gz  404  Not Found

W: Failed to fetch http://ubuntu.univ-nantes.fr/ubuntu/dists/karmic-security/universe/binary-i386/Packages.gz  404  Not Found

apt.conf

No entanto, posso "ver" esses arquivos com o firefox.

more /etc/apt/apt.conf
Acquire::http::proxy "http://www.myproxyname.fr:3128";

Eu também tentei com a porta '80', ou com um /etc/apt/apt.conf em branco

source.list

grep -v "#" /etc/apt/sources.list

deb http://ubuntu.univ-nantes.fr/ubuntu/ karmic main restricted multiverse
deb http://ubuntu.univ-nantes.fr/ubuntu/ karmic-updates main restricted multiverse
deb http://ubuntu.univ-nantes.fr/ubuntu/ karmic universe
deb http://ubuntu.univ-nantes.fr/ubuntu/ karmic-updates universe
deb http://ubuntu.univ-nantes.fr/ubuntu/ karmic-security main restricted multiverse
deb http://ubuntu.univ-nantes.fr/ubuntu/ karmic-security universe

alguém sabe como consertar isso?

Obrigado

Pierre

    
por Pierre 02.04.2010 / 15:27

3 respostas

2

Para outros cujo problema não é devido a um proxy quebrado: você sempre pode remover o host da sua lista de fontes. Normalmente, isso seria tão simples quanto remover a linha de /etc/apt/sources.list . Se isso não funcionar, verifique se você tem um diretório /etc/apt/sources.d/ e remova-o do arquivo apropriado.

    
por 05.12.2010 / 07:19
1

Ok desculpe , o sysadmin veio e corrigiu o URL do proxy que estava errado.

    
por 02.04.2010 / 15:59
0

Como você tem certeza de que o wget está usando o proxy? É a única saída? Como você tem certeza de que o wget está usando o proxy? É a única saída? Ou qual é o seu arquivo de configuração .wgetrc?

Na minha opinião, parece que o proxy precisa ser Proxy com base nesta info .

    
por 02.04.2010 / 15:34