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 <d...@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).

Regards

David

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to