首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我无法更新ubuntu18.04服务器

我无法更新ubuntu18.04服务器
EN

Ask Ubuntu用户
提问于 2020-05-08 18:42:28
回答 1查看 143关注 0票数 0

我有问题要更新我的ubuntu18.04服务器时,我试图这样做,我得到以下错误:

代码语言:javascript
复制
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.
EN

回答 1

Ask Ubuntu用户

发布于 2020-05-08 19:34:07

让我介绍一下三个基本的故障排除步骤,这些步骤将解决大多数问题:

  1. Check (调制解调器/路由器打开,适配器关闭(wifi)等等)
  2. 检查您的连接(检查电缆:它们是否正确地插入,尝试重新定位,它们是否在正确的位置,等等)我们中的一些人会在此之后添加以检查键盘哪一侧出现问题:P
  3. 然后再试着深入研究配置、软件等。

通过网络故障排除,基本思想是

  1. 试着打开你的调制解调器/路由器。

示例A:ping 192.168.0.1 (不管网关的IP是什么)

  1. 如果成功,请尝试ping一个已知的IP (示例1.1.1.1或8.8.8.8)

示例B:ping 1.1.1.1 (或您所知道的任何服务器通常都在运行,(和回复))

  1. 如果你成功了,试着点击一个网站(google.com)

示例C:ping google.com (或您通常知道的任何网站都会关闭并回复)

你基本上是在努力走出网络,因为如果你连你的网关都不能打开,问题就在你的设备内部或者你的设备之间。但是,如果您可以访问IP之外的名称,而不是名称,那么您的问题是DNS (将名称解析为IP名称)。

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

https://askubuntu.com/questions/1237177

复制
相关文章

相似问题

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