2007/9/23, Carlos E. R. <[EMAIL PROTECTED]>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> The Sunday 2007-09-23 at 19:51 -0300, Juan Erbes wrote:
>
> > > rpm --rebuilddb  [as root]
> > >
> >
> > Yes, I make it many times a day, but it not resolves the problem. The
> > rebuilddb does not remove the references to the old packages do'nt
> > present in the system (upgraded many times).
> > For example now I has rebuilding the rpmdb, and it terminated with:
> >
> > rpmdb: page 851: illegal page type or format
> > rpmdb: PANIC: Argumento inválido
> > error: db4 error(-30977) from dbcursor->c_get: DB_RUNRECOVERY: Fatal
> > error, run database recovery
> > rpmdb: PANIC: fatal region error detected; run recovery
> > error: db4 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error,
> > run database recovery
> > rpmdb: PANIC: fatal region error detected; run recovery
> > error: db4 error(-30977) from dbenv->close: DB_RUNRECOVERY: Fatal
> > error, run database recovery
>
> I had a similar problem time ago, reported in bugzilla 225630. There was a
> database problem upstream, outside of the rpm code, which I don't know if
> was even investigated or solved.
>
> What I did in the end was finding at what package the rpm command crashed,
> then I forced removal of the package which install made rpm crash and
> reinstalled it again, to force the database to clear.
>

I will use a frontend to edit the db. I need to upgrade more than 1200
packages, and the fail appear with many of the packages.

Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to