I am trying to install Image Magick.
$ sudo apt-get install php5-imagick The following packages have unmet dependencies. php5-imagick: Depends: libfontconfig1 (>= 2.8.0) but 2.6.0-3 is to be installed Depends: libjpeg62 (>= 6b1) but 6b-14 is to be installed Depends: libltdl7 (>= 2.2.6b) but it is not installable Depends: libmagickcore3 (>= 8:18.104.22.168) but it is not installable Depends: libmagickwand3 (>= 8:22.214.171.124) but it is not installable
But then when I try to install the missing packages I get this:
$ sudo apt-get install libfontconfig1 libjpeg62 libltdl7 libmagickcore3 libmagickwand3 Reading package lists... Done Building dependency tree Reading state information... Done libfontconfig1 is already the newest version. libfontconfig1 set to manually installed. libjpeg62 is already the newest version. libjpeg62 set to manually installed. Package libltdl7 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package libltdl7 has no installation candidate
How do I resolve these problems?