Problem Installing ImageMagick Ubuntu 14.04

September 29, 2014 18.6k views

Hi Team,

I am trying to install ImageMagick On My droplet. By Running

sudo apt-get install imagemagick

But its failing and giving following errors.

Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgs9-common all 9.10~dfsg-0ubuntu10.1
  404  Not Found [IP: 91.189.92.201 80]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main libgs9 amd64 9.10~dfsg-0ubuntu10.1
  404  Not Found [IP: 91.189.92.201 80]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main ghostscript amd64 9.10~dfsg-0ubuntu10.1
  404  Not Found [IP: 91.189.92.201 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/ghostscript/libgs9-common_9.10~dfsg-0ubuntu10.1_all.deb  404  Not Found [IP: 91.189.92.201 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/ghostscript/libgs9_9.10~dfsg-0ubuntu10.1_amd64.deb  404  Not Found [IP: 91.189.92.201 80]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/ghostscript/ghostscript_9.10~dfsg-0ubuntu10.1_amd64.deb  404  Not Found [IP: 91.189.92.201 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Can you please look into this?

3 comments
3 Answers

It looks like there has been an update to these packages since the last time you refreshed the package cache. Note the version number:

$ apt-cache policy ghostscript
ghostscript:
  Installed: 9.10~dfsg-0ubuntu10.2
  Candidate: 9.10~dfsg-0ubuntu10.2
  Version table:
 *** 9.10~dfsg-0ubuntu10.2 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     9.10~dfsg-0ubuntu10 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Running sudo apt-get update first should resolve the issue.

Hi,

which version of Ubutnu are you using? If you don't know, you can check it with the following command:

lsb_release -a

I think you are using an old Ubuntu release wich has reached the end-of-life point. You can find this date for your OS on the Ubuntu Wiki.

  • Hi ,

    here's the result of lsb_release -a

    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 14.04 LTS
    Release:        14.04
    Codename:       trusty
    
    

    Ubuntu doesnt seems to be old!

  • Have you tried to run apt-get update before the installation?

running

sudo apt-get update

Fixed the issue!

Have another answer? Share your knowledge.