Не удается разрешить ‘us.archive.ubuntu.com ‘ при использовании команды ‘обновить’ в Ubuntu

#ubuntu-18.04

#ubuntu-18.04

Вопрос:

Когда я использую команду «sudo apt-get update», я получаю следующие ошибки:

    Err:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
     Could not resolve 'us.archive.ubuntu.com'
   Err:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
     Could not resolve 'us.archive.ubuntu.com'
   Err:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
     Could not resolve 'security.ubuntu.com'
   Err:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
     Could not resolve 'us.archive.ubuntu.com'
   Reading package lists... Done
   W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic      /InRelease  Could not resolve 'us.archive.ubuntu.com'
   W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  Could not resolve 'us.archive.ubuntu.com'
   W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease  Could not resolve 'us.archive.ubuntu.com'
   W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease  Could not resolve 'security.ubuntu.com'
   W: Some index files failed to download. They have been ignored, or old ones used instead.
  

Не могли бы вы, пожалуйста, помочь мне решить это?

Ответ №1:

проверьте свой /etc/resovl.conf и отправьте результат

Комментарии:

1. параметры сервера имен 127.0.0.53 edns0 ~ ~ ~ ~ ~ «/etc/resolv.conf» 18 строк, 715 символов

2. добавить сервер имен 8.8.8.8