全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1126|回复: 14
打印 上一主题 下一主题

甲骨文无法apt update 提示错误

[复制链接]
跳转到指定楼层
1#
发表于 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.

推荐
发表于 2021-12-22 22:16:42 来自手机 | 只看该作者
agt的话,不错误都不行
15#
 楼主| 发表于 2021-12-22 23:21:54 | 只看该作者
Limu 发表于 2021-12-22 23:13
我觉得如果不是你瞎折腾了Ubuntu出的问题的话就是你的 VCN 路由表没配置好。 ...

哥你说的对,确实是的
检查一遍 确实是的

https://51.ruyo.net/17105.html
14#
发表于 2021-12-22 23:13:57 | 只看该作者
我觉得如果不是你瞎折腾了Ubuntu出的问题的话就是你的 VCN 路由表没配置好。
13#
发表于 2021-12-22 23:12:13 | 只看该作者

防火墙关了吗 面板和vps里面的
12#
 楼主| 发表于 2021-12-22 23:07:30 | 只看该作者
百度网络 发表于 2021-12-22 23:03
apt update -y && apt dist-upgrade -y

试过了,不行
11#
发表于 2021-12-22 23:03:34 | 只看该作者
apt update -y && apt dist-upgrade -y  
10#
发表于 2021-12-22 22:52:04 | 只看该作者

没道理啊,先在面板把防火墙把端口放行,然后把自带的防火墙应该就没问题了,不是arm就删了重开吧
9#
 楼主| 发表于 2021-12-22 22:48:01 | 只看该作者
周星辰 发表于 2021-12-22 22:33
ubuntu把机子自带的防火墙关了:
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT

试试,不行
8#
发表于 2021-12-22 22:33:42 | 只看该作者
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
7#
发表于 2021-12-22 22:33:18 | 只看该作者
眼花,居然直接帖文字,帖个图方便点,

某次更新没正确退出,试下K掉apt进程
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-3 08:57 , Processed in 0.064974 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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