找回密码
 立即注册
CeraNetworksBGVM服务器主机交流IP归属甄别会员请立即修改密码
查看: 108|回复: 9

甲骨文无法apt update 提示错误

[复制链接]

15

主题

19

回帖

159

积分

注册会员

积分
159
发表于 2021-12-22 22:14:42 | 显示全部楼层 |阅读模式
本帖最后由 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/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
W: Failed to fetch http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu/dists/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)
W: Failed to fetch http://ap-tokyo-1-ad-1.clouds.archive.ubuntu.com/ubuntu/dists/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)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/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
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.

回复

使用道具 举报

270

主题

2314

回帖

8205

积分

论坛元老

积分
8205
发表于 2021-12-22 22:16:42 | 显示全部楼层
agt的话,不错误都不行
回复

使用道具 举报

52

主题

693

回帖

1906

积分

金牌会员

积分
1906
发表于 2021-12-22 22:17:03 | 显示全部楼层
agt update  当然错误了,不错误才有鬼

回复

使用道具 举报

1

主题

11

回帖

49

积分

新手上路

积分
49
发表于 2021-12-22 22:22:28 | 显示全部楼层
apt
回复

使用道具 举报

15

主题

19

回帖

159

积分

注册会员

积分
159
 楼主| 发表于 2021-12-22 22:28:57 | 显示全部楼层

suantong 发表于 2021-12-22 22:16

agt的话,不错误都不行

改好了拼写错误
回复

使用道具 举报

15

主题

19

回帖

159

积分

注册会员

积分
159
 楼主| 发表于 2021-12-22 22:16:00 | 显示全部楼层

Qwe7 发表于 2021-12-22 22:22

apt

改了,输入错误

你看下
回复

使用道具 举报

74

主题

565

回帖

1750

积分

金牌会员

积分
1750
发表于 2021-12-22 22:30:04 | 显示全部楼层
眼花,居然直接帖文字,帖个图方便点,

某次更新没正确退出,试下K掉apt进程
回复

使用道具 举报

42

主题

1972

回帖

5016

积分

论坛元老

积分
5016
发表于 2021-12-22 22:22:00 | 显示全部楼层
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
回复

使用道具 举报

15

主题

19

回帖

159

积分

注册会员

积分
159
 楼主| 发表于 2021-12-22 22:33:18 | 显示全部楼层

周星辰 发表于 2021-12-22 22:33

ubuntu把机子自带的防火墙关了:
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT

试试,不行
回复

使用道具 举报

42

主题

1972

回帖

5016

积分

论坛元老

积分
5016
发表于 2021-12-22 22:33:42 | 显示全部楼层

talway 发表于 2021-12-22 22:48

试试,不行

没道理啊,先在面板把防火墙把端口放行,然后把自带的防火墙应该就没问题了,不是arm就删了重开吧
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|HS2V主机综合交流论坛

GMT+8, 2024-5-15 07:30 , Processed in 0.107364 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表