Um, what is actually used to rebuild the rpm DB ? Is the DB information
found somewhere else ?!

On Tue, Jul 29, 2008 at 4:55 PM, shrek-m gmx.de <[EMAIL PROTECTED]> wrote:

> Geoffrey schrieb:
> > A colleague of mine has apparently trashed his rpm database. Red Hat
> > EL 4. He was in the midst of a relatively major update, when up2sdate
> > crashed (he waits too long to update, but that's another story).  Now
> > when he does 'rpm -qa|wc -l' it returns 47, and we all know that's not
> > accurate.
> >
> > We've tried:
> >
> > rpm --rebuilddb
> > rpmdb --rebuilddb
> >
> > No joy.  At first we received this error:
> >
> > 'RPM error.  The message was:
> > Could not determine what version of Red Hat Linux you are running.
> > If you get this error, try running
> >     rpm --rebuilddb'
> >
> > We resolved this issue by reinstalling the rehat-release rpm.
> >
> > Now we are receiving this error:
> >
> > 'error: db4 error(-30988) from dbcursor->c_get: DB_PAGE_NOTFOUND:
> > Requested
> > page not found'
> >
> >
> > Any assistance would be greatly appreciated.
>
> iirc this happend sometimes under rhl 8.0 and rhl 9
> iirc you have to remove the files
>  /var/lib/rpm/__db.00*
> before you have success with `rpm --rebuilddb`
>
> --
> shrek-m
>
> _______________________________________________
> rhelv5-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rhelv5-list
>
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to