Forum archive
Fix for apt-get: Could not resolve 'archive.ubuntu.com'
Recently APT-GET started having problems resolving archive.ubuntu.com to install packages.
The fix is easy:
1) Add this to the end of file /etc/hosts
91.189.88.46 archive.ubuntu.com
91.189.88.46 security.ubuntu.com
2) Restart network from the command line:
#/etc/init.d/networking restart