Your message dated Fri, 19 Mar 2021 23:02:10 +0000
with message-id <[email protected]>
and subject line Bug#985352: fixed in uim 1:1.8.8-4+deb10u4
has caused the Debian Bug report #985352,
regarding libuim-data: unhandled symlink to directory conversion: 
/usr/share/doc/PACKAGE
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
985352: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985352
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libuim-data
Version: 1:1.8.8-4+deb10u3
Severity: serious
User: [email protected]
Usertags: piuparts

Hi,

an upgrade test with piuparts revealed that your package installs files
over existing symlinks and possibly overwrites files owned by other
packages. This usually means an old version of the package shipped a
symlink but that was later replaced by a real (and non-empty)
directory. This kind of overwriting another package's files cannot be
detected by dpkg.

This was observed on the following upgrade paths:

  stretch -> buster

For /usr/share/doc/PACKAGE this may not be problematic as long as both
packages are installed, ship byte-for-byte identical files and are
upgraded in lockstep. But once one of the involved packages gets
removed, the other one will lose its documentation files, too,
including the copyright file, which is a violation of Policy 12.5:
https://www.debian.org/doc/debian-policy/ch-docs.html#copyright-information

For other overwritten locations anything interesting may happen.

Note that dpkg intentionally does not replace directories with symlinks
and vice versa, you need the maintainer scripts to do this.
See in particular the end of point 4 in
https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#details-of-unpack-phase-of-installation-or-upgrade

It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.14)
to perform the conversion, ideally using d/$PACKAGE.maintscript.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


>From the attached log (scroll to the bottom...):

0m36.2s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libuim-data/NEWS.Debian.gz (libuim-data) != 
/usr/share/doc/uim-common/NEWS.Debian.gz (uim-common)
    /usr/share/doc/libuim-data -> uim-common
  /usr/share/doc/libuim-data/changelog.Debian.gz (libuim-data) != 
/usr/share/doc/uim-common/changelog.Debian.gz (uim-common)
    /usr/share/doc/libuim-data -> uim-common
  /usr/share/doc/libuim-data/changelog.gz (libuim-data) != 
/usr/share/doc/uim-common/changelog.gz (uim-common)
    /usr/share/doc/libuim-data -> uim-common
  /usr/share/doc/libuim-data/copyright (libuim-data) != 
/usr/share/doc/uim-common/copyright (uim-common)
    /usr/share/doc/libuim-data -> uim-common


I'll take care of fixing this in stable.


cheers,

Andreas

Attachment: libuim-data_1:1.8.8-4+deb10u3.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: uim
Source-Version: 1:1.8.8-4+deb10u4
Done: Andreas Beckmann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
uim, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <[email protected]> (supplier of updated uim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 16 Mar 2021 15:29:59 +0100
Source: uim
Architecture: source
Version: 1:1.8.8-4+deb10u4
Distribution: buster
Urgency: medium
Maintainer: HIGUCHI Daisuke (VDR dai) <[email protected]>
Changed-By: Andreas Beckmann <[email protected]>
Closes: 985352
Changes:
 uim (1:1.8.8-4+deb10u4) buster; urgency=medium
 .
   * Non-maintainer upload.
   * libuim-data: Perform symlink_to_dir conversion of
     /usr/share/doc/libuim-data in the resurrected package for clean upgrades
     from stretch.  (Closes: #985352)
Checksums-Sha1:
 c4fcda7092255920aea535aa60738421883b120e 3691 uim_1.8.8-4+deb10u4.dsc
 0607d7f42a30c0859424e788d7cd939faaa31ef6 37276 
uim_1.8.8-4+deb10u4.debian.tar.xz
 224883bc5c709014fc4b24ddea4b5dd7b315f48a 17722 
uim_1.8.8-4+deb10u4_source.buildinfo
Checksums-Sha256:
 6a23ef730a58085240f3be7cfd7abff90f5e9c0649870ced15fdeb4b9dac233b 3691 
uim_1.8.8-4+deb10u4.dsc
 194e62014491bdc3562f92a0df0f5b6e193817d5345317556f69dc499ae8071e 37276 
uim_1.8.8-4+deb10u4.debian.tar.xz
 af821ac70f6399180130af959caea8950796fb68bfc510d0bb603391950c899b 17722 
uim_1.8.8-4+deb10u4_source.buildinfo
Files:
 9eae3904e0ecc97a94219f9a392cc9f9 3691 libs optional uim_1.8.8-4+deb10u4.dsc
 c9d15099eeddc950e758740c52bb4f12 37276 libs optional 
uim_1.8.8-4+deb10u4.debian.tar.xz
 b52e50b3d9664a202fbed9c18920c0da 17722 libs optional 
uim_1.8.8-4+deb10u4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmBQw50QHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCDvlD/9uiqBjC24XA0MLcjUjqhHGbO+cMcaT97Il
AOkM0w64021jqN1ay/pEeRRrEnR+twvgFeB6g+haCyGnZxy2dvfDeFAA79MIzTay
Bnuf31qTTIIzkgmJ+BOUCyPXpz604hmfStCLhOgbv23TF1YTgy1t/wKKEDbcCqm+
jVMx2c32ePk95VkqmeJgQxeE6NLuYbQjVGfFotwrI2U7EE4alHlhAIsDZGTCGon/
SClSpiBKEwHfeT6c4mqOLgXh8uQ8VVgKajPc07rWqG4PTY/P71yO13CL/c3zVOxp
5lEeqoKO6cgugekyS5r56Au2XpqWu/KSnkxy1PyEqgvbJM0ktHWUsDR1uZSuc1kn
nM85yYpuuU5cl9iaE9zCVXS6oFsTwlNc+68D9rE/FbocIeEMFVzu+mLwS05BTI6Q
UAqvhDDm9qPg6WB1614WQE8wOx1ZiBJPywPuUUN9lZuATB0H2TcX/1WH+HYjTdwD
F3QgfDoku/gPxNJoLQqS7eM7sFsF28B2kjhKLvFzvJSioIzTeCv1+ElI9OqAhO2z
aiE4QZ669G3fQVZqO/mupKLGtUoycu3+GsSWkFIMFwXZebxUGHAxs9Lrk0Yvfeun
IYtxT24mZdq4kLUNX8Qk70REqdiMg11YJf1fYcdVq1+nUIDa1AvZ6hT4ryklcOsw
xvwlCKzu1w==
=5f2X
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to