← Back to team overview

registry team mailing list archive

[Bug 537472] Re: upgrade from hardy to lucid fails

 

The postinst shouldn't need to call db4.Xupgrade, libberkeleydb-perl
takes care of that.

** Also affects: postgrey (Ubuntu Lucid)
   Importance: Undecided
       Status: New

** Also affects: postgrey (Ubuntu Maverick)
   Importance: Undecided
       Status: New

** Changed in: postgrey (Ubuntu)
   Importance: Undecided => Low

** Changed in: postgrey (Ubuntu)
       Status: New => In Progress

** Description changed:

  Binary package hint: postgrey
  
  While trying to upgrade my hardy installation to lucid today I got the
  following failure to upgrade postgrey:
  
  Preparing to replace postgrey 1.31-2 (using .../postgrey_1.32-4_all.deb) ...
  invoke-rc.d: ----------------------------------------------------
  invoke-rc.d: WARNING: invoke-rc.d called during shutdown sequence
  invoke-rc.d: enabling safe mode: initscript policy layer disabled
  invoke-rc.d: ----------------------------------------------------
  Stopping postfix greylisting daemon: postgrey.
  db4.7_upgrade: Program version 4.7 doesn't match environment version 4.6
  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
  invoke-rc.d: ----------------------------------------------------
  invoke-rc.d: WARNING: invoke-rc.d called during shutdown sequence
  invoke-rc.d: enabling safe mode: initscript policy layer disabled
  invoke-rc.d: ----------------------------------------------------
  Starting postfix greylisting daemon: postgrey.
+ 
+ SRU Test Case:
+ 1. Install postgrey on hardy
+ 2. Upgrade libberkeleydb-perl to lucid
+ 3. Run postgrey, then stop it again
+ 4. Upgrade postgrey to lucid. Successful upgrade is the aim of this SRU.

-- 
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.
https://bugs.launchpad.net/bugs/537472

Title:
  upgrade from hardy to lucid fails