Bug#801156: dpkg: sometimes does not pass old version to postinst on upgrade

2015-10-13 Thread Andreas Beckmann
On 2015-10-10 16:13, Guillem Jover wrote: > Thanks for the recipe. I was going through the code to see why this > might be happening and realized that it is most probably caused by > systemd being in triggers-pending state, which the code was not taking > into account. I've prepared a patch, but

Bug#801156: dpkg: sometimes does not pass old version to postinst on upgrade

2015-10-11 Thread Guillem Jover
Hi! On Sat, 2015-10-10 at 16:13:11 +0200, Guillem Jover wrote: > Thanks for the recipe. I was going through the code to see why this > might be happening and realized that it is most probably caused by > systemd being in triggers-pending state, which the code was not taking > into account. I've

Bug#801156: dpkg: sometimes does not pass old version to postinst on upgrade

2015-10-10 Thread Guillem Jover
Hi! On Wed, 2015-10-07 at 03:29:10 +0200, Andreas Beckmann wrote: > The chroot was bootstrapped with > > 'debootstrap' '--variant=minbase' > '--keyring=/usr/share/keyrings/debian-archive-keyring.gpg' > '--components=main' '--arch=amd64' 'jessie' '/tmp/piupartss/tmpcNOJI3' >

Bug#801156: dpkg: sometimes does not pass old version to postinst on upgrade

2015-10-06 Thread Guillem Jover
Hi! On Wed, 2015-10-07 at 01:10:33 +0200, Andreas Beckmann wrote: > Package: dpkg > Version: 1.18.3 > Severity: serious > dpkg does not always properly pass the old version number when > calling "postinst configure" on package upgrades, sometimes there > is either no or an empty argument.

Bug#801156: dpkg: sometimes does not pass old version to postinst on upgrade

2015-10-06 Thread Andreas Beckmann
On 2015-10-07 02:23, Guillem Jover wrote: > Hi! > > On Wed, 2015-10-07 at 01:10:33 +0200, Andreas Beckmann wrote: >> Package: dpkg >> Version: 1.18.3 >> Severity: serious > >> dpkg does not always properly pass the old version number when >> calling "postinst configure" on package upgrades,

Bug#801156: dpkg: sometimes does not pass old version to postinst on upgrade

2015-10-06 Thread Andreas Beckmann
The chroot was bootstrapped with 'debootstrap' '--variant=minbase' '--keyring=/usr/share/keyrings/debian-archive-keyring.gpg' '--components=main' '--arch=amd64' 'jessie' '/tmp/piupartss/tmpcNOJI3' 'http://ftp.de.debian.org/debian' and was slightly configured by piuparts to have e.g. # cat

Bug#801156: dpkg: sometimes does not pass old version to postinst on upgrade

2015-10-06 Thread Andreas Beckmann
Package: dpkg Version: 1.18.3 Severity: serious Hi Guillem, dpkg does not always properly pass the old version number when calling "postinst configure" on package upgrades, sometimes there is either no or an empty argument. I have two cases where an 'apt-get dist-upgrade' from jessie to stretch