Debian Bug report logs - #575581
postgrey: Upgrade from Lenny to Testing fails with db error

version graph

Package: postgrey; Maintainer for postgrey is Antonio Radici <antonio@debian.org>; Source for postgrey is src:postgrey (PTS, buildd, popcon).

Reported by: russell@coker.com.au

Date: Sat, 27 Mar 2010 09:33:02 UTC

Severity: important

Found in version postgrey/1.31-3.2

Fixed in version postgrey/1.32-6

Done: Antonio Radici <antonio@dyne.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Antonio Radici <antonio@dyne.org>:
Bug#575581; Package postgrey. (Sat, 27 Mar 2010 09:33:05 GMT) (full text, mbox, link).


Acknowledgement sent to russell@coker.com.au:
New Bug report received and forwarded. Copy sent to Antonio Radici <antonio@dyne.org>. (Sat, 27 Mar 2010 09:33:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Russell Coker <russell@coker.com.au>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: postgrey: Upgrade from Lenny to Testing fails with db error
Date: Sat, 27 Mar 2010 20:29:34 +1100
Package: postgrey
Version: 1.31-3.2
Severity: important

Below is the result of running "apt-get dist-upgrade".  After this completes
postgrey is not running.


Preparing to replace postgrey 1.31-3.2 (using .../postgrey_1.32-4_all.deb) ...
Stopping postfix greylisting daemon: postgreystart-stop-daemon: warning: 
failed to kill 15113: No such process
.
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
Starting postfix greylisting daemon: postgrey.


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

Kernel: Linux 2.6.18-164.11.1.el5xen (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages postgrey depends on:
ii  adduser                       3.112      add and remove users and groups
pn  libberkeleydb-perl            <none>     (no description available)
pn  libnet-dns-perl               <none>     (no description available)
ii  libnet-server-perl            0.97-1     An extensible, general perl 
server
pn  perl                          <none>     (no description available)
pn  ucf                           <none>     (no description available)

Versions of packages postgrey recommends:
pn  libdigest-sha1-perl           <none>     (no description available)
pn  libnet-rblclient-perl         <none>     (no description available)
ii  libparse-syslog-perl          1.10-1     Perl module for parsing syslog 
ent
pn  postfix                       <none>     (no description available)

postgrey suggests no packages.

-- debconf information:
  postgrey/1.32-3_changeport:




Information forwarded to debian-bugs-dist@lists.debian.org, Antonio Radici <antonio@dyne.org>:
Bug#575581; Package postgrey. (Thu, 12 Aug 2010 13:27:06 GMT) (full text, mbox, link).


Acknowledgement sent to Johan Euphrosine <proppy@aminche.com>:
Extra info received and forwarded to list. Copy sent to Antonio Radici <antonio@dyne.org>. (Thu, 12 Aug 2010 13:27:06 GMT) (full text, mbox, link).


Message #10 received at 575581@bugs.debian.org (full text, mbox, reply):

From: Johan Euphrosine <proppy@aminche.com>
To: 575581@bugs.debian.org
Subject: Also affect ubuntu
Date: Thu, 12 Aug 2010 15:23:22 +0200
[Message part 1 (text/plain, inline)]
This bug also affect ubuntu upgrade from hardy to lucid, see the
comments for workarounds:

https://bugs.launchpad.net/debian/+source/postgrey/+bug/537472
-- 
Johan Euphrosine (proppy) <proppy@aminche.com>
Development and services around Free Software
http://www.aminche.com/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Antonio Radici <antonio@dyne.org>:
Bug#575581; Package postgrey. (Thu, 12 Aug 2010 13:42:03 GMT) (full text, mbox, link).


Acknowledgement sent to Johan Euphrosine <proppy@aminche.com>:
Extra info received and forwarded to list. Copy sent to Antonio Radici <antonio@dyne.org>. (Thu, 12 Aug 2010 13:42:04 GMT) (full text, mbox, link).


Message #15 received at 575581@bugs.debian.org (full text, mbox, reply):

From: Johan Euphrosine <proppy@aminche.com>
To: 575581@bugs.debian.org
Subject: postgrey_1.32-5 patch
Date: Thu, 12 Aug 2010 15:40:14 +0200
[Message part 1 (text/plain, inline)]
Here is a patch against postgrey_1.32-5 that I believe correct this
issue.
-- 
Johan Euphrosine (proppy) <proppy@aminche.com>
Development and services around Free Software
http://www.aminche.com/
[postgres-use-db4.8-upgrade.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Antonio Radici <antonio@dyne.org>:
Bug#575581; Package postgrey. (Tue, 16 Nov 2010 10:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Stefano Rivera <stefano@rivera.za.net>:
Extra info received and forwarded to list. Copy sent to Antonio Radici <antonio@dyne.org>. (Tue, 16 Nov 2010 10:51:03 GMT) (full text, mbox, link).


Message #20 received at 575581@bugs.debian.org (full text, mbox, reply):

From: Stefano Rivera <stefano@rivera.za.net>
To: 575581@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Raising RC
Date: Tue, 16 Nov 2010 12:48:52 +0200
severity 575581 serious
thanks

Raising to RC, this broke an upgrade for me.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127




Severity set to 'serious' from 'important' Request was from Stefano Rivera <stefano@rivera.za.net> to control@bugs.debian.org. (Tue, 16 Nov 2010 10:51:06 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#575581; Package postgrey. (Tue, 16 Nov 2010 12:21:03 GMT) (full text, mbox, link).


Acknowledgement sent to Antonio Radici <antonio@dyne.org>:
Extra info received and forwarded to list. (Tue, 16 Nov 2010 12:21:03 GMT) (full text, mbox, link).


Message #27 received at 575581@bugs.debian.org (full text, mbox, reply):

From: Antonio Radici <antonio@dyne.org>
To: Stefano Rivera <stefano@rivera.za.net>, 575581@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#575581: Raising RC
Date: Tue, 16 Nov 2010 12:09:21 +0000
tag 575581 +pending
thanks

On Tue, Nov 16, 2010 at 12:48:52PM +0200, Stefano Rivera wrote:
> severity 575581 serious
> thanks
> 
> Raising to RC, this broke an upgrade for me.
> 

I will submit a fix for this tonight.

Cheers
Antonio




Added tag(s) pending. Request was from Antonio Radici <antonio@dyne.org> to control@bugs.debian.org. (Tue, 16 Nov 2010 12:21:09 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Antonio Radici <antonio@dyne.org>:
Bug#575581; Package postgrey. (Tue, 16 Nov 2010 12:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Stefano Rivera <stefano@rivera.za.net>:
Extra info received and forwarded to list. Copy sent to Antonio Radici <antonio@dyne.org>. (Tue, 16 Nov 2010 12:36:03 GMT) (full text, mbox, link).


Message #34 received at 575581@bugs.debian.org (full text, mbox, reply):

From: Stefano Rivera <stefano@rivera.za.net>
To: 575581@bugs.debian.org, 594451@bugs.debian.org
Cc: control@bugs.debian.org, Stephen Gildea <stepheng+debian-bts@gildea.com>, Russell Coker <russell@coker.com.au>, Johan Euphrosine <proppy@aminche.com>
Subject: lenny->squeeze upgrade issue
Date: Tue, 16 Nov 2010 14:33:10 +0200
[Message part 1 (text/plain, inline)]
severity 575581 important
tags 575581 -patch
severity 594451 serious
tags 594451 +patch
thanks

Russell's report, bug 575581, says:
> Program version 4.7 doesn't match environment version 4.6

The error I saw (and Johan's patch addresses), bug 594451, is:
> Program version 4.7 doesn't match environment version 4.8

I think 575581 is an old issue that has been superseded by 594451.
Thus reverting the severity of 575581, and bumping 594451, as it affects
lenny->squeeze upgrades. Not merging these bugs as they are reporting
different symptoms.

Johan's patch needs work, it checks for the existence of db4.7_upgrade
and then calls db4.8_upgrade.

However, I prefer Stephen's approach, as upgrading the DB in preinst
does appear unnecessary (and is certainly currently broken). Can anyone
who knows a little more about libberkeleydb-perl confirm that?

Patch for 594451 attached.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
[postgrey-drop-preinst.debdiff (text/plain, attachment)]

Severity set to 'important' from 'serious' Request was from Stefano Rivera <stefano@rivera.za.net> to control@bugs.debian.org. (Tue, 16 Nov 2010 12:36:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#575581; Package postgrey. (Wed, 08 Dec 2010 01:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Antonio Radici <antonio@dyne.org>:
Extra info received and forwarded to list. (Wed, 08 Dec 2010 01:51:03 GMT) (full text, mbox, link).


Message #41 received at 575581@bugs.debian.org (full text, mbox, reply):

From: Antonio Radici <antonio@dyne.org>
To: Stefano Rivera <stefano@rivera.za.net>, 594451@bugs.debian.org
Cc: 575581@bugs.debian.org, control@bugs.debian.org, Stephen Gildea <stepheng+debian-bts@gildea.com>, Russell Coker <russell@coker.com.au>, Johan Euphrosine <proppy@aminche.com>
Subject: Re: Bug#594451: lenny->squeeze upgrade issue
Date: Wed, 8 Dec 2010 01:41:08 +0000
tags 594451 +confirmed pending
thanks

On Tue, Nov 16, 2010 at 02:33:10PM +0200, Stefano Rivera wrote:
> severity 575581 important
> tags 575581 -patch
> severity 594451 serious
> tags 594451 +patch
> thanks
> 
> Russell's report, bug 575581, says:
> > Program version 4.7 doesn't match environment version 4.6
> 
> The error I saw (and Johan's patch addresses), bug 594451, is:
> > Program version 4.7 doesn't match environment version 4.8
> 
> I think 575581 is an old issue that has been superseded by 594451.
> Thus reverting the severity of 575581, and bumping 594451, as it affects
> lenny->squeeze upgrades. Not merging these bugs as they are reporting
> different symptoms.
> and then calls db4.8_upgrade.
> 
> However, I prefer Stephen's approach, as upgrading the DB in preinst
> does appear unnecessary (and is certainly currently broken). Can anyone
> who knows a little more about libberkeleydb-perl confirm that?
> 
> Patch for 594451 attached.

Hi,
sorry for the late reply but I had been busy lately.

I have committed the fix into git (collab-maint/postgrey.git) and sent a mail to
debian-release asking for their permission to upload to
testing-proposed-updates.

Once they confirm I will upload the package straight away.

Cheers
Antonio




Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#575581; Package postgrey. (Fri, 10 Dec 2010 01:00:03 GMT) (full text, mbox, link).


Acknowledgement sent to Antonio Radici <antonio@dyne.org>:
Extra info received and forwarded to list. (Fri, 10 Dec 2010 01:00:03 GMT) (full text, mbox, link).


Message #46 received at 575581@bugs.debian.org (full text, mbox, reply):

From: Antonio Radici <antonio@dyne.org>
To: 594451@bugs.debian.org
Cc: Stefano Rivera <stefano@rivera.za.net>, 575581@bugs.debian.org, control@bugs.debian.org, Stephen Gildea <stepheng+debian-bts@gildea.com>, Russell Coker <russell@coker.com.au>, Johan Euphrosine <proppy@aminche.com>
Subject: Re: Bug#594451: lenny->squeeze upgrade issue
Date: Fri, 10 Dec 2010 00:49:49 +0000
It seems that the procedure has changed, I have created version 1.32-6 and
uploaded it to unstable, then submitted #606533 with an unblock request to
release.debian.org.

Cheers
Antonio




Bug Marked as fixed in versions postgrey/1.32-6. Request was from Antonio Radici <antonio@dyne.org> to control@bugs.debian.org. (Mon, 03 Jan 2011 18:21:13 GMT) (full text, mbox, link).


Reply sent to Antonio Radici <antonio@dyne.org>:
You have taken responsibility. (Mon, 03 Jan 2011 18:21:16 GMT) (full text, mbox, link).


Notification sent to russell@coker.com.au:
Bug acknowledged by developer. (Mon, 03 Jan 2011 18:21:16 GMT) (full text, mbox, link).


Message #53 received at 575581-done@bugs.debian.org (full text, mbox, reply):

From: Antonio Radici <antonio@dyne.org>
To: 575581-done@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#575581: Bug#594451: lenny->squeeze upgrade issue
Date: Mon, 3 Jan 2011 18:19:59 +0000
fixed 575581 1.32-6
thanks




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 01 Feb 2011 07:31:40 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 7 19:51:41 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.