Unable to install Apache

Hi guys - long time listener, first time caller…

I've tried unsuccessfully to set up a server using both StackScripts and following the guide. I have no issues with introducing myself as a complete n00b, so please be aware! However, it's costing me money to keep trying so it's time to ask for help :roll:

I've been following the http://library.linode.com guide and it goes well up until installing Apache.

I set up my hosts file:

127.0.0.1       localhost.localdomain   localhost
176.58.120.62   robhadfield.robhadfield.co.uk   robhadfield

Then I removed the fe00 ip6... lines that were in there, was that the right thing to do? I'm following the guide exactly…

After setting that up I used the commmand: sudo apt-get install apache2 to install Apache - after asking for permission it then came back with errors:

Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main apache2.2-bin 2.2.14-5ubuntu8.4
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ lucid-security/main apache2.2-bin 2.2.14-5ubuntu8.4
  404  Not Found [IP: 91.189.92.184 80]
Err http://security.ubuntu.com/ubuntu/ lucid-security/main apache2-utils 2.2.14-5ubuntu8.4
  404  Not Found [IP: 91.189.92.184 80]
Err http://security.ubuntu.com/ubuntu/ lucid-security/main apache2.2-common 2.2.14-5ubuntu8.4
  404  Not Found [IP: 91.189.92.184 80]
Err http://security.ubuntu.com/ubuntu/ lucid-security/main apache2-mpm-worker 2.2.14-5ubuntu8.4
  404  Not Found [IP: 91.189.92.184 80]
Err http://security.ubuntu.com/ubuntu/ lucid-security/main apache2 2.2.14-5ubuntu8.4
  404  Not Found [IP: 91.189.92.184 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/a/apache2/apache2.2-bin_2.2.14-5ubuntu8.4_i386.deb  404  Not Found [IP: 91.189.92.184 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-utils_2.2.14-5ubuntu8.4_i386.deb  404  Not Found [IP: 91.189.92.184 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/a/apache2/apache2.2-common_2.2.14-5ubuntu8.4_i386.deb  404  Not Found [IP: 91.189.92.184 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-mpm-worker_2.2.14-5ubuntu8.4_i386.deb  404  Not Found [IP: 91.189.92.184 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/a/apache2/apache2_2.2.14-5ubuntu8.4_i386.deb  404  Not Found [IP: 91.189.92.184 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I'm running a Linode512 with Ubuntu 10.04 LTS Profile.

Any help apprecisted!

Thanks

Rob

2 Replies

It seems you need to update apt-get sources. Run "sudo apt-get update" and try to install apache after that.

Well that was easy… Much appreciated drpks!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct