Cannot do apt-get install/update

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
sidipi
New to forums
New to forums
Posts: 3
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Feb 18, 2016 4:43 pm

Cannot do apt-get install/update

Post by sidipi »

Hello,

I tried doing

Code: Select all

apt-get install/upgrade/update
from my Ubuntu intance but it doesn't successfully run due to 404 error or cannot resolve "host server" errors.

I tried restarting networking service and it did not work. I checked the DNS at

Code: Select all

etc/resolv.conf
and I have both these listed:

Code: Select all

nameserver 8.8.8.8
nameserver 8.8.4.4

Code: Select all

ping google.com
and

Code: Select all

ping us.archive.ubuntu.com
work just fine and I get a response. So internet is working but there is an issue with networking.

I tried freshly reinstalling OS but that also did not solve the issue. Any help would be appreciated on this matter. Thanks in advance.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Cannot do apt-get install/update

Post by soja »

What are the contents of /etc/apt/sources.list?

Can you copy and paste the exact output of apt-get update?
Not a NFO employee
sidipi
New to forums
New to forums
Posts: 3
Joined: Thu Feb 18, 2016 4:43 pm

Re: Cannot do apt-get install/update

Post by sidipi »

soja wrote:What are the contents of /etc/apt/sources.list?

Can you copy and paste the exact output of apt-get update?
Contents of /etc/apt/sources.list : http://pastebin.com/dk13zYuN

output of apt-get update : http://pastebin.com/2M4YXfhR
User avatar
Edge100x
Founder
Founder
Posts: 12945
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Cannot do apt-get install/update

Post by Edge100x »

It looks like you're trying to use 14.10, which is no longer a supported release. You should try 14.04 (which is an LTS) or 15.04+.
sidipi
New to forums
New to forums
Posts: 3
Joined: Thu Feb 18, 2016 4:43 pm

Re: Cannot do apt-get install/update

Post by sidipi »

Edge100x wrote:It looks like you're trying to use 14.10, which is no longer a supported release. You should try 14.04 (which is an LTS) or 15.04+.
that seems to have done the trick! Thanks a lot.
Post Reply