全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 1112|回复: 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的话,不错误都不行
3#
发表于 2021-12-22 22:17:03 | 只看该作者
agt update  当然错误了,不错误才有鬼
5#
 楼主| 发表于 2021-12-22 22:28:57 | 只看该作者
suantong 发表于 2021-12-22 22:16
agt的话,不错误都不行

改好了拼写错误
6#
 楼主| 发表于 2021-12-22 22:30:04 | 只看该作者

改了,输入错误

你看下
7#
发表于 2021-12-22 22:33:18 | 只看该作者
眼花,居然直接帖文字,帖个图方便点,

某次更新没正确退出,试下K掉apt进程
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
9#
 楼主| 发表于 2021-12-22 22:48:01 | 只看该作者
周星辰 发表于 2021-12-22 22:33
ubuntu把机子自带的防火墙关了:
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT

试试,不行
10#
发表于 2021-12-22 22:52:04 | 只看该作者

没道理啊,先在面板把防火墙把端口放行,然后把自带的防火墙应该就没问题了,不是arm就删了重开吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-4-20 00:50 , Processed in 0.087398 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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