[pkg-php-pear] Bug#767460: Bug#767460: php-htmlpurifier: Missing versioned dependency on dpkg

David Prévot david at tilapin.org
Fri Oct 31 16:24:05 UTC 2014

Hi Roland,

Le 31/10/2014 04:20, Roland Mas a écrit :
> Package: php-htmlpurifier
> Version: 4.6.0-1
> Severity: serious

>   Indeed, the debian/maintscript involves relative symlinks.
>   However, according to dpkg's changelog, such relative symlinks have only
> been supported since 1.17.14.

It worked before: I just successfully upgraded php-htmlpurifier using
dpkg 1.17.10. Looking closer at dpkg changelog, the regression seems to
have been introduced in dpkg 1.17.13:

>   * Fix dpkg-maintscript-helper symlink_to_dir to assure absolute pathnames
>     arguments.

And then, fixed in dpkg 1.17.14:

>   * Add support for relative symlinks to dpkg-maintscript-helper symlink_to_dir
>     command. Suggested by Don Armstrong <don at debian.org>.

> So the php-htmlpurifier currently in
> testing can't be installed by the dpkg currently in testing.  I guess a
> simple versioned dependency would fix that (alternatively, a rewrite of
> the maintscript to use absolute targets for the symlinks).

I’d rather reassign this bug to dpkg 1.17.13 and close it with dpkg
1.17.14 (php-htmlpurifier is not the only package relying on
symlink_to_dir. As documented on dpkg-maintscript-helper(1), the
old-target must be provided, and such target are often relatives, as
expected by the policy).



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20141031/a624727f/attachment.sig>

More information about the pkg-php-pear mailing list