"rpmdb: Program version 4.8 doesn't match environment version 4.7" during 9.10 -> 10.04

Bug #542115 reported by Ævar Arnfjörð Bjarmason
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
rpm (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: rpm

I got this during an update to 10.04 beta1:

Setting up rpm (4.7.2-1lbuild1) ...
Trying rpm init...
rpmdb: Program version 4.8 doesn't match environment version 4.7
error: db4 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db3 - (-30971)
RPM failed to open database, cleaning it up...

It's obviously keeping some Berkeley DB file around that can't be read with the new bdb library in 10.04.

Related branches

CVE References

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.
setting to triaged due to the duplicate and the information you provided

Changed in rpm (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rpm - 4.8.1-5

---------------
rpm (4.8.1-5) unstable; urgency=low

  * Fix compilation on hurd and kfreebsd (Closes: #587366).

rpm (4.8.1-4) unstable; urgency=low

  * Package rpm-common needs to be arch:any because it's content is different
    for each platform (LP: #574647).
  * Tighten dependency on rpm-common.
  * Fix build failure on arm (Closes: #587173).

rpm (4.8.1-3) unstable; urgency=low

  * Upload to unstable as python 2.6 is there.
  * Remove build dependency on beecrypt, it is not used at all (was replaced
    by NSS some time ago).
  * Also libneon does not seem to be used anymore.
  * Add missing build dependency on pkg-config.

rpm (4.8.1-2) experimental; urgency=low

  * Build depend on autopoint.

rpm (4.8.1-1) experimental; urgency=low

  * New upstream release.
    - Fix vulnerability in removing setuid on moved files (Closes: #584257,
      CVE-2010-2059).
    - Safer parsing of spec file (CVE-2010-2197).
  * Build depend on python-all-dev (>= 2.6) and cleanup debian/rules to again
    use all supported versions (which will anyway mean just 2.6).

rpm (4.8.0-4) experimental; urgency=low

  * Use new conditionals in symbol files and define symbols for sparc64
    (Closes: #572766).
  * Move default RPM database path to ~/.rpm.
    - Fixes problem with no accessible Names database (Closes: #551669,
    LP: #530023).
  * No longer handle database in postinst.
    - Removes debconf from postinst.
    - Avoids problems on installation with db version (LP: #542115).
  * Document above changes in NEWS and README.Debian.

rpm (4.8.0-3) experimental; urgency=low

  * Do not require --force-debian for installing packages, just complain that
    user should use alien. This allows easily people to shoot in the foot,
    however --force-debian switch seems to be too unpopular (Closes: #565421).
  * Bump standards to 3.8.4.

rpm (4.8.0-2) experimental; urgency=low

  * Add missing build dependency on cvs (for autoreconf) (Closes: #565795).

rpm (4.8.0-1) experimental; urgency=low

  * Fix filename of database backup - month and minute were switched
    (Closes: #561546).
  * Move watch file to 4.8 branch.
  * New upstream release.
  * Patch fixbashism.patch fixed better upstream.
  * Unfuzzy other patches.
  * Build depend on python 2.6, adjust Python-Version according to that.
  * Build agains python 2.6 for experimental.
  * Rename library packages after soname bump.
 -- Bhavani Shankar <email address hidden> Mon, 28 Jun 2010 11:12:30 +0200

Changed in rpm (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.