首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >apt更新失败,因为它无法连接到ppa.launchpad.net

apt更新失败,因为它无法连接到ppa.launchpad.net
EN

Ask Ubuntu用户
提问于 2019-12-29 12:45:20
回答 2查看 17.3K关注 0票数 4

当我尝试使用apt更新更新时,我会得到以下错误。

代码语言:javascript
复制
Err:10 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease
Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out Could not   connect to ppa.launchpad.net:80 (2001:67c:1560:8008::15), connection timed out
Err:11 http://ppa.launchpad.net/js-reynaud/kicad-5.1/ubuntu bionic InRelease
Unable to connect to ppa.launchpad.net:http:
Err:12 http://ppa.launchpad.net/tista/plata-theme/ubuntu bionic InRelease
Unable to connect to ppa.launchpad.net:http:
Err:13 http://ppa.launchpad.net/ubuntubudgie/backports/ubuntu bionic InRelease
Unable to connect to ppa.launchpad.net:http:
Err:14 http://ppa.launchpad.net/zeal-developers/ppa/ubuntu bionic InRelease
Unable to connect to ppa.launchpad.net:http:
Fetched 7,502 B in 31s (238 B/s)
Reading package lists...
Building dependency tree...
Reading state information...
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: Failed to fetch http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu/dists/bionic/InRelease  Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out Could not connect to ppa.launchpad.net:80 (2001:67c:1560:8008::15), connection timed out
W: Failed to fetch http://ppa.launchpad.net/js-reynaud/kicad-5.1/ubuntu/dists/bionic/InRelease  Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/tista/plata-theme/ubuntu/dists/bionic/InRelease  
Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/ubuntubudgie/backports/ubuntu/dists/bionic/InRelease  Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/zeal-developers/ppa/ubuntu/dists/bionic/InRelease  Unable to connect to ppa.launchpad.net:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.

事情是,我可以访问这些链接从我的网页浏览器,所以它不应该是一个问题的服务器。

而且,我只在更新IPV4以查看它的IPV6问题时才尝试强迫它。另外,我已经尝试删除所有这些ppas,并再次添加它们。

EN

回答 2

Ask Ubuntu用户

回答已采纳

发布于 2019-12-31 19:11:45

好的,现在解决了,当我连接到我大学宿舍的网络时。可能是ISP或路由器的问题。

更新:

好的,我发现了这个问题,我想把它添加到这里的讨论中会很好,这样其他人可能会发现它有帮助。

问题是我的家庭网络调制解调器中没有启用ipv6。所以我去了调制解调器配置ip地址并启用了它,这个问题也在我的家里得到了解决。

你的ISP也可能不支持ipv6,印度的BSNL就是这种情况,所以也要注意这一点。

票数 10
EN

Ask Ubuntu用户

发布于 2021-07-16 13:56:47

当我体验到这一点(偶尔不会改变网络)时,我发现使用apt-get而不是apt是有效的。

票数 10
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1199285

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档