PDA

View Full Version : [kubuntu] hardy: gimp?



stephan0h
July 24th, 2008, 06:35 AM
Hello,

Upgraded from gutsy to hardy (8.04) - now gimp is broken.

First I wondered, why gimp was gone, then, when trying to reinstall the package seemed to be broken. Is this a known bug?

regards,
stephan

mbsullivan
July 24th, 2008, 06:41 AM
Gimp should work under Hardy (Note: I'm not running KUbuntu, so perhaps this doesn't hold for you, but I think it does). How is it broken (i.e. what's happening)?

What have you tried to reinstall, something like:


sudo aptitude reinstall gimp gimp-data libgimp2.0

??? And what was the error message?

Mike

stephan0h
July 25th, 2008, 11:08 PM
I have tried this one which led to some conflicts:

sudo apt-get install gimp

Die folgenden Pakete haben nichterfüllte Abhängigkeiten:
gimp: Hängt ab: libgimp2.0 (>= 2.4.6) aber 2.4.5-1ubuntu2 soll installiert werden
Hängt ab: libpango1.0-0 (>= 1.20.5) aber 1.20.1-1 soll installiert werden
E: Kaputte Pakete

... it's German but I think you can grasp the meaning.

Tried your command but also didn't work ...

thanks,
stephan

mbsullivan
July 25th, 2008, 11:32 PM
Hi stephan,

It looks like you have some dependencies there that are preventing you from installing gimp...

Try reinstalling libgimp2.0 and libpango1.0-0 with the Hardy versions:


sudo aptitude -t hardy reinstall libgimp2.0 libpang01.0-0 gimp

Also, post your /etc/apt/preferences file so that we can find out why these weren't updated properly?

Mike

stephan0h
July 25th, 2008, 11:46 PM
thanks, this worked.

Other than that I don't seem to have a /etc/apt/preferences file. should i have one?

thanks,
stephan

mbsullivan
July 26th, 2008, 04:47 AM
Hmmm... Must not be the problem, then. The /etc/apt/preferences file can be used for "apt-pinning", by which you can force certain packages to install under a release. I had thought that perhaps your default pin was set to still be Gutsy, and that's why not all of your libraries upgraded to Hardy.

If you want to play it safe, then just leave everything as it is. Otherwise, you could try and create an /etc/apt/preferences file like the following:


Package: *
Pin: release a=hardy
Pin-Priority: 500

Then do a:


sudo aptitude update; sudo aptitude upgrade

To (I think) bring all of your packages to their Hardy equivalents. Might break stuff, though!

Mike

Sef
July 26th, 2008, 05:02 AM
If you are using Kubuntu, then you want to use kdesu instead of sudo.

mbsullivan
July 26th, 2008, 05:21 AM
If you are using Kubuntu, then you want to use kdesu instead of sudo.

Only for graphical applications, really. Unless I'm mistaken, kdesu is more analogous to gksu rather than sudo. Sudo should work fine from the terminal for KDE users.

Mike