我有问题要更新我的ubuntu18.04服务器时,我试图这样做,我得到以下错误:
apt-get update
Err:6 http://ppa.launchpad.net/certbot/certbot/ppa/ubuntu bionic InRelease
Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out
Err:7 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Unable to connect to ppa.launchpad.net:http:
Err:8 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Unable to connect to ppa.launchpad.net:http:
Err:9 https://download.webmin.com/download/repository sarge InRelease
Could not connect to download.webmin.com:443 (108.60.199.109), connection timed out
Reading package lists... Done
W: Failed to fetch https://download.webmin.com/download/repository/dists/sarge/InRelease Could not connect to download.webmin.com:443 (108.60.199.109), connection timed out
W: Failed to fetch http://ppa.launchpad.net/certbot/certbot/ppa/ubuntu/dists/bionic/InRelease Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out
W: Failed to fetch http://ppa.launchpad.net/certbot/certbot/ubuntu/dists/bionic/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/ondrej/php/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.发布于 2020-05-08 19:34:07
让我介绍一下三个基本的故障排除步骤,这些步骤将解决大多数问题:
通过网络故障排除,基本思想是
示例A:ping 192.168.0.1 (不管网关的IP是什么)
示例B:ping 1.1.1.1 (或您所知道的任何服务器通常都在运行,(和回复))
示例C:ping google.com (或您通常知道的任何网站都会关闭并回复)
你基本上是在努力走出网络,因为如果你连你的网关都不能打开,问题就在你的设备内部或者你的设备之间。但是,如果您可以访问IP之外的名称,而不是名称,那么您的问题是DNS (将名称解析为IP名称)。
https://askubuntu.com/questions/1237177
复制相似问题