ubuntu server temporary failure resolving 'archive.ubuntu.com' code example
Example: emporary failure resolving
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
#this is temporary solution
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
#this is temporary solution