talway 大佬有话说 :
甲骨文无法apt update 提示错误
本帖最后由 talway 于 2021-12-22 22:28 编辑
更正拼写错误了
0 updates can be applied immediately.
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
root@1tailscale:~# sudo apt update; sudo apt upgrade -y
Err:1 http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu focal InRelease
Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1562::26). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1562::29). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1360:8001::36). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1360:8001::35). – connect (101: Network is unreachable) Could not connect to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (91.189.91.121), connection timed out Could not connect to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (91.189.88.245), connection timed out Could not connect to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (91.189.91.122), connection timed out Could not connect to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (91.189.88.246), connection timed out
Err:2 http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu focal-updates InRelease
Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1562::26). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1562::29). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1360:8001::36). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1360:8001::35). – connect (101: Network is unreachable)
Err:3 http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu focal-backports InRelease
Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1562::26). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1562::29). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1360:8001::36). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1360:8001::35). – connect (101: Network is unreachable)
Err:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::18). – connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::24). – connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::23). – connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::15). – connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (91.189.91.39), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.142), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.152), connection timed out
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
W: Failed to fetch http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu/dists/focal/InReleaseCannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1562::26). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1562::29). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1360:8001::36). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1360:8001::35). – connect (101: Network is unreachable) Could not connect to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (91.189.91.121), connection timed out Could not connect to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (91.189.88.245), connection timed out Could not connect to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (91.189.91.122), connection timed out Could not connect to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (91.189.88.246), connection timed out
W: Failed to fetch http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu/dists/focal-updates/InReleaseCannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1562::26). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1562::29). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1360:8001::36). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1360:8001::35). – connect (101: Network is unreachable)
W: Failed to fetch http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu/dists/focal-backports/InReleaseCannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1562::26). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1562::29). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1360:8001::36). – connect (101: Network is unreachable) Cannot initiate the connection to ap-tokyo-1-ad-1.clouds.archive.ubuntu.com:80 (2001:67c:1360:8001::35). – connect (101: Network is unreachable)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/focal-security/InReleaseCannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::18). – connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::24). – connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::23). – connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::15). – connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (91.189.91.39), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.142), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.152), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
suantong 大佬有话说 :
agt的话,不错误都不行
Trojan. 大佬有话说 :
agt update当然错误了,不错误才有鬼:L
Qwe7 大佬有话说 :
apt
talway 大佬有话说 :
suantong 大佬有话说 : 2021-12-22 22:16
agt的话,不错误都不行
改好了拼写错误
talway 大佬有话说 :
Qwe7 大佬有话说 : 2021-12-22 22:22
apt
改了,输入错误
你看下
caddy 大佬有话说 :
眼花,居然直接帖文字,帖个图方便点,
某次更新没正确退出,试下K掉apt进程
周星辰 大佬有话说 :
ubuntu把机子自带的防火墙关了:
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -F
sudo apt-get purge netfilter-persistent
talway 大佬有话说 :
周星辰 大佬有话说 : 2021-12-22 22:33
ubuntu把机子自带的防火墙关了:
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
试试,不行
周星辰 大佬有话说 :
talway 大佬有话说 : 2021-12-22 22:48
试试,不行
没道理啊,先在面板把防火墙把端口放行,然后把自带的防火墙应该就没问题了,不是arm就删了重开吧