[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rawhide report: 20080715 changes



On Tue, 15 Jul 2008, Tom London wrote:

On Tue, Jul 15, 2008 at 3:37 AM, Rawhide <rawhide fedoraproject org> wrote:
rpm-4.5.90-0.git8426.7
----------------------
* Mon Jul 14 18:00:00 2008 Panu Matilainen <pmatilai redhat com>
- 4.5.90-0.git8426.7
- fix mono dependency extraction (adjust for libmagic string change)



After installing this, rpm seems very disfunctional:

[root localhost packages]# rpm -q kernel
rpmdb: Program version 4.5 doesn't match environment version 0.128
error: db4 error(-30972) from dbenv->open: DB_VERSION_MISMATCH:
Database environment version mismatch
error: cannot open Packages index using db3 -  (-30972)
error: cannot open Packages database in /var/lib/rpm
rpmdb: Program version 4.5 doesn't match environment version 0.128
error: db4 error(-30972) from dbenv->open: DB_VERSION_MISMATCH:
Database environment version mismatch
error: cannot open Packages database in /var/lib/rpm
package kernel is not installed
[root localhost packages]#

Same for "rpm --rebuilddb":

[root localhost Downloads]# rpm --rebuilddb
rpmdb: Program version 4.5 doesn't match environment version 0.128
error: db4 error(-30972) from dbenv->open: DB_VERSION_MISMATCH:
Database environment version mismatch
error: cannot open Packages index using db3 -  (-30972)
[root localhost Downloads]#

Didn't see anything strange during the update.

Any thoughts on how to recover?

Nothing to recover, just clean up the BDB environment from previous version:
# rm -f /var/lib/rpm/__db*

That was supposed to happen automatically in the update (that's why it wasn't mentioned in the heads-up mail) but there's a thinko in the logic so you get to do this manually for now.

	- Panu -


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]