You are here
Submitted by vanarie on Fri, 2009/07/24 - 20:16
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
Forum:
If you use a reliable nameserver you won't have to hardwire IPs
When you say you're installing Ubuntu...
Do you mean one of the Ubuntu based Turnkey Linux appliances? If not you're not in the right place... I suggest that you try the Ubuntu forums (or at least start a new forum thread in the 'general' section because it doesn't apply to this thread). TKL appliances don't have a desktop (they are server appliances).
If you do mean TKL then you need to supply a bit more info. perhaps post some screenshots of something.
Hardcoding IPs is a bad idea anyway...
Better to fix the actual problem (which is likely DNS resolution). As Liraz writes (2nd post in this thread) if you use a reliable DNS server, you shouldn't have these sort of issues anyway...
This is really old thread - we're no longer Ubuntu related
This is really old thread (back when TurnKey Linux was based on Ubuntu). We've since moved to a Debian base (~7 years ago) as IMO it has better security and stability.
Regardless, it sounds like you are having network issues of some sort. I'd recommend checking the network setup you are using for your VM and/or VirtualBox in general, plus the networking configuration of your host. Beyond that, your best bet would probably be to post somewhere where there are Ubuntu experts. E.g.:
Good luck.
Add new comment