Error 404 during NGINX install on ubuntu 12.04

February 13, 2014 5.4k views
I'm following the instructions here: https://www.digitalocean.com/community/articles/how-to-install-nginx-on-ubuntu-12-04-lts-precise-pangolin After pressing Y to complete step 1, I get the following error: Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libgd2-noxpm libjpeg-turbo8 libjpeg8 libxslt1.1 nginx-common nginx-full Suggested packages: libgd-tools The following NEW packages will be installed: libgd2-noxpm libjpeg-turbo8 libjpeg8 libxslt1.1 nginx nginx-common nginx-full 0 upgraded, 7 newly installed, 0 to remove and 2 not upgraded. Need to get 514 kB/883 kB of archives. After this operation, 2,691 kB of additional disk space will be used. Do you want to continue [Y/n]? Y Err http://mirrors.digitalocean.com/ubuntu/ precise-updates/main libjpeg-turbo8 amd64 1.1.90+svn733-0ubuntu4.1 404 Not Found [IP: 95.85.0.50 80] Err http://mirrors.digitalocean.com/ubuntu/ precise-security/universe nginx-common all 1.1.19-1ubuntu0.2 404 Not Found [IP: 95.85.0.50 80] Err http://mirrors.digitalocean.com/ubuntu/ precise-security/universe nginx-full amd64 1.1.19-1ubuntu0.2 404 Not Found [IP: 95.85.0.50 80] Err http://mirrors.digitalocean.com/ubuntu/ precise-security/universe nginx all 1.1.19-1ubuntu0.2 404 Not Found [IP: 95.85.0.50 80] Failed to fetch http://mirrors.digitalocean.com/ubuntu/pool/main/libj/libjpeg-turbo/libjpeg-turbo8_1.1.90+svn733-0ubuntu4.1_amd64.deb 404 Not Found [IP: 95.85.0.50 80] Failed to fetch http://mirrors.digitalocean.com/ubuntu/pool/universe/n/nginx/nginx-common_1.1.19-1ubuntu0.2_all.deb 404 Not Found [IP: 95.85.0.50 80] Failed to fetch http://mirrors.digitalocean.com/ubuntu/pool/universe/n/nginx/nginx-full_1.1.19-1ubuntu0.2_amd64.deb 404 Not Found [IP: 95.85.0.50 80] Failed to fetch http://mirrors.digitalocean.com/ubuntu/pool/universe/n/nginx/nginx_1.1.19-1ubuntu0.2_all.deb 404 Not Found [IP: 95.85.0.50 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
3 Answers
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Run
sudo apt-get update
I have the same issue on the repo too.

Err http://mirrors.digitalocean.com/ubuntu/ precise-updates/main php5-common amd64 5.3.10-1ubuntu3.11
404 Not Found [IP: 192.241.164.26 80]
Err http://mirrors.digitalocean.com/ubuntu/ precise-security/main php5-common amd64 5.3.10-1ubuntu3.11
404 Not Found [IP: 192.241.164.26 80]
Failed to fetch http://mirrors.digitalocean.com/ubuntu/pool/main/p/php5/php5-common_5.3.10-1ubuntu3.11_amd64.deb 404 Not Found [IP: 192.241.164.26 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I already tried apt-get update as well as using the --fix-missing option but still no luck. It seems the php5-common is not on the that repo list.
Are you sure running apt-get update didn't fix it? If so, can you please open up a support ticket so we can look into it. Thanks!
Have another answer? Share your knowledge.