Installing latest version of GIMP in Debian Squeeze using repos and apt-getApr 12th, 2012 | By admin | Category: Linux / Freebsd
Alright so last night I did a ton of upgrades and when I went to open GIMP this morning I found that it wasn’t there. Awesome, the upgrades apparently removed it due to some unmet dependencies. Not to be unexpected as my Debian is a veritable mixture of stable debian, backports, one or two SID installs and a couple from source. Am I happy with the stability and performance I get out of Debian? Hell ya! Am I satisfied with the snails pace that updates trickle into my OS? Hell no! So I accept and pay the price for that and today was one of those days.
Of course after seeing that GIMP was missing I immediately tried to re-install it and was greeted with the following message:
The following packages have unmet dependencies:
gimp : Depends: python (< 2.6) but 2.6.6-3+squeeze6 is to be installed
E: Broken packages
Awesome, so my current gimp needed a version of python below what I had to install and I say to hell with that! After checking with synaptic I saw that the stable version of GIMP in my repos was 2.6 and the latest stable version on gimp.org is 2.75 with 2.8RC1 just being released so that told me that there clearly was a version of gimp out there built to run on a more updated version of python and clearly everyone else in the world was enjoying it but me.
So time to tell Debian to look elsewhere for GIMP and that required a new repo added to my sources.list file or maybe 2 for you depending on what you’ve been up to in the past.
The main one that you are going to need is the repository containing the lastest version of GIMP, obviously. So you need to add the following to your /etc/apt/sources.list file:
deb http://notesalexp.org/debian/squeeze/ squeeze main
and of course you’re going to need the key for it which you can install by typing the following:
wget -O – http://notesalexp.org/debian/alexp_key.asc | sudo apt-key add –
So, now you might be all set but then again you might not be because if you haven’t added the multimedia repo or the backports repo you’ll need to do that now as well. So check your sources.list and if the following lines aren’t in there already they will need to be:
deb http://www.debian-multimedia.org squeeze main non-freedeb http://backports.debian.org/debian-backports squeeze-backports main