Bug#536519: Another db error

2009-07-15 Thread Michal Čihař
Hi

Dne Wed, 15 Jul 2009 14:18:47 +0200
Francesco Paolo Lovergine  napsal(a):

> Package: rpm
> Version: 4.7.0-8
> Severity: serious
> 
> Setting up rpm (4.7.0-8) ...
> rpmdb: Program version 4.7 doesn't match environment version 0.128
> error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database 
> environment version mismatch

From which rpm version did you upgrade?

I'm starting to feel that only sane way to upgrade rpm database is to
delete it and rebuild using --rebuulddb :-(.

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Bug#536519: Another db error

2009-07-15 Thread Francesco Paolo Lovergine
Package: rpm
Version: 4.7.0-8
Severity: serious

Setting up rpm (4.7.0-8) ...
rpmdb: Program version 4.7 doesn't match environment version 0.128
error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database 
environment version mismatch
error: cannot open Packages index using db3 -  (-30971)
dpkg: error processing rpm (--configure):
 subprocess installed post-installation script returned error exit status 254
Errors were encountered while processing:
 rpm
E: Sub-process /usr/bin/dpkg returned an error code (1)

Tried rebuild:

rpm --rebuilddb
rpmdb: Program version 4.7 doesn't match environment version 0.128
errore: errore(4) db-30971 da dbenv->open: DB_VERSION_MISMATCH: Database 
environment version mismatch
errore: impossibile aprire l'indice Packages utilizando db3 -  (-30971)

Tried recover:

db4.6_recover -h /var/lib/rpm/
db4.6_recover: Program version 4.6 doesn't match environment version 0.128


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rpm depends on:
ii  libc6  2.9-20GNU C Library: Shared libraries
ii  libelf10.141-2   library to read and write ELF file
ii  libnss3-1d 3.12.3-1  Network Security Service libraries
ii  libpopt0   1.14-4lib for parsing cmdline parameters
ii  librpm04.7.0-8   RPM shared library
ii  librpmbuild0   4.7.0-8   RPM build shared library
ii  librpmio0  4.7.0-8   RPM IO shared library
ii  perl   5.10.0-24 Larry Wall's Practical Extraction 
ii  zlib1g 1:1.2.3.3.dfsg-14 compression library - runtime

rpm recommends no packages.

Versions of packages rpm suggests:
ii  alien 8.78   convert and install rpm and other 
ii  elfutils  0.141-2collection of utilities to handle 
ii  rpm-i18n  4.7.0-8localization and localized man pag

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org