Ubuntu – Unable to install Imagemagick on Ubuntu 12.10

apt-getimagemagickUbuntu

I've got a virtual machine running on Ubuntu 12.10. When I try to run

apt-get install imagemagick

I get several 404 errors:

Err http://archive.ubuntu.com/ubuntu/ quantal-updates/main libcups2 amd64 1.6.1-0ubuntu11.5
  404  Not Found [IP: 91.189.92.200 80]
Err http://security.ubuntu.com/ubuntu/ quantal-security/main libcupsimage2 amd64 1.6.1-0ubuntu11.5
  404  Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ quantal-security/main libtiff5 amd64 4.0.2-1ubuntu2.2
  404  Not Found [IP: 91.189.91.15 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/cups/libcups2_1.6.1-0ubuntu11.5_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/cups/libcupsimage2_1.6.1-0ubuntu11.5_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/cups/libtiff5_4.0.2-1ubuntu2.2_amd64.deb  404  Not Found [IP: 91.189.91.15 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I tried to run apt-get with --fix-missing but that didn't solve the 404 errors.

What am I doing wrong? And how can I fix these 404's?

Best Answer

The files that apt-get is asking are not present in that repository.
If you check with a browser in http://security.ubuntu.com/ubuntu/pool/main/c/cups/ (e.g.) you do not find libcups2_1.6.1-0ubuntu11.5_amd64.deb.

Try to do

sudo apt-get update  

and after

sudo apt-get --fix-missing
Related Question