Mailinglist Archive: opensuse-factory (824 mails)

< Previous Next >
Re: [opensuse-factory] How can I edit the rpmdb?
  • From: "Juan Erbes" <jerbes@xxxxxxxxx>
  • Date: Sun, 23 Sep 2007 19:51:52 -0300
  • Message-id: <61ec494a0709231551u6eba670as74fbd59848fa2566@xxxxxxxxxxxxxx>
2007/9/23, Patrick Shanahan <ptilopteri@xxxxxxxxx>:
> * Juan Erbes <jerbes@xxxxxxxxx> [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: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >