2007/9/23, Patrick Shanahan <[EMAIL PROTECTED]>:
> * Juan Erbes <[EMAIL PROTECTED]> [09-23-07 09:57]:
> > How can I edit the rpmdb to remove the references to all the packages
> > that are not installed. In the rpmdb appear as installed about 4
> > different versions from the same package.
>
> man rpm
>   search for rebuilddb
>
> 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


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

Reply via email to