postinst breaks on upgrade from hardy to lucid

Bug #705389 reported by Marius Gedminas
This bug report is a duplicate of:  Bug #537472: upgrade from hardy to lucid fails. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postgrey (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: postgrey

This was a hardy server that was upgraded to lucid with do-release-upgrade. One package failed to upgrade: postgrey. See this:

# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  postgrey
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/57.0kB of archives.
After this operation, 24.6kB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 77397 files and directories currently installed.)
Preparing to replace postgrey 1.31-2 (using .../postgrey_1.32-4_all.deb) ...
Stopping postfix greylisting daemon: postgrey.
db4.7_upgrade: Program version 4.7 doesn't match environment version 4.8
db4.7_upgrade: DB_ENV->open: DB_VERSION_MISMATCH: Database environment version mismatch
dpkg: error processing /var/cache/apt/archives/postgrey_1.32-4_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Starting postfix greylisting daemon: postgrey.
Errors were encountered while processing:
 /var/cache/apt/archives/postgrey_1.32-4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: postgrey 1.31-2
ProcVersionSignature: Ubuntu 2.6.32-27.49-generic 2.6.32.26+drm33.12
Uname: Linux 2.6.32-27-generic i686
Architecture: i386
Date: Thu Jan 20 12:51:31 2011
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en_GB:en_US:en
 LC_CTYPE=lt_LT.UTF-8
 PATH=(custom, user)
 LANG=en_GB
 SHELL=/bin/bash
SourcePackage: postgrey

Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 537472, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Please test the package in lucid-proposed and comment on bug 537472 if it works.

Changed in postgrey (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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