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

Sat Aug 20 17:21:50 UTC 2005
David Campbell <decampbell1 at comcast.net>

how can I force an upgrade to a newer kernel... I am on 2.6.9-5.0.3.EL but
it is showing that2.6.9-11.EL is available... I get the message that I
should reboot to test, but it never shows up in my boot list. The only
instance available is 2.6.9-5.0.3.EL
Thanks

Dave
-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org]On
Behalf Of Pasi Pirhonen
Sent: Saturday, August 20, 2005 12:16 PM
To: CentOS mailing list
Subject: Re: [CentOS] RE: trying to upgrade from Centos 4.0 to current
--repair RPM database


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/
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos