APT-GET dando erro 404 nos repositórios

1. APT-GET dando erro 404 nos repositórios

Heron de Souza Marques
heron_sm

(usa Ubuntu)

Enviado em 10/03/2017 - 18:52h

Boa tarde, pessoal!

Primeiramente, gostaria de dizer que já tentei várias soluções, inclusive aqui do Viva O Linux, porém nenhuma deu certo.

É o seguinte.

Uso linux aqui no trabalho. Quando foi instalado para mim, em 2015, a versão 14.04, o apt-get funcionava direitinho.
Aqui tem um proxy, o que está devidamente referenciado nas configurações do sistema.

Porém, de uma hora pra outra, o apt-get parou de funcionar, tanto para o subcomando install quanto para o update. Aí, quando dou update, ele retorna a seguinte mensagem:

Ign http://br.archive.ubuntu.com trusty InRelease
Ign http://br.archive.ubuntu.com trusty-security InRelease
Ign http://br.archive.ubuntu.com trusty-updates InRelease
Ign http://br.archive.ubuntu.com trusty Release.gpg
Ign http://br.archive.ubuntu.com trusty-security Release.gpg
Ign http://br.archive.ubuntu.com trusty-updates Release.gpg
Ign http://br.archive.ubuntu.com trusty Release
Ign http://br.archive.ubuntu.com trusty-security Release
Ign http://br.archive.ubuntu.com trusty-updates Release
Err http://br.archive.ubuntu.com trusty/main amd64 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty/restricted amd64 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty/universe amd64 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty/main i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty/restricted i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty/universe i386 Packages
404 Not Found
Ign http://br.archive.ubuntu.com trusty/main Translation-pt_BR
Ign http://br.archive.ubuntu.com trusty/main Translation-pt
Ign http://br.archive.ubuntu.com trusty/main Translation-en
Ign http://br.archive.ubuntu.com trusty/restricted Translation-pt_BR
Ign http://br.archive.ubuntu.com trusty/restricted Translation-pt
Ign http://br.archive.ubuntu.com trusty/restricted Translation-en
Ign http://br.archive.ubuntu.com trusty/universe Translation-pt_BR
Ign http://br.archive.ubuntu.com trusty/universe Translation-pt
Ign http://br.archive.ubuntu.com trusty/universe Translation-en
Err http://br.archive.ubuntu.com trusty-security/main amd64 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty-security/restricted amd64 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty-security/universe amd64 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty-security/main i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty-security/restricted i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty-security/universe i386 Packages
404 Not Found
Ign http://br.archive.ubuntu.com trusty-security/main Translation-pt_BR
Ign http://br.archive.ubuntu.com trusty-security/main Translation-pt
Ign http://br.archive.ubuntu.com trusty-security/main Translation-en
Ign http://br.archive.ubuntu.com trusty-security/restricted Translation-pt_BR
Ign http://br.archive.ubuntu.com trusty-security/restricted Translation-pt
Ign http://br.archive.ubuntu.com trusty-security/restricted Translation-en
Ign http://br.archive.ubuntu.com trusty-security/universe Translation-pt_BR
Ign http://br.archive.ubuntu.com trusty-security/universe Translation-pt
Ign http://br.archive.ubuntu.com trusty-security/universe Translation-en
Err http://br.archive.ubuntu.com trusty-updates/main amd64 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty-updates/restricted amd64 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty-updates/universe amd64 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty-updates/main i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty-updates/restricted i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com trusty-updates/universe i386 Packages
404 Not Found
Ign http://br.archive.ubuntu.com trusty-updates/main Translation-pt_BR
Ign http://br.archive.ubuntu.com trusty-updates/main Translation-pt
Ign http://br.archive.ubuntu.com trusty-updates/main Translation-en
Ign http://br.archive.ubuntu.com trusty-updates/restricted Translation-pt_BR
Ign http://br.archive.ubuntu.com trusty-updates/restricted Translation-pt
Ign http://br.archive.ubuntu.com trusty-updates/restricted Translation-en
Ign http://br.archive.ubuntu.com trusty-updates/universe Translation-pt_BR
Ign http://br.archive.ubuntu.com trusty-updates/universe Translation-pt
Ign http://br.archive.ubuntu.com trusty-updates/universe Translation-en
W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-amd64/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-amd64/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-i386/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-i386/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-amd64/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-amd64/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-amd64/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-i386/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-i386/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-i386/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-amd64/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-i386/Packages 404 Not Found

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages 404 Not Found

E: Falhou o download de alguns ficheiros de índice. Foram ignorados ou os antigos foram usados em seu lugar.


Uma coisa que to achando estranho é ele estar buscando um arquivo chamado Packages, sendo que no repositório só existe Packages.gz .

Será que poderiam me dar uma luz para resolver isso?

Abs!


  


2. Re: APT-GET dando erro 404 nos repositórios

Perfil removido
removido

(usa Nenhuma)

Enviado em 10/03/2017 - 21:02h

Poste a saída dos comandos:
$ lsb_release -a
$ find /etc/apt/ -iname "*.list" -exec grep -vE "^($|#)" {} \;



3. Re: APT-GET dando erro 404 nos repositórios

Perfil removido
removido

(usa Nenhuma)

Enviado em 11/03/2017 - 01:42h

Os repositórios brasileiros sempre dão esses problema mesmo, cedo ou tarde...

Configurações do sistema > Programas e atualizações > Em: Baixar de, mude para Servidor principal.

Permita com a senha e deixe atualizar.
Quando terminar, mesmo atualizado, use o update no terminal para ver se ainda tem erros.



*******************************************************
* https://www.linuxcounter.net/cert/620448.png *
*******************************************************


4. Re: APT-GET dando erro 404 nos repositórios

Heron de Souza Marques
heron_sm

(usa Ubuntu)

Enviado em 13/03/2017 - 09:07h

PauloHAC escreveu:

Poste a saída dos comandos:
$ lsb_release -a
$ find /etc/apt/ -iname "*.list" -exec grep -vE "^($|#)" {} \;


PauloHAC, a saída desses comandos é:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty


$ find /etc/apt/ -iname "*.list" -exec grep -vE "^($|#)" {} \;


deb http://br.archive.ubuntu.com/ubuntu/ trusty main restricted universe
deb http://br.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe
deb http://br.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe



5. Re: APT-GET dando erro 404 nos repositórios

Heron de Souza Marques
heron_sm

(usa Ubuntu)

Enviado em 13/03/2017 - 09:11h

izaias escreveu:

Os repositórios brasileiros sempre dão esses problema mesmo, cedo ou tarde...

Configurações do sistema > Programas e atualizações > Em: Baixar de, mude para Servidor principal.

Permita com a senha e deixe atualizar.
Quando terminar, mesmo atualizado, use o update no terminal para ver se ainda tem erros.



*******************************************************
* https://www.linuxcounter.net/cert/620448.png *
*******************************************************


izaias,

Fiz isso e deu o mesmo erro:


W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.



6. Re: APT-GET dando erro 404 nos repositórios

Perfil removido
removido

(usa Nenhuma)

Enviado em 13/03/2017 - 10:46h

O Ubuntu 14.04 é LTS. Mas ainda tem suporte?

Se tiver, esse erro de localizar os endereços nos servidores é temporário.
Mas se perdeu o suporte.... já era.


7. Re: APT-GET dando erro 404 nos repositórios

Perfil removido
removido

(usa Nenhuma)

Enviado em 13/03/2017 - 10:59h

izaias escreveu:

O Ubuntu 14.04 é LTS. Mas ainda tem suporte?

Se tiver, esse erro de localizar os endereços nos servidores é temporário.
Mas se perdeu o suporte.... já era.


Tem suporte até 2019 (LTS - tem updates por 5 anos)


8. Re: APT-GET dando erro 404 nos repositórios

Perfil removido
removido

(usa Nenhuma)

Enviado em 13/03/2017 - 11:10h

heron_sm escreveu:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

$ find /etc/apt/ -iname "*.list" -exec grep -vE "^($|#)" {} \;

deb http://br.archive.ubuntu.com/ubuntu/ trusty main restricted universe
deb http://br.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe
deb http://br.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe


Aparentemente tudo OK com o seu sources.list
O problema deve ser com o servidor "br", aguarde e tente novamente outro dia.
Ou mude "br" para "us" e faça o update!


9. Re: APT-GET dando erro 404 nos repositórios

Perfil removido
removido

(usa Nenhuma)

Enviado em 13/03/2017 - 11:11h

Então, tem que aguardar.
Como podemos resolver os problemas nos servidores da Canonical ?!

Alguns sugerem comentar, mas não é a solução.

Pergunta ao autor: tem PPA ???



10. Re: APT-GET dando erro 404 nos repositórios

Perfil removido
removido

(usa Nenhuma)

Enviado em 13/03/2017 - 12:00h

heron_sm escreveu:

Izaias,

Fiz isso e deu o mesmo erro:


W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages">http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages">http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/restricted/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-amd64/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.



Outra coisa, porque tem: http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages
E: http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages

???

Seu sistema é 32 ou 64 bits ????

*******************************************************
* https://www.linuxcounter.net/cert/620448.png *
*******************************************************


11. Re: APT-GET dando erro 404 nos repositórios

Perfil removido
removido

(usa Nenhuma)

Enviado em 13/03/2017 - 12:02h

Poste todo o resultado dos 3 comandos:

cat /etc/apt/sources.list

uname -m
file /bin/ls



12. Re: APT-GET dando erro 404 nos repositórios

Heron de Souza Marques
heron_sm

(usa Ubuntu)

Enviado em 13/03/2017 - 13:57h

PauloHAC escreveu:

heron_sm escreveu:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

$ find /etc/apt/ -iname "*.list" -exec grep -vE "^($|#)" {} \;

deb http://br.archive.ubuntu.com/ubuntu/ trusty main restricted universe
deb http://br.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe
deb http://br.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe


Aparentemente tudo OK com o seu sources.list
O problema deve ser com o servidor "br", aguarde e tente novamente outro dia.
Ou mude "br" para "us" e faça o update!


Mudei para "us" e não funcionou. Já tinha tentado isso antes.



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts