Bug#797106: libperl5.22: Multi-Arch:same and binNMU changelogs

Niko Tyni ntyni at debian.org
Wed Sep 9 19:02:45 UTC 2015


On Wed, Sep 09, 2015 at 12:30:16AM +0200, gregor herrmann wrote:
> On Wed, 09 Sep 2015 00:41:07 +0300, Niko Tyni wrote:
> 
> > I note that this will require changing the symlink
> > /usr/share/doc/libperl5.22 -> perl to a real separate directory. This
> > probably means we need a libperl5.22.preinst snippet that removes the
> > symlink on upgrades, as dpkg will not automatically replace a symlink
> > with a directory.
> 
> Once or regularly?

Not sure how to answer that. It's sort of one-off as we only
need to handle upgrades from the experimental 5.22 packages.
I guess we could drop it once 5.22 is established in sid/stretch.
Depends on how much we want/need to support upgrades from experimental.

> In the former case, dpkg-maintscript-helper(1) makes this easy.

Thanks! I see that's a /bin/sh script, so I guess there are
no concerns about using it when upgrading perl. Also, perl-base
remains usable of course whatever we do with libperl5.22.

That would require
 Pre-Depends: dpkg (>= 1.17.14)
in libperl5.22, which presumably isn't a problem as it's satisfied
in stable. 

Do we need to worry about derivatives like Ubuntu and their longer
release cycles? Ubuntu 14.04 LTS has dpkg 1.17.5ubuntu5.4 FWIW.

In other news, the attached patch seems to be working for the
changelog splitting part of this. Eyeballs welcome of course.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Split-out-binary-only-changelog-entries.patch
Type: text/x-diff
Size: 2366 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20150909/47e17dbe/attachment.patch>


More information about the Perl-maintainers mailing list