Hi guys, I would just like to know if anyone knows why apt-get install and apt-get update aren’t working on my ubuntu vps? It fails when it get to the connecting to archive.ubuntu.com part.
Thanks in advance, Francis
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Try editing /etc/resolv.conf <br> <br>If empty - enter <br>nameserver 8.8.8.8 <br>nameserver 8.8.4.4 <br> <br>and try again
Hi francis! What version of ubuntu are you running, and is it 32 or 64 bit? You can look in /etc/lsb-release and run the command “uname -a” if you’re not sure. <br> <br>Also, if you have 4.2.2.2 as a nameserver in your /etc/resolv.conf, change that to 8.8.4.4 <br> <br>
Thanks for your replies! Sorry for not answering your question Will but I tried Alex’s idea first and everything seems to be working now. Thanks guys! :D
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.