首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >sudo apt更新在Linux鹦鹉上不起作用。

sudo apt更新在Linux鹦鹉上不起作用。
EN

Unix & Linux用户
提问于 2019-02-06 04:30:17
回答 1查看 1.3K关注 0票数 -2

运行sudo apt-get update返回:

代码语言:javascript
复制
Some index files failed to download. They have been ignored, or old ones used instead.

整个终端输出如下:

代码语言:javascript
复制
Err:1 https://download.sublimetext.com apt/stable/ InRelease
  Something wicked happened resolving 'download.sublimetext.com:https' (-5 - No address associated with hostname)
Err:2 http://dl.google.com/linux/chrome/deb stable InRelease                   
  Something wicked happened resolving 'dl.google.com:http' (-5 - No address associated with hostname)
Err:3 http://deb.parrotsec.org/parrot parrot InRelease                         
  Something wicked happened resolving 'deb.parrotsec.org:http' (-5 - No address associated with hostname)
Err:4 http://packages.microsoft.com/repos/vscode stable InRelease              
  Something wicked happened resolving 'packages.microsoft.com:http' (-5 - No address associated with hostname)
Reading package lists... Done                                                  
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease  Something wicked happened resolving 'dl.google.com:http' (-5 - No address associated with hostname)
W: Failed to fetch http://deb.parrotsec.org/parrot/dists/parrot/InRelease  Something wicked happened resolving 'deb.parrotsec.org:http' (-5 - No address associated with hostname)
W: Failed to fetch https://download.sublimetext.com/apt/stable/InRelease  Something wicked happened resolving 'download.sublimetext.com:https' (-5 - No address associated with hostname)
W: Failed to fetch http://packages.microsoft.com/repos/vscode/dists/stable/InRelease  Something wicked happened resolving 'packages.microsoft.com:http' (-5 - No address associated with hostname)
W: Some index files failed to download. They have been ignored, or old ones used instead.
EN

回答 1

Unix & Linux用户

发布于 2019-02-06 06:55:08

您似乎很难将主机名解析为IP地址。可能您的DNS配置是错误的。

,你是怎么做那个配置的?

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

https://unix.stackexchange.com/questions/498957

复制
相关文章

相似问题

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