Bug#875911: Processed: found 875911 in 5.13.0+dfsg-1~exp3

Andreas Beckmann anbe at debian.org
Mon Sep 25 00:22:54 UTC 2017


Control: found -1 5.13.0+dfsg-3
Control: notfixed -1 5.13.0+dfsg-2

On 09/22/2017 04:33 PM, Ole Streicher wrote:
> Hi Andreas,
> 
> On 22.09.2017 16:15, Debian Bug Tracking System wrote:
>> Processing commands for control at bugs.debian.org:
>>
>>> found 875911 5.13.0+dfsg-1~exp3
> 
> Could I ask you to explain that a bit more verbose?
> 
> The required install scripts (postinst preinst prerm) are there, so the
> conversion should work.

You shouldn't add duplicate copies of the maintainer scripts, but use
debian/$package.maintscript instead and let debhelper do the
duplication. See dh_installdeb(1) for details.
And you can omit the package name argument if it's the same as $package.

>From commit 26e01b3d20b6 I'm concluding that all the prior-versions you
used are wrong. If 5.13.0+dfsg-1 shipped a wrong version there (and
therefore the transition didn't take place when upgrading from ... to
... to 5.13.0+dfsg-1~exp3 to 5.13.0+dfsg-1), it should have been set to
5.13.0+dfsg-2~ (i.e. not the version that initially brought the change
in the filesystem, but the version that adds the correct
dpkg-maintscript-helper symlink_to_dir call) in the fixing upload of
5.13.0+dfsg-2 (so the conversion would be attempted again while
upgrading to 5.13.0+dfsg-2, but since 5.13.0+dfsg-1~exp2~ is older than
5.13.0+dfsg-1, nothing would be retried and the broken state would be
left in place).

So assuming the next upload will be 5.13.0+dfsg-4, use 5.13.0+dfsg-4~ as
the prior-version in all *.maintscript files (this will ensure the
upgrade path from stable to unstable will do the symlink_to_dir
transition once and correctly, regardless of which intermediate versions
from sid and experimental have been installed).

Reopening again, since this problem also exists in python-plplot,
libplplot-ocaml, plplot-tcl-bin, plplot-tcl-dev (found in testing->sid
and stable->sid upgrade tests). Reusing this bug report instead of
opening a new, since this is still the same issue.
(I initially filed two bugs against the same source package since I
didn't recognize libqsastime* was related to *plplot*.)


Andreas



More information about the debian-science-maintainers mailing list