LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-15-2005, 03:03 AM   #1
jarkvarma
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
Unable to uninstall and reinstall RPM


Hi all,


I am a bit new to linux environment. I already installed yahoo messenger in fedora and now I want to upgrade it. With my ignorance initially I didnt uninstall. I just removed some of the directories which i know related to the RPM. After wards when I try to upgrade with the latest rpm I am getting the below problem. I tried all most of the options of the RPM. I am getting the below errors. I dont know how to proceed further. Please help me in solving my problem.

The log is :


[root@linux varma]# rpm -e ymessenger
error: rpmdbNextIterator: skipping h# 1463 blob size(3164): BAD, 8 + 16 * il(64) + dl(2980)

[root@linux varma]# rpm -aq ymessenger
error: rpmdbNextIterator: skipping h# 1463 blob size(3164): BAD, 8 + 16 * il(64) + dl(2980)

[root@linux varma]# rpm -qa ymessenger
error: rpmdbNextIterator: skipping h# 1463 blob size(3164): BAD, 8 + 16 * il(64) + dl(2980)

[root@linux varma]# rpm -U rh7.ymessenger-1.0.4-1.i386.rpm
error: rpmdbNextIterator: skipping h# 1463 blob size(3164): BAD, 8 + 16 * il(64) + dl(2980)
error: rpmdbNextIterator: skipping h# 1463 blob size(3164): BAD, 8 + 16 * il(64) + dl(2980)
error: rpmdbNextIterator: skipping h# 1463 blob size(3164): BAD, 8 + 16 * il(64) + dl(2980)
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdb: damaged header #1463 retrieved -- skipping.
error: rpmdbNextIterator: skipping h# 1463 blob size(3164): BAD, 8 + 16 * il(64) + dl(2980)
[root@linux varma]#


please suggest me to solve the above problem and how to reinstall the rpm.

With best regards and advanced thanks
Varma
 
Old 02-15-2005, 05:51 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Did you try doing a install of the rpm?

rpm -ivh ymessenger.rpm

Those error messages look wierd to me. Any chance the rpm is damaged?
 
Old 02-15-2005, 05:59 AM   #3
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 296

Rep: Reputation: 31
Take a look at this
http://www.rpm.org/hintskinks/repairdb/

BACKUP ORIGINAL FIRST.

Have you tried rebuilding your rpm database?

Try rm -f /var/lib/rpm/__db* to remove it first then

rpm -vv --rebuilddb

to rebuild it.
 
Old 02-17-2005, 06:42 PM   #4
jarkvarma
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Hi friends,

Thanks for the help. I have rebuild the RPM Database accordingly said above and it took lot of time to rebuild. I could able to uninstall and install the RPM again.

The links given above are useful, Thanks for it.

Once Thanks my friends. Have a nice time take care of you

With best regards,
Varma.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pkgtool .......... uninstall --->reinstall justaguynsrq Slackware 13 11-22-2004 04:59 PM
Newb: How do I uninstall then reinstall Mozilla? Baix Slackware 5 06-22-2004 10:26 PM
Uninstall/Reinstall Woody vsj Linux - Newbie 8 02-11-2004 06:34 AM
uninstall - reinstall eddcrossman Linux - Newbie 7 02-02-2003 10:24 AM
How to uninstall and reinstall Redhat 7.1? jane207 Linux - Software 1 11-02-2001 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration