LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 02-03-2011, 01:43 PM   #1
cmnorton
Member
 
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?

Thanks.
cmn
 
Old 02-03-2011, 02:02 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux
Posts: 2,805
Blog Entries: 1

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
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.

Code:
yum clean all

yum check-update

rpm --rebuilddb -vvvvvv

Last edited by szboardstretcher; 02-03-2011 at 02:07 PM.
 
1 members found this post helpful.
Old 02-04-2011, 08:51 AM   #3
cmnorton
Member
 
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.
 
  


Reply

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


All times are GMT -5. The time now is 06:57 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration