1

Apt-get update Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/cosmic/InRelease Temporary failure resolving 'us.archive.ubuntu.com'

Hello, I have just installed Ubuntu 18.10 version into my vmware workstation. When i was updating the apt, to install the packages,it throws an error like failed to fetch with some link followed by "temporary failure resolving 'us.archive.ubuntu.com'. How should i resolve this error?

DNS Ubuntu APT Add a comment
david
asked Apr 06 2019
edited Apr 06 2019

Answer

1

First Add a temporary known DNS server into your system then run apt update.

echo "Nameserver 8.8.8.8 " | sudo tee /etc/resolv.conf > /dev/null

Comments
linuxhelp
Apr 29 2024
This Error causes for two reasons;<br /> If you have set your own DNS Server:<br /> Either your ISP isnt currently forwarding its DNS server to its own servers or to its external servers . So you can employ this DNS for temporary purpose.<br /> If you use Public DNS :<br /> You havent Configure DNS into your system properly.
lucky
Apr 29 2024
What is the cause of this error?
Add a comment
linuxhelp
asked Apr 06 2019
edited Apr 08 2019
Post your Answer