Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在出现错误时更新apt get“;无法解析';us.archive.ubuntu.com'&引用;出现在ubuntu linux中?_Linux_Ubuntu_Updates_Apt Get - Fatal编程技术网

如何在出现错误时更新apt get“;无法解析';us.archive.ubuntu.com'&引用;出现在ubuntu linux中?

如何在出现错误时更新apt get“;无法解析';us.archive.ubuntu.com'&引用;出现在ubuntu linux中?,linux,ubuntu,updates,apt-get,Linux,Ubuntu,Updates,Apt Get,使用Linux 3.2.0-32-generic Ubuntu x86_64当我尝试使用“apt get update”进行更新时,我收到了多行请求美国Ubuntu存档的错误消息。上面写着“无法解析‘us.archive.ubuntu.com’”。我能做什么?通过编辑/etc/resolv.conf删除名称服务器并替换为我首选的名称服务器,我能够连接到存储库并使用“apt get update”命令进行更新。“nameserver 8.8.8.8”是一个可行的示例条目,它使用google名称服务

使用Linux 3.2.0-32-generic Ubuntu x86_64当我尝试使用“apt get update”进行更新时,我收到了多行请求美国Ubuntu存档的错误消息。上面写着“无法解析‘us.archive.ubuntu.com’”。我能做什么?

通过编辑/etc/resolv.conf删除名称服务器并替换为我首选的名称服务器,我能够连接到存储库并使用“apt get update”命令进行更新。“nameserver 8.8.8.8”是一个可行的示例条目,它使用google名称服务器。保存文件后,所有进程都正常工作,不会引发错误