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

Frank Murphy frankly3d at gmail.com
Sat Sep 9 11:01:01 IST 2006


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]#
-------------------------------------------------------------------------------------------------
[root at localhost frank]# apt-get remove librsvg2-2.14.2-1
error: rpmdb: damaged header #912 retrieved -- skipping.
error: rpmdb: damaged header #912 retrieved -- skipping.
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package librsvg2-2.14.2-1

-------------------------------------------------------------------------------------------------
[root at localhost frank]# yum erase librsvg2-2.14.2-1
Loading "installonlyn" plugin
Loading "fedorakmod" plugin
Setting up Remove Process
error: rpmdbNextIterator: skipping h#     912 tag[36]: BAD, tag 235410944
type 28442 offset 235411200 count 29466
error: rpmdbNextIterator: skipping h#     912 tag[36]: BAD, tag 235410944
type 28442 offset 235411200 count 29466
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package librsvg2.i386 0:2.14.2-1 set to be erased
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Removing:
 librsvg2                i386       2.14.2-1         installed         418 k

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       0 Package(s)
Remove       1 Package(s)
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Removing  : librsvg2                     ######################### [1/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

Removed: librsvg2.i386 0:2.14.2-1
Complete!
[root at localhost frank]# rpm -q librsvg2
librsvg2-2.14.2-1
librsvg2-2.14.4-1.fc5.1

--------------------------------------------------------------------------------------

Frank



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