Your message dated Thu, 25 May 2023 08:33:49 +0000 with message-id <e1q26pt-001mfr...@fasolo.debian.org> and subject line Bug#1036096: fixed in jed 1:0.99.20~pre.178+dfsg-6 has caused the Debian Bug report #1036096, regarding jed,xjed: 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.) -- 1036096: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036096 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: jed,xjed Version: 1:0.99.20~pre.178+dfsg-4 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 -> sid 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...): 0m42.0s ERROR: FAIL: silently overwrites files via directory symlinks: /usr/share/doc/jed/NEWS.Debian.gz (jed) != /usr/share/doc/jed-common/NEWS.Debian.gz (jed-common) /usr/share/doc/jed -> jed-common /usr/share/doc/jed/README.Debian (jed) != /usr/share/doc/jed-common/README.Debian (?) /usr/share/doc/jed -> jed-common /usr/share/doc/jed/TODO.Debian (jed) != /usr/share/doc/jed-common/TODO.Debian (?) /usr/share/doc/jed -> jed-common /usr/share/doc/jed/changelog.Debian.gz (jed) != /usr/share/doc/jed-common/changelog.Debian.gz (jed-common) /usr/share/doc/jed -> jed-common /usr/share/doc/jed/changelog.gz (jed) != /usr/share/doc/jed-common/changelog.gz (jed-common) /usr/share/doc/jed -> jed-common /usr/share/doc/jed/copyright (jed) != /usr/share/doc/jed-common/copyright (jed-common) /usr/share/doc/jed -> jed-common 0m46.5s ERROR: FAIL: silently overwrites files via directory symlinks: /usr/share/doc/xjed/NEWS.Debian.gz (xjed) != /usr/share/doc/jed-common/NEWS.Debian.gz (jed-common) /usr/share/doc/xjed -> jed-common /usr/share/doc/xjed/changelog.Debian.gz (xjed) != /usr/share/doc/jed-common/changelog.Debian.gz (jed-common) /usr/share/doc/xjed -> jed-common /usr/share/doc/xjed/changelog.gz (xjed) != /usr/share/doc/jed-common/changelog.gz (jed-common) /usr/share/doc/xjed -> jed-common /usr/share/doc/xjed/copyright (xjed) != /usr/share/doc/jed-common/copyright (jed-common) /usr/share/doc/xjed -> jed-common This is probably an older bug that never showed up in piuparts since jed/xjed could not be tested after jed-common had failed. cheers, Andreas
jed_1:0.99.20~pre.178+dfsg-4.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---Source: jed Source-Version: 1:0.99.20~pre.178+dfsg-6 Done: Rafael Laboissière <raf...@debian.org> We believe that the bug you reported is fixed in the latest version of jed, 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 1036...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Rafael Laboissière <raf...@debian.org> (supplier of updated jed 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: SHA256 Format: 1.8 Date: Thu, 25 May 2023 04:40:36 -0300 Source: jed Architecture: source Version: 1:0.99.20~pre.178+dfsg-6 Distribution: unstable Urgency: medium Maintainer: Wookey <woo...@debian.org> Changed-By: Rafael Laboissière <raf...@debian.org> Closes: 1036096 Changes: jed (1:0.99.20~pre.178+dfsg-6) unstable; urgency=medium . * d/*.maintscript: Add epoch to the version number in symlink_to_dir setting. The version in the {jed,xjed}.maintscript files is bumped to 1:0.99.20~pre.178+dfsg-6~, such that the cleanup is performed on both upgrades from stable to testing (missed cleanup) and from testing to unstable (fixed cleanup). Thanks to Andreas Beckmann for spotting the problem and suggesting its solution. (Closes: #1036096) Checksums-Sha1: 0b61736359ec14bb9156d9fc568787fe65aea9c4 2328 jed_0.99.20~pre.178+dfsg-6.dsc ffb116f4619515fce9cd2c46592405536fced752 31220 jed_0.99.20~pre.178+dfsg-6.debian.tar.xz Checksums-Sha256: 356e361630c02b4ccf7e6c798c60456173b60008020f63f2e686ec14dabb7174 2328 jed_0.99.20~pre.178+dfsg-6.dsc 001ccd8dafe3db4fa926682e1fdac225e34153c97b33a2841ca3912890a3855a 31220 jed_0.99.20~pre.178+dfsg-6.debian.tar.xz Files: e5485c3bafce378d23327d53f2fc3680 2328 editors optional jed_0.99.20~pre.178+dfsg-6.dsc 63253c1b56b580790cfb12b9de6790ac 31220 editors optional jed_0.99.20~pre.178+dfsg-6.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJGBAEBCAAwFiEEP0ZDkUmP6HS9tdmPISSqGYN4XJAFAmRvFXQSHHJhZmFlbEBk ZWJpYW4ub3JnAAoJECEkqhmDeFyQckoP/1dBzDKAi1Lh7sMf0Fj3FVTGJYrEy48I 6UBm9jHbYTIuCJBL2tgC1gOIOJSiUDCm/XbtBikkhwbtwr0csCvQpfxQ9aQOGS8W 5UKx+eDl7QRS7WRfE50uJiNzcFLUaUTOBM4XE6y9A9ozoOvjDc88s/FBGY3chO7D OjonrJCBQT7gtCcjdkg8Wfn0ReMf0D1S1fYcifEselBDXJww8Tc9e7ODcxS3lHBP TGX9NtEJKx1mDoKz30wXNdfnR8lBPGoBAXiZ7af9MHF3UwNckebWzjMGAq4cOLeq OEANiw4IKjLdPbbLyM6c+6cPChOXrTZPMjBZ4NRgEVcFIle/L42fPHd2cTAKmfDs U2yR0+YqbZnfEo1yjZtDNJKgun294qr/moOe4cUaTriBCX8RWymxspnJ9jXrzYiJ BEbUQxmaNQdAjQjrtunKUth4NpJxVh8GXkUSu14Pr0M2B7j/WuU1BVJOnXZOJyOo cGcOiSP4m+Aq1bXXw5a9Tg6DmrhCkPhLBWgdQSiKb9w2SEHMVdPoJNJkFFWIm/CX NP9LYEUc5ju6oHTrcD10ThhAYKlTlfZqvRMgT+1aorbbV/nQm8QJ26CgeGoCyFC0 tqSyOJ+tGyrxSpbjfeUWb91H8dpTG9EBXSFzR5I3ZNpHS9eAjMfuLOw6ey9b6PfB oE/R1Mud1vTT =N3yS -----END PGP SIGNATURE-----
--- End Message ---