Ubuntu sunucularda güncelleme esnasında aşağıdaki şekilde hata verebilmektedir.
Err:1 http://ro.archive.ubuntu.com/ubuntu xenial InRelease temporary failure resolving 'ro.archive.ubuntu.com' Err:2 http://ro.archive.ubuntu.com/ubuntu xenial-security InRelease temporary failure resolving 'ro.archive.ubuntu.com' Err:3 ... xenial-updates InRelease temporary failure resolving 'ro.archive.ubuntu.com' Err:4... xenial-backports InRelease temporary failure resolving 'ro.archive.ubuntu.com' Failed to fetch http://ro.archive.ubuntu.com/ubuntu xenial InRelease temporary failure resolving 'ro.archive.ubuntu.com' failed to fetch ....
Sorunun çözümü için ilk olarak root girişi yaptıktan sonra aşağıdaki komutu çalıştırıyoruz
echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolv.conf.d/base > /dev/null
Eğer yukarıdaki komut hata verirse aşağıdaki komutu uygulayabilirsiniz.
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
daha sonrasında aşağıdaki komutu çalıştırıyoruz
sudo service resolvconf restart
sonrasında güncelleme komutunu çalıştırdığınızda sorunsuz olarak çalıştığını göreceksiniz
sudo apt-get update


