Jump to content

can't up2date ? rpms database broken ?


Recommended Posts

if you have problems running up2date, and you are advised to clear your rpm database heres how

 

as root

 

 

 

[root@localhost root]#  rm -f /var/lib/rpm/__db*

 

then

 

 

 

[root@localhost root]# rpm -vv --rebuilddb

 

once done, try running up2date again

 

cheers

 

anyweb

Link to post
Share on other sites
  • 1 year later...
  • 1 year later...
I thought it recommended to start using the yum system as opposed to up2date?

 

 

apt-get and yum are superior replacements for RPM by handling all the pre-requisites for you (one command does it all) but on some older linuxes, apt-get and yum do not work very well. This is fine for debian (apt) and centos/fedora/redhatenterprise (yum) but older distros may have issues...

 

It's a great recommendation, and worked on a RedHat9 box that I was about to rebuild. Probably still should rebuild it, but the need isn't as high now that I fixed the RPM database!!

 

Thanks for the tip!!

 

--zepcom :P

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...