I'm trying to get Samba from apt on my Ubuntu Server 17.04 machine. When running
sudo apt install samba I get the error "E: Unable to locate package samba".
sudo apt-get update but that won't work either, I get the error: Could not resolve 'se.archive.ubuntu.com'.
The server doesn't seem to connect to security.ubuntu.com either.
By searching online I've found multiple threads about this and I've followed them up by adding the domains to my /etc/hosts file and checking my DNS settings, which are set to Google's 184.108.40.206 and 220.127.116.11 servers.