![Não é possível iniciar a conexão com archive.ubuntu.com:80 (2001:67c:1360:8001::24),A rede está inacessível) [IP: 91.189.88.142 80](https://rvso.com/image/178483/N%C3%A3o%20%C3%A9%20poss%C3%ADvel%20iniciar%20a%20conex%C3%A3o%20com%20archive.ubuntu.com%3A80%20(2001%3A67c%3A1360%3A8001%3A%3A24)%2CA%20rede%20est%C3%A1%20inacess%C3%ADvel)%20%5BIP%3A%2091.189.88.142%2080.png)
Acabei de fazer uma nova instalação no Linux Mint 20, mas esse problema também estava presente no Linux Mint 19.3. Cada vez que tento fazer um apt-get update
ou apt-get upgrade
até mesmo baixar um software do gerenciador de software, recebo um erro. A mesma coisa aconteceu quando tentei atualizar o que o gerenciador de atualização recomendou.
Descobri que posso atualizar ou atualizar se continuar executando o comando sudo apt-get update/upgrade
após cada tentativa fracassada. Como cada atualização/upgrade para em uma determinada porcentagem, quando executo o comando novamente ele continua a partir dessa mesma porcentagem e ao fazer a atualização/upgrade algumas vezes ele finalmente é concluído.
Este é o erro que recebo quando tento baixar o VLC do gerenciador de software. Diz primeiro:
Failed to download package files
Check your Internet connection.
E os detalhes são:
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/s/sdl-image1.2/libsdl-image1.2_1.2.12-12_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - 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 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.152), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.88.142), connection timed out [IP: 91.189.88.142 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/s/sidplay-libs/libsidplay2_2.1.1-15ubuntu2_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - 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 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 91.189.88.142 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/libs/libspatialaudio/libspatialaudio0_0.3.0+git20180730+dfsg1-2build1_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - 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 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 91.189.88.142 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/s/srt/libsrt1_1.4.0-1build1_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - 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 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 91.189.88.142 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/libs/libssh2/libssh2-1_1.8.0-2.1build1_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - 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 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 91.189.88.142 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/p/pupnp-1.8/libupnp13_1.8.4-2ubuntu2_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - 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 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 91.189.88.142 80]
...e assim por diante.
Os dois valores de erro específicos de erro que aparecem em todos os lugares são 2001:67c:1360:8001::23
e 91.189.88.152
. As fontes de software que minhas máquinas usam atualmente são:
(Main) http://packages.linuxmint.com
(Focal) http://archive.ubuntu.com/ubuntu
Tentei mudar as fontes focais para muitas fontes diferentes, mas sem sucesso. E até baguncei os source.list
arquivos presentes /etc/apt/source.list.d
antes e tive que instalar o Linux de novo devido a muitos problemas. Então eu realmente não sei o que fazer aqui e encontrei muitos outros com o mesmo problema.
Responder1
Parece uma pilha IPv6 mal configurada. O Linux pensa que tem IPv6 e tenta usá-lo (prefere, na verdade) para se conectar.
Você pode forçar apt-get
o uso da adição de IPv4 -o Acquire::ForceIPv4=true
. Por exemplo:
$ sudo apt-get -o Acquire::ForceIPv4=true update
Se você quiser tornar a opção permanente, você pode adicioná-la a um arquivo /etc/apt/apt.conf.d/
, por exemplo, dentro de /etc/apt/apt.conf.d/99only-ipv4
:
Acquire::ForceIPv4 "true";