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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxx - http://iki.fi/upi/

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux