[CentOS] RE: trying to upgrade from Centos 4.0 to current -- repair RPM database

Pasi Pirhonen upi at papat.org
Sat Aug 20 16:15:42 UTC 2005


Hi,


On Sat, Aug 20, 2005 at 10:03:17AM -0500, Bryan J. Smith wrote:

EMERGING NOTE
=============

> 
> Execute:  
>   # rm /var/lib/rpm __db.00?
>   # rpm --initdb


Oh please, don't do that :)

man page
========

'Use --initdb to create a new database, use --rebuilddb to rebuild the
database indices from the installed package headers.'

As in --initdb would efectively nuke all your bookkeeping about
installed RPMS.



-- 
Pasi Pirhonen - upi at iki.fi - http://iki.fi/upi/



More information about the CentOS mailing list