帮助陷入困境,不知道该往哪儿走

帮助陷入困境,不知道该往哪儿走
  Temporary failure resolving 'us.archive.ubuntu.com'
Err:3 http://us.archive.ubuntu.com/ubuntu focal-backports InReleas
    Temporary faliure resolving 'us.archivve.ubuntu.com'
Err: http://us.archive.ubuntu.com/ubuntu focal-proposed InRelease 
    Temporary failure resolving 'us.archive.ubuntu.com'
Err:5 http://secruity.ubuntu.com/ubuntu focal-security InRelease
    Temporary failure resolving 'security.ubuntu.com'
Err: 6 http://archive.canonical.com/ubuntu focal InRelease
    Temporary failure resolving 'archive.canonical.com'
Reading packages lists... Done 
W: Failed to fetch http://us.archive.ubuntu/dists/focal/InRelease Temporary 
   failure resolving 'us.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/focal-updates/  
   InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archiveubuntu.com/ubuntu/dists/focal-backports/ 
   InRelease Temporary failure resolving 'us.archive.ubuntu.com"
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/focal/InRelease 
   Temporary failure resolving 'archive.canonical.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/focal- 
   security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones 
   used instead.

答案1

请查看指南以了解如何正确提出问题,以便获得良好的答案。从输出来看,您运行 apt update,并且您使用的存储库无法通过当前网络配置解析。这可能是因为您没有互联网连接(有线、wifi)或您连接的路由器没有互联网连接。另一个原因可能是您的 DNS 配置。

看起来至少 us.ubuntu.com 不是现有存储库,或者至少目前不可用。尝试更改您的存储库。

以下是一些指示: 如何将 Ubuntu Server 中的镜像从区域镜像更改为主镜像?

如果这不能解决问题,请发布您正在尝试的操作,您是否可以在浏览器中访问 google.com,以及使用工作镜像时获得的结果。

祝你好运!

相关内容