After I did an upgrade gimp was automatically removed and then I couldn’t install it.
Every time I tried it showed me the error below..
It took me a while to find where is the problem and fix it, so here is what I did.
This is the error that showed when I tried to install gimp:
$ sudo apt-get install gimp Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: gimp : Depends: libglib2.0-0 (>= 2.31.2) but 2.30.0-0ubuntu4 is to be installed E: Unable to correct problems, you have held broken packages.
Then I did a:
$ apt-cache policy gimp gimp: Installed: (none) Candidate: 2.7.5-2012020901~oo Version table: 2.7.5-2012020901~oo 0 500 http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu/ oneiric/main amd64 Packages 2.7.4-2011102201~oo 0 100 /var/lib/dpkg/status 2.6.11-2ubuntu4 0 500 http://al.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
After that I saw that the problem stands at my PPA, (I actually added that months ago just to test some new features, I dont really remember)
What I did is, I removed my PPA from matthaeus123
(I just edited the files and commented the lines)
$ sudo nano /etc/apt/sources.list.d/matthaeus123-mrw-gimp-svn-oneiric.list # deb http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu oneiric main # deb-src http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu oneiric main $ sudo nano /etc/apt/sources.list.d/matthaeus123-mrw-gimp-svn-oneiric.list.save # deb http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu oneiric main # deb-src http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu oneiric main
Then I did a fresh install of gimp:
$ sudo apt-get remove gimp* $ sudo ap-get update $ sudo apt-get install gimp $ sudo apt-get clean
It may happen that you get:
gimp:error while loading shared libraries: libbabl-0.0.so.0: cannot open shared object file: No such file or directory
It may be due to libgegl* and libbabl*
(so you just follow the commands below)
$ sudo apt-get update $ sudo apt-get purge gimp libgegl* libbabl* $ sudo apt-get install gimp $ sudo apt-get clean
I hope I helped anyone else that had/has this problem.
no working
At least it worked for me…
Thank you very much, just what I was looking for 🙂
Thanks a lot, worked perfectly.
THANK YOU. This worked for me. You are awesome.
But it’s installing gimp 2.6.11-5u3~ppa1, which is an ancient version in Ubuntu official repositories. It does not have single window mode and other stuff.
Same for me.
Thanks, this solved my problem! 🙂
Thanks mate!! Awesome from NZ
Worked great and fixed the bug with Wacom Bamboo tablet jumping off the screen.
thank you
Helped a lot!! Thanks a lot!!
worked perfectly. using lubuntu (11.10) with FVWM.
thanx, it works
thank you very much (11.10)!
thanks a lot ……….finally it worked for me…………