Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'us.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