LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:59 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