0

I can't install GIMP, it says something about unmet dependencies.

The following packages have unmet dependencies:

gimp: Depends: python-gtk2 (>= 2.8.0) but 2.24.0-2 is to be installed
      Depends: libc6 (>= 2.11) but 2.13-20ubuntu5.1 is to be installed
      Depends: libfontconfig1 (>= 2.8.0) but 2.8.0-3ubuntu2 is to be installed
      Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but 2.24.0-1ubuntu1 is to be installed
      Depends: libglib2.0-0 (>= 2.31.2) but 2.30.0-0ubuntu4 is to be installed
      Depends: libgs9 (>= 8.61.dfsg.1) but 9.04~dfsg-0ubuntu11.5 is to be installed
      Depends: libgtk2.0-0 (>= 2.24.0) but 2.24.6-0ubuntu5 is to be installed
      Depends: libgudev-1.0-0 (>= 147) but 1:173-0ubuntu4.2 is to be installed
      Depends: libjpeg62 (>= 6b1) but 6b1-1ubuntu2 is to be installed
      Depends: librsvg2-2 (>= 2.14.4) but 2.34.1-2 is to be installed
      Depends: zlib1g (>= 1:1.1.4) but 1:1.2.3.4.dfsg-3ubuntu3 is to be installed
Parto
  • 15,647

2 Answers2

2

As gimp is a package that can be found in the Ubuntu repositories (i.e. you're not trying to install any non-supported application or beta version, etc), i suggest you try to solve the dependency issue instead of bypassing it.

Therefore, i would do the following:

  • Look for and note all the Depends: <package name> statements in your error message (like python-gtk2, libc6, libfontconfig1, etc). These are the packages that have dependency issues.
  • For each of these packages, do a sudo apt-get remove <package name> and then a sudo apt-get install gimp. Do this recursively. Each time you uninstall one package, then try to install gimp.

You should notice that the list of dependency issues should be smaller (that's not always the case, but let's keep it simple for now).
At some point - probably not all packages will have to be uninstalled - the installer should proceed with the installation of gimp as well as with all the necessary dependent packages at their 'correct' versions.

Give it a try and let us know how it went ;)

Pavlos G.
  • 8,954
-1

Open your terminal and use these commands please:

sudo add-apt-repository ppa:jmou/ppa
sudo apt-get update
sudo apt-get install gimp

If that doesn't work

sudo add-apt-repository ppa:gnome3-team/gnome3
sudo add-apt-repository ppa:ricotz/testing
sudo apt-get update
sudo apt-get upgrade -f
sudo apt-get install gimp

may also help.