[WBEL-users] Possible dependencie problem

pedro cañadilla pedro cañadilla
Thu, 30 Dec 2004 00:42:29 +0100


Hi all,

While I was installing the last updates, I got an error message
concerned with the librsvg2 package:

[root@localhost root]# yum -C -y update
Obtaining the information from file(s) header of the server(s) 
Server:·White Box Enterprise Linux 3.0 - i386 - Base
Server:·White Box Enterprise Linux 3.0 - i386 - Released Updates
Finding updates packages
Downloading the needed headers
Resolving·dependencies
Dependencies resolved
I will do the following:
[update:·gtk2 2.2.4-12.i386]
[update:·gtk+ 1:1.2.10-31.i386]
[update:·metacity 2.4.55-7.12.i386]
[update:·aspell 2:0.33.7.1-25.1.i386]
[update:·dev 3.3.12.3-1.i386]
[update:·libxslt 1.0.33-5.i386]
[update:·kdebase 6:3.1.3-5.5.i386]
[update:·dhclient 7:3.0.1-10_EL3.i386]
[update:·krb5-libs 1.2.7-31.i386]
[updater:·librsvg2 2.2.3-6.i386]
[update:·pam 0.75-62.i386]
Downloading Packages
Running a test transaction:
Test·transaction·complete,·¡success!
gtk2 100 % done 1/22
pam 100 % done 2/22
kdebase 100 % done 3/22
metacity 100 % done 4/22
librsvg2 100 % done 5/22
/usr/bin/update-gdk-pixbuf-loaders: line 27:
/etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders: The file or
folder doesn't exists
error: %post(librsvg2-2.2.3-6) scriptlet failed, exit status 1
krb5-libs 100 % done 6/22
libxslt 100 % done 7/22
aspell 100 % done 8/22
gtk+ 100 % done 9/22
dev 100 % done 10/22
dhclient 100 % done 11/22
Completing·update·for·gtk2··-·12/22
Completing·update·for gtk+··-·13/22
Completing·update·for·metacity··-·14/22
Completing·update·for·aspell··-·15/22
Completing·update·for·dev··-·16/22
Completing·update·for·libxslt··-·17/22
Completing·update·for·kdebase··-·18/22
Completing·update·for·dhclient··-·19/22
Completing·update·for·krb5-libs··-·20/22
Completing·update·for·pam··-·21/22
Update(s):· gtk2 2.2.4-12.i386 gtk+ 1:1.2.10-31.i386 metacity
2.4.55-7.12.i386 aspell 2:0.33.7.1-25.1.i386 dev 3.3.12.3-1.i386
libxslt 1.0.33-5.i386 kdebase 6:3.1.3-5.5.i386 dhclient
7:3.0.1-10_EL3.i386 krb5-libs 1.2.7-31.i386 librsvg2 2.2.3-6.i386 pam
0.75-62.i386
Transaction(s)·Complete(s)
[root@localhost root]# rpm -Va --nofiles
Unsatisfied dependencies for gtk2-2.2.4-12: librsvg2 < 2.2.3-3
Unsatisfied dependencies for gtk2-2.2.4-12: librsvg2 < 2.2.3-3
Unsatisfied dependencies for gtk2-2.2.4-12: librsvg2 < 2.2.3-3

I had a problem with the librsvg2 update and it has caused an
incosistence with the rpm database dependency control!! :-|

After I was looking for the the problem (rpm -q --scripts librsvg2,
checking the arch of the gtk2 package (i386), etc...), I did a
symbolic link:

[root@localhost packages]# cd /etc/gtk-2.0/
[root@localhost gtk-2.0]# ln -s i686-redhat-linux-gnu/ i386-redhat-linux-gnu

and later, I ran the following command:

[root@localhost gtk-2.0]# rpm -Uvh --force
/var/cache/yum/updates-released/packages/librsvg2-2.2.3-6.i386.rpm

Finally, after that command, the rpm -Va --nofiles is correct.

I don't know if this is a general problem or only a problem of mine,
but I hope that if someone has this problem, this workaround wil fix
it till a more professional help comes ;-) (thanks to all the people
that makes WhiteBox possible and help us with our problems).

Many thanks in advance for your help.
Best Regards,
Pedro Cañadilla.