LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Duplicate librsvg2 packages - removal causes scriplet failed - exit status 1 (https://www.linuxquestions.org/questions/fedora-35/duplicate-librsvg2-packages-removal-causes-scriplet-failed-exit-status-1-a-499824/)

trekk 11-08-2006 02:03 PM

Duplicate librsvg2 packages - removal causes scriplet failed - exit status 1
 
Was running Fedora Core 5, having issues with giftd req - would not find ltdl library. Libtools and related installed. When investigating the issue, I realized I had two librsvg2 packages installed. I've tried removing them via rpm, yum, and apt-get. All instances would give me "scriplet failed - exit status 1"

I was going to post yesterday concerning this issue and realized that Core 6 had been released. So, I though that it would clear it up by upgrading.

No dice. Not only is it still there, now I have a lot of FC5 packages installed too.

I ran apt-get to upgrade distro and it cleared up the erronious packages. But in upgrading the distro I still have:

/usr/bin/update-gdk-pixbuf-loaders: line 27: /etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders: No such file or directory
error: %postun(librsvg2-2.14.2-1.i386) scriptlet failed, exit status 1
/usr/bin/update-gdk-pixbuf-loaders: line 27: /etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders: No such file or directory
error: %postun(librsvg2-2.14.4-1.fc5.1.i386) scriptlet failed, exit status 1

Anybody have any ideas how to get rid of this... IT'S DRIVING ME NUTZ! :mad:

After the distro upgrade, now I just have:

W: There are multiple versions of "librsvg2" in your system.

This package won't be cleanly updated, unless you leave
only one version. To leave multiple versions installed,
you may remove that warning by setting the following
option in your configuration file:

RPM::Allow-Duplicated { "^librsvg2$"; };

To disable these warnings completely set:

RPM::Allow-Duplicated-Warning "false";

W: You may want to run apt-get update to correct these problems

.. resynchronization complete.

Upgrading all packages with command apt-get -y -f upgrade ..

Reading Package Lists...
Building Dependency Tree...
Correcting dependencies... Done
The following packages will be REMOVED:
librsvg2#2.14.2-1 (2.14.2-1)
librsvg2#2.14.4-1.fc5.1 (2.14.4-1.fc5.1)
0 upgraded, 0 newly installed, 2 removed and 0 not upgraded.
Need to get 0B of archives.
After unpacking 859kB disk space will be freed.
Committing changes...
Preparing packages for installation...
/usr/bin/update-gdk-pixbuf-loaders: line 27: /etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders: No such file or directory
error: %postun(librsvg2-2.14.4-1.fc5.1.i386) scriptlet failed, exit status 1
/usr/bin/update-gdk-pixbuf-loaders: line 27: /etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders: No such file or directory
error: %postun(librsvg2-2.14.2-1.i386) scriptlet failed, exit status 1
W: Some errors occurred while running transaction

Anything would be appriciated; but a fix would be more helpful :)
John

snecklifter 11-08-2006 06:13 PM

Hello there,

A bit brutish but you could try:

rpm -e --nodeps --allmatches --noscripts librsvg2

and this should remove both instances. You can then re-install with apt-get or yum.

Regards
Chris

trekk 11-08-2006 06:42 PM

Woot!
 
That did it... :)

thanx!


All times are GMT -5. The time now is 08:42 PM.