我在运行 sudo apt-get update 时收到此错误,提示无法获取

我在运行 sudo apt-get update 时收到此错误,提示无法获取

使用sudo apt-get update

[sudo] avinash 的密码:

输出 是否配置猫/等/网络/接口猫/etc/resolv.conf命令

输出sudo lshw -C 网络

输出路由ip 规则网际协议连接系统配置

输出 lspci-nnk

输出消息发送| grep 网

输出systemd-resolve --status

输出ping -c 5 8.8.8.8

输出地铁 8.8.8.8

我得到:

Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
  Could not resolve 'security.ubuntu.com'
Err:2 http://packages.microsoft.com/repos/vscode stable InRelease              
  Could not resolve 'packages.microsoft.com'
Err:3 http://dl.google.com/linux/chrome/deb stable InRelease                   
  Could not resolve 'dl.google.com'
Err:4 http://in.archive.ubuntu.com/ubuntu bionic InRelease            
  Could not resolve 'in.archive.ubuntu.com'
Err:5 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease
  Could not resolve 'in.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic/InRelease  Could not resolve 'in.archive.ubuntu.com'
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  Could not resolve 'in.archive.ubuntu.com'
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease  Could not resolve 'in.archive.ubuntu.com'

我应该怎样修复此问题?

相关内容