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 <Enter> 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?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
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!
I have the same issue on the repo too. <br> <br>Err http://mirrors.digitalocean.com/ubuntu/ precise-updates/main php5-common amd64 5.3.10-1ubuntu3.11 <br> 404 Not Found [IP: 192.241.164.26 80] <br>Err http://mirrors.digitalocean.com/ubuntu/ precise-security/main php5-common amd64 5.3.10-1ubuntu3.11 <br> 404 Not Found [IP: 192.241.164.26 80] <br>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] <br>E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? <br> <br>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.
<blockquote>E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?</blockquote>Run <pre>sudo apt-get update</pre>