LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] How can I Safely Update\Remove a Duplicate Package - Without beaking something

[ILUG] How can I Safely Update\Remove a Duplicate Package - Without beaking something

Seán O Sullivan seanos at seanos.net
Sat Sep 9 13:54:48 IST 2006


Frank Murphy wrote:
> Gnome on FC5  su from terminal
>
> This is a clean re-install.
>
> Cannot use "yum update"  because continuous error as soom as  get to: Is
> this ok [y/N]: y
> http://www.frankly3d.com/wip/yum-update.png
>
> "apt-get update"  will not update because of  duplicates.
>
> example and removal atempts below.
>
> [root at localhost frank]$ rpm -q librsvg2
> librsvg2-2.14.2-1
> librsvg2-2.14.4-1.fc5.1
> [root at localhost frank]# rpm -e librsvg2-2.14.2-1
> /usr/bin/update-gdk-pixbuf-loaders: line 27: /etc/gtk-2.0
> /i386-redhat-linux-gnu/gdk-pixbuf.loaders: No such file or 
> directoryerror:
> %postun(librsvg2-2.14.2-1.i386) scriptlet failed, exit status 1
> [root at localhost frank]#
Check out line 27 in /usr/bin/update-gdk-pixbuf-loaders
See why the file it's pointing at is missing.
maybe it was moved?

Try use yum to locate the file : yum provides /location/of/file

If this doesn't work,
I'd be inclined to get the spec file for the rpm (download the src.rpm & 
install, giving you the spec file in /usr/src/redhat/SPECS/)
Check what is in the %posun section, and then if safe run :
rpm -e --nopostun librsvg2-2.14.2-1

This disables %pre, %post, %preun & %postun scriptlets.


Regards,

Sean



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell