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]



the --initdb and then --rebuilddb solved all of the problem except the
kernel issue...

-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx]On
Behalf Of Bryan J. Smith
Sent: Saturday, August 20, 2005 3:29 PM
To: CentOS mailing list
Subject: Re:  RE: trying to upgrade from Centos 4.0 to current
--repair RPM database


On Sat, 2005-08-20 at 19:15 +0300, Pasi Pirhonen wrote:
> 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.

Last time I checked --initdb just creates an empty database.  --
rebuilddb creates an empty database and re-populates it.  You can run
the latter after former.  In fact, I typically had to do that back with
early RPM 4.0.

Furthermore, RPM 4 can get RPM database info from outside the database.
Remember, the db is just an index.  The RPM information is stored
outside of it too.


--
Bryan J. Smith     b.j.smith@xxxxxxxx     http://thebs413.blogspot.com
----------------------------------------------------------------------
The best things in life are NOT free - which is why life is easiest if
you save all the bills until you can share them with the perfect woman

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[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