Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 02-03-2011, 02:43 PM   #1
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Resetting RHEL 5 WS rpm Database

My problem is I need a broad method to reset the rpm database on my
[almost] up-to-date RHEL 5 WS system.

I do not fiddle around with installing new things on this system or perform strange configurations.

A little over a week ago, I started encountering packages in conflict. I entered a RHEL help desk ticket that has been open for over a week. The person assigned the ticket is trying to clear one error at a time.

Once I remove the package in conflict, I get pending transactions; follow the instructions to clear those; and then get more conflicts. I'd like to reset everything without re-installing.

Is there a way?

Old 02-03-2011, 03:02 PM   #2
Senior Member
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,001

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
read the manual for an explanation of what these commands do (man yum, man rpm): basically they rebuild the indexes and clear any cached data.

yum clean all

yum check-update

rpm --rebuilddb -vvvvvv

Last edited by szboardstretcher; 02-03-2011 at 03:07 PM.
1 members found this post helpful.
Old 02-04-2011, 09:51 AM   #3
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Original Poster
Rep: Reputation: 35
You're better than Red Hat

Many thanks for the help. I got my system to update again.


rhel, rpm, ws

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
User database sync between RHEL and win2008sbs Airliner Linux - Server 1 03-11-2010 10:45 AM
RHEL 5: rpm --aid or rpmdb-redhat.rpm no longer supported mjcocat Linux - Enterprise 1 06-05-2008 09:41 PM
about rpm database sachin_malik Linux - General 1 02-21-2006 03:14 AM
RPM database, help! Thetargos Fedora 2 07-30-2004 06:47 PM
RH rpm database gfyspf Red Hat 1 09-17-2003 11:39 AM

All times are GMT -5. The time now is 04:37 AM.

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