[Python-modules-team] Bug#905198: python-ldap-dbg: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE

Andreas Beckmann anbe at debian.org
Fri Aug 10 22:27:02 BST 2018


Hi Pierre,

On 2018-08-10 18:01, Pierre-Elliott Bécue wrote:
> I tried to fix that in a separate branch on salsa[1], see specifically
> commit 988d4f6[2]. Unfortunately, although I followed all the steps I'm
> aware of, `sudo piuparts -d stretch -d buster
> python-ldap-dbg_3.1.0-3_amd64.deb python-ldap_3.1.0-3_amd64.deb` still
> returns the same error.

3.1.0-3 sounds wrong if sid has only 3.1.0-1

In the .maintscript you want the version 3.1.0-3~ since you also want to
fix this on upgrades from the buggy versions that didn't do
symlink_to_dir. (or -2~ if you plan to upload it as -2)

The piuparts options --testdebs-repo, --bindmount and
--distupgrade-to-testdebs might be helpful to test upgrading from
stretch directly to the new packages (and then use -a python-ldap-dbg,
don't pass .deb files).
If it isn't clear from the documentation, a plain directory with *.deb
and the corresponding Packages file (from dpkg-scanpackages . >
Packages) can be given to both --testdebs-repo and --bindmount, no need
to fiddle with a 'deb [trusted=yes] file://' prefix and ' ./' suffix for
--testdebs-repo.	



Andreas



More information about the Python-modules-team mailing list