Your message dated Sun, 14 May 2023 13:33:56 +0000
with message-id <e1pybri-003p0w...@fasolo.debian.org>
and subject line Bug#1035632: fixed in noiz2sa 0.51a-13
has caused the Debian Bug report #1035632,
regarding noiz2sa: 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 ow...@bugs.debian.org
immediately.)


-- 
1035632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035632
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: noiz2sa
Version: 0.51a-12
Severity: serious
User: debian...@lists.debian.org
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:

  bullseye -> bookworm

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...):

0m50.6s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/noiz2sa/changelog.Debian.amd64.gz (noiz2sa) != 
/usr/share/doc/noiz2sa-data/changelog.Debian.amd64.gz (?)
    /usr/share/doc/noiz2sa -> noiz2sa-data
  /usr/share/doc/noiz2sa/changelog.Debian.gz (noiz2sa) != 
/usr/share/doc/noiz2sa-data/changelog.Debian.gz (noiz2sa-data)
    /usr/share/doc/noiz2sa -> noiz2sa-data
  /usr/share/doc/noiz2sa/copyright (noiz2sa) != 
/usr/share/doc/noiz2sa-data/copyright (noiz2sa-data)
    /usr/share/doc/noiz2sa -> noiz2sa-data


cheers,

Andreas

Attachment: noiz2sa_0.51a-12+b1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: noiz2sa
Source-Version: 0.51a-13
Done: Markus Koschany <a...@debian.org>

We believe that the bug you reported is fixed in the latest version of
noiz2sa, 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 1035...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <a...@debian.org> (supplier of updated noiz2sa 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 14 May 2023 15:10:17 +0200
Source: noiz2sa
Architecture: source
Version: 0.51a-13
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-de...@lists.alioth.debian.org>
Changed-By: Markus Koschany <a...@debian.org>
Closes: 1035632
Changes:
 noiz2sa (0.51a-13) unstable; urgency=medium
 .
   * Add noiz2sa.maintscript: Handle symlink to directory conversion.
     Thanks to Andreas Beckmann for the report. (Closes: #1035632)
Checksums-Sha1:
 9f39018a811ba09001ffe38fb82d1a451d798a0f 2190 noiz2sa_0.51a-13.dsc
 1e8f8e7578250995d3d7522f5bd1d9a516d5386e 6484 noiz2sa_0.51a-13.debian.tar.xz
 1b0c8dd5bf6e6457d4d00a03d56f356ab37f35bf 11120 noiz2sa_0.51a-13_amd64.buildinfo
Checksums-Sha256:
 3b7ac25393ae69056bbc5f2aa37db64baa8867bf40e64637ce43a5be0bb0d98e 2190 
noiz2sa_0.51a-13.dsc
 fea08c5fdc604558cbdc8212f42ae7066f321c28f3d24247f77599e6c7e8ed56 6484 
noiz2sa_0.51a-13.debian.tar.xz
 39304f29dc2fb37b9a8bca5268a32512f265a4e42ed25f995b0647ee3325c058 11120 
noiz2sa_0.51a-13_amd64.buildinfo
Files:
 2d2968ac30acbf79358d6ca95f305178 2190 games optional noiz2sa_0.51a-13.dsc
 76fb241328ef60080ef3ab8c0c0876ca 6484 games optional 
noiz2sa_0.51a-13.debian.tar.xz
 9aa30a43c040585d4edfe8e880b07104 11120 games optional 
noiz2sa_0.51a-13_amd64.buildinfo

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

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAmRg30pfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1HkuScP/3NAwulmWmGrXAJV4HkXYnLnjtDdFsCAXgK4
puxwMY0js1oamwhpENjKTcFnAfpu/a/20sKgYR6akk0CyEs7iHowPQW27MixoEXF
CvnZ5MT3AaCp9HIWtw4GJG2a2NMlap+ssnnXzF6KYvjE0Nox2AO9IMvQefHhnLzp
sTuale3y50U2kvUaxOLTvzLEoL/e23C5SphP0AAiNIdn5hR2tzahVYRVGsOSa04i
NLjQOjc484FgpvbT5PztVneTeKWISsTej/DRBkkp2d+9hSgXnyIRZUT++Vqd5Wqx
PwDruA07CpRUSbLf6V6QhQiEkeJjKfHkfduMOLkSeJGobpWHYIDucrnQNjgxioig
4ZOb/cVXHNa0p5/tTdHaQrXsANlM2xclmghUMiibmwqJw1N/zCaT2Bi8BuPk2Kig
OzhmapwkSM6kHnvqt51QUMKFLuJbpTZc9RTFS97VBunKSFJb4geMv/tdW6kw0ggv
wSKPm7Dv/mWMrFYNGA+tQ2vArp3SqMlw0875Be8EsCqv7NMio4qyhSbBtfDO/UC+
9CvoyWFX8OpFGzwkk6BaUzxhnfX2nWK4DQL4+7RuXT9QZ8iNqxFlm3evZy2A5Dis
lbq3Awi7j3Zf2VC4epk3oZhuyfY5IZyEtRm8Y4gnm8F8D/HnIjG83pcT/2+oyA4U
4PzOgxSF
=zycE
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to