failed to fetch http //us.archive.ubuntu.com/ubuntu/dists/bionic/inrelease 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