Autor Tópico: erro apt-get update no Ubuntu na AWS  (Lida 3368 vezes)

Offline Rafaelsilva

  • Usuário Ubuntu
  • *
  • Mensagens: 1
    • Ver perfil
erro apt-get update no Ubuntu na AWS
« Online: 25 de Abril de 2023, 09:12 »
Quando vou executar o apt-get update ele apresenta o seguinte erro:

 

Err:1 http://archive.ubuntu.com/ubuntu focal InRelease   
  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.91.39), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.36), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.39), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.38), connection timed out
Reading package lists... Done                             
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.91.39), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.36), connection timed out Could not connect to archive.ubuntu.com:80 (185.125.190.39), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.91.38), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.

 

Por favor, já verifiquei toda a parte de segurança e não encontrei nada que possa estar impedindo a conexão, preciso de ajuda.

Offline creto

  • Usuário Archlinux
  • Usuário Ubuntu
  • *
  • Mensagens: 812
  • Vivemos esperando dias melhores
    • Ver perfil
    • Blog do Creto
Re:erro apt-get update no Ubuntu na AWS
« Resposta #1 Online: 27 de Abril de 2023, 21:00 »
Olá,

Clique na imagem para ampliar


Estranho porque não há impedimento nenhum no repositório


Você usa VPN, Proxy, coloque a saída completa (do alto até embaixo) do comando:
Código: [Selecionar]
sudo apt update
Quando colar a saida aqui use o bcode mostrado na imagem abaixo


Para que fique assim:
Código: [Selecionar]
creto3@creto3:~$ sudo pacman -Syu
[sudo] senha para creto3:
:: Sincronizando a base de dados de pacotes...
 biglinux-update-stable está atualizado
 core está atualizado
 extra                             1652,3 KiB   430 KiB/s 00:04 [##################################] 100%
 community                            6,8 MiB  1266 KiB/s 00:06 [##################################] 100%
 multilib está atualizado
 biglinux-stable                    389,8 KiB   219 KiB/s 00:02 [##################################] 100%
:: Iniciando atualização completa do sistema...
atenção: manjaro-pipewire: local (20281002-1) é mais novo que extra (20221015-2)
nada para fazer
creto3@creto3:~$

T+
A vida, é feito andar de bicicleta, se parar, você cai! (Gabriel Contino)
Blog do Paulo Corrêa Creto