SCIENTIFIC-LINUX-USERS Archives

April 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Franks <[log in to unmask]>
Reply To:
John Franks <[log in to unmask]>
Date:
Sat, 2 Apr 2005 08:15:35 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (53 lines)
On Sat, 2005-04-02 at 12:29 +1000, Michael Mansour wrote:

> 
> When I try to apply the gtk2 update on SL 3.0.3 using yum, I get the 
> following problem:
> 
> Resolving dependencies
> ..conflict between gtk2 and librsvg2
> 
> Any ideas why this would result?
> 

Yes.  This affects machines upgraded from 3.03 to 3.04.  An error
message was generated by librsvg2, way back when, during the upgrade.  

See
http://listserv.fnal.gov/scripts/wa.exe?A2=ind0501&L=SCIENTIFIC-LINUX-
DEVEL&P=R898&I=-3
for a little information about this.  More is below.

At the time the error seemed innocuous, now it has come back to bite us.
The problem seems to be that the upgrade from  librsvg2-2.2.3-2 to
librsvg2-2.2.3-6 had a post install script fail and
so both versions are left installed.  I think this failure is caused
because the script tries to run 
/etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders
which is now
/etc/gtk-2.0/i686-redhat-linux-gnu/gdk-pixbuf.loaders

Having both versions of librsvg2 installed is innocuous until you try to
install the latest gtk2 which conflicts with something in the older
librsvg2.

So what to do?  I have this on about fifty computers.  Here is what I am
doing -- it's not pretty, but it seems to work.

rpm -q librsvg2  (check you really have two versions installed)

rpm -e librsvg2-2.2.3-2
      (remove the old one -- this generates errors, but works)

rpm -Uvh --force librsvg2-2.2.3-6
       (Actually we removed some docs we want to keep so re-install
        the new version.  This generates errors too, but seems ok.)

rpm -V librsvg2      (looks clean)

yum update  (This should work now.)

Of course YMMV and others may have a better solution.

John Franks

ATOM RSS1 RSS2