W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease 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