apt-get update:获取失败;无法连接到 Launchpad

apt-get update:获取失败;无法连接到 Launchpad

大约 3 小时前,当我输入sudo apt-get update我的存储库更新时一切正常,但现在我收到以下消息:

Err http://ppa.launchpad.net natty InRelease                               

Err http://ppa.launchpad.net natty InRelease         

Err http://ppa.launchpad.net natty InRelease

Err http://ppa.launchpad.net natty InRelease

Err http://ppa.launchpad.net natty InRelease

Err http://ppa.launchpad.net natty InRelease

Err http://ppa.launchpad.net natty InRelease

Err http://ppa.launchpad.net natty InRelease

Err http://ppa.launchpad.net natty InRelease

Err http://ppa.launchpad.net natty InRelease

Err http://ppa.launchpad.net natty InRelease

Err http://ppa.launchpad.net natty InRelease

Err http://ppa.launchpad.net natty Release.gpg
 Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net natty Release.gpg       
 Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net natty Release.gpg       
 Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net natty Release.gpg       
 Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net natty Release.gpg       
 Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net natty Release.gpg       
 Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net natty Release.gpg
 Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net natty Release.gpg
 Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net natty Release.gpg
 Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net natty Release.gpg
 Unable to connect to ppa.launchpad.net:http:
Err http://ppa.launchpad.net natty Release.gpg
 Unable to connect to ppa.launchpad.net:http: 
Err http://ppa.launchpad.net natty Release.gpg
 Unable to connect to ppa.launchpad.net:http:
Reading package lists... Done
W: Failed to fetch http://ppa.launchpad.net/adilson/experimental/ubuntu/dists/natty     /InRelease  

W: Failed to fetch http://ppa.launchpad.net/alexeftimie/ppa/ubuntu/dists/natty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/am-monkeyd/nautilus-elementary-ppa/ubuntu/dists/natty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/chromium-daily/dev/ubuntu/dists/natty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/elementaryart/elementarydesktop/ubuntu/dists/natty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/natty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu/dists/natty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/dists/natty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu/dists/natty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/tiheum/equinox/ubuntu/dists/natty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/natty/InRelease  

W: Failed to fetch http://ppa.launchpad.net/zeitgeist/ppa/ubuntu/dists/natty/InRelease   

W: Failed to fetch http://ppa.launchpad.net/adilson/experimental/ubuntu/dists/natty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/alexeftimie/ppa/ubuntu/dists/natty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/am-monkeyd/nautilus-elementary-ppa/ubuntu/dists/natty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/chromium-daily/dev/ubuntu/dists/natty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/elementaryart/elementarydesktop/ubuntu/dists/natty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/ferramroberto/java/ubuntu/dists/natty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu/dists/natty /Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/dists/natty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu/dists/natty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/tiheum/equinox/ubuntu/dists/natty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/natty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Failed to fetch http://ppa.launchpad.net/zeitgeist/ppa/ubuntu/dists/natty/Release.gpg  Unable to connect to ppa.launchpad.net:http:

W: Some index files failed to download. They have been ignored, or old ones used instead.

答案1

读完你的帖子后,我注意到了几乎相同的事情。可能是他们的服务器暂时瘫痪了。

答案2

我遇到了同样的问题,我通过在 /etc/resolv.conf 上手动设置我的 ISP 的 DNS 地址解决了这个问题(这可能是为什么我从 dhcp 将 DNS 设置成 192.168.0.254 的另一个问题)Rafael,你可能遇到同样的问题吗?

答案3

Ubuntu。啊。你要找的答案就在某处。这有帮助吗?

sudo apt update --option Acquire::Retries=100 \
                --option Acquire::http::Timeout="60"

相关内容