С корневым доступом я редактирую /etc/resolv.conf
добавить nameserver 8.8.8.8
. сохранить файл дает мне
"/etc/resolv.conf" E166: Can't open linked file for writing
У Вас есть идея? Я хочу отредактировать resolv.conf
потому что склонный - добираются, обновление не работает.
РЕДАКТИРОВАНИЕ я использую 18.04 ОС LTS.
Err:1 http://ir.archive.ubuntu.com/ubuntu bionic InRelease
Could not resolve 'ir.archive.ubuntu.com'
Err:2 http://ir.archive.ubuntu.com/ubuntu bionic-updates InRelease
Could not resolve 'ir.archive.ubuntu.com'
Err:3 http://ir.archive.ubuntu.com/ubuntu bionic-backports InRelease
Could not resolve 'ir.archive.ubuntu.com'
Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Could not resolve 'security.ubuntu.com'
Err:5 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Could not resolve 'ppa.launchpad.net'
Reading package lists... Done
W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not resolve 'ir.archive.ubuntu.com'
W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Could not resolve 'ir.archive.ubuntu.com'
W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Could not resolve 'ir.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/dists/bionic/InRelease Could not resolve 'ppa.launchpad.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Я сбросил систему и вход в систему графически. Я не знаю, почему, но это разрешило проблему. Я не отредактировал resolve.conf
больше.