On 2018-10-04 02:53, James McCoy wrote: > On Wed, Oct 03, 2018 at 07:49:35PM +0200, Andreas Beckmann wrote: >> an upgrade test with piuparts revealed that your package installs files >> over existing symlinks and possibly overwrites files owned by other
> This is exactly what I did: > > https://salsa.debian.org/jamessan/subversion/commit/d5e5e1c5c61b072974de5e0803deed669530e48c > https://salsa.debian.org/jamessan/subversion/commit/af236dd6de6239dff820d480206b4c92b8287be2 That looks good, except ... The problematic links I observed are not normalized but use an absolute target: /usr/share/doc/libsvn-java -> /usr/share/doc/libsvn1 (I didn't check where these originate from.) It should work if you replace the normalized relative target 'libsvn1' with the absolute target '/usr/share/doc/libsvn1'. dpkg-maintscript-helper will check both $(readink whatever) and $(readlink -f whatever) against this target, so it will work with both relative and absolute targets. Don't forget to bump the .maintscript version. Andreas