Here I ask this question since 12.04 Beta 2 is usable and this question would come up sooner then later. After issuing the standard
sudo add-apt-repository ppa:matthaeus123/mrw-gimp-svn
sudo apt-get update
I get the following errors.
W: Failed to fetch http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu/dists/precise/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu/dists/precise/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Is there any way to get around this. Excluding compiling from source as it usually introduces even more multilevel errors.
If you cannot wait, according to this: http://www.gimp.org/downloads/ you should download and install from source: ftp://ftp.gimp.org/pub/gimp/v2.7/
The simple answer is - install the stable 2.8 instead! Fortunatelly it also made gimp plugin registry (with the famous save for web plugin) easy to install.
Via http://www.webupd8.org/ :
GIMP 2.8 stable installation
If you're upgrading from an older GIMP version please visit the link and pay attention to the 'dist-upgrade' command http://www.webupd8.org/2012/05/gimp-28-stable-finally-available-for.html (also if you want to revert to GIMP 2.6.x)
If you're just installing GIMP for the first time on your current system install:
GIMP Plugin Registry for GIMP 2.8 installation
http://www.webupd8.org/2012/05/install-gimp-plugin-registry-for-gimp.html
Looking at that PPA's website on launchpad...packages are not available for Precise yet. If you insist on installing Gimp 2.7 using that PPA (and you can, it may be messy but it is reversible), you could edit that repository in your software sources to point to
oneiric
instead ofprecise
(just change the codename inDistribution
). You do risk encountering some dependency issues (in which case I'd recommend removing the PPA and not continuing with the install). This is generally safe to do with a handful of repositories such as GetDeb, PlayDeb and Oracle VirtualBox, but Gimp does have a few more dependencies in the official repositories, so although this is highly discouraged, you can do it at your own risk and there's a good chance you won't have any issues with it.The ppa's 2.7.5 would be fine in 12.04 if the source entries where edited as in the answer by titaniumtux, other than the fact one package is broken
The reason the current builds won't work is because there was an error in the libgimp control file that created an unsatisfiable dependency in the deb package. Once the error is corrected the ppa will be fine & likely would also get precise packages.
I did email the ppa owner almost a month ago, so far no re-builds
You can actually still use the ppa if desired, you'd only have to download the libgimp2.0_ package and thru various means 'unpack' it, fix the control file, re-package & install. Then gimp, ect. would install fine
If inclined then ask another question on how to do if you don't know.
For reference the 'bad' entry in the .deb's control is highlighted below, there is no libglib2.0, the correct name for the package is also in the depends -
libglib2.0-0
Depends: libc6 (>= 2.11), libcairo2 (>= 1.2.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.30.2), libgtk2.0-0 (>= 2.24.0), libpango1.0-0 (>= 1.22.0)
, libglib2.0 (>= 2.30.2)
Follow up on dougs answer - here's how I did it (warning, this might mess up your system and perhaps your life as well):
Install the oneiric ppa as described in the other answers.
In the following, replace xxx with your architecture.
Go to http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu/pool/main/g/gimp/?C=M;O=D and download libgimp and gimp debs for your architecture.
Extract the debs: right-click in nautilus, select "Extract here". It will create a nice subdir for you with the same name as the deb-file.
In libgimp:
Edit
DEBIAN/control
and remove, libglib2.0 (>= 2.30.2)
from theDepends:
section. You'll see libglib is listed twice. We wan't to get rid of the last one. Save the file.Now we want to create a new deb file with our change applied: Open a terminal and cd to the path where you downloaded and extracted the deb files. Run
then install the deb:
sudo dpkg -i libgimp2.0_2.7.5-2012020902~oo_xxx.deb
Next we install gimp-data from the ppa:
sudo apt-get install gimp-data
The gimp-package depends on a version of libpoppler that has been updated with Ubuntu 12.04. We will now brutally change the dependency. I do not know what the consequences of this will be. If the api has changed pdf-handling probably won't work.
In the terminal cd into the dir where the gimp deb was extracted to. Again edit the control file. This time, change libpoppler-glib6 to
libpoppler-glib8 (>= 0.18)
. Save the file and rebuild and install the deb as you did with libgimp.