Your message dated Mon, 15 Mar 2021 18:50:47 +0000 with message-id <E1lLsIh-0008IU-OD@fasolo.debian.org> and subject line Bug#985295: fixed in qbs 1.18.0-5 has caused the Debian Bug report #985295, regarding qbs-examples: unhandled symlink to directory conversion: /usr/share/qbs/examples/cocoa-application/CocoaApplication/en_US.lproj -> en.lproj 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 owner@bugs.debian.org immediately.) -- 985295: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985295 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: qbs-examples: unhandled symlink to directory conversion: /usr/share/qbs/examples/cocoa-application/CocoaApplication/en_US.lproj -> en.lproj
- From: Andreas Beckmann <anbe@debian.org>
- Date: Mon, 15 Mar 2021 14:29:24 +0100
- Message-id: <[🔎] 161581496462.488.3710266866807697683.reportbug@zam504.zam.kfa-juelich.de>
Package: qbs-examples Version: 1.18.0-4 Severity: serious User: debian-qa@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: buster -> bullseye 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...): Preparing to unpack .../qbs-examples_1.18.0-4_all.deb ... Unpacking qbs-examples (1.18.0-4) over (1.12.2+dfsg-2) ... dpkg: error processing archive /var/cache/apt/archives/qbs-examples_1.18.0-4_all.deb (--unpack): unable to install new version of '/usr/share/qbs/examples/cocoa-application/CocoaApplication/en_US.lproj/Credits.rtf': No such file or directory Errors were encountered while processing: /var/cache/apt/archives/qbs-examples_1.18.0-4_all.deb In buster /usr/share/qbs/examples/cocoa-application/CocoaApplication/en_US.lproj was a symlink to en.lproj. cheers, AndreasAttachment: qbs-examples_1.18.0-4.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
- To: 985295-close@bugs.debian.org
- Subject: Bug#985295: fixed in qbs 1.18.0-5
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Mon, 15 Mar 2021 18:50:47 +0000
- Message-id: <E1lLsIh-0008IU-OD@fasolo.debian.org>
- Reply-to: Dmitry Shachnev <mitya57@debian.org>
Source: qbs Source-Version: 1.18.0-5 Done: Dmitry Shachnev <mitya57@debian.org> We believe that the bug you reported is fixed in the latest version of qbs, 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 985295@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Dmitry Shachnev <mitya57@debian.org> (supplier of updated qbs 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 ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 15 Mar 2021 21:02:24 +0300 Source: qbs Architecture: source Version: 1.18.0-5 Distribution: unstable Urgency: medium Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Changed-By: Dmitry Shachnev <mitya57@debian.org> Closes: 985295 Changes: qbs (1.18.0-5) unstable; urgency=medium . * Handle symlink to directory change in qbs-examples (closes: #985295). Checksums-Sha1: b4875d15a49887e90648aa47c705eeca3460145b 2475 qbs_1.18.0-5.dsc c34b0918df23cd2fa67782f4a6739156d615e58e 32176 qbs_1.18.0-5.debian.tar.xz 6b35999a304e38d3c362e0a35fe4717c274f55ae 11735 qbs_1.18.0-5_source.buildinfo Checksums-Sha256: a702391b6026d884f6bb2c56c7e68212665ae459e93603d6319fa5c37c6c65e2 2475 qbs_1.18.0-5.dsc f2dad1cfae274bdc2c661ae0782cef8d265bc2d1679e256519e484e42eb104a0 32176 qbs_1.18.0-5.debian.tar.xz c83c6377fddd260169723e63222465932fcd92cc854da3f0ece57d2700fe0898 11735 qbs_1.18.0-5_source.buildinfo Files: 886e2a200f5d3752a0ddd0eca520c20d 2475 devel optional qbs_1.18.0-5.dsc 6f5557f6987297b63c0351cdae174621 32176 devel optional qbs_1.18.0-5.debian.tar.xz 79539b732a855860f622fef0157f5bca 11735 devel optional qbs_1.18.0-5_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJHBAEBCgAxFiEE5688gqe4PSusUZcLZkYmW1hrg8sFAmBPoX4THG1pdHlhNTdA ZGViaWFuLm9yZwAKCRBmRiZbWGuDy6eVD/4jPAaddscZaeih+9HV01+AQWXIQQMe kBtpOLr2mrxn5wFc3eubjLXnxf61rBTrBKSHCx0x2Ih87jGsPBlocq/EqOgQak/N nbI3/gRMNXg4XRQpcJSrmEi4fjsWdzUqk1MbVdsSDvStUGr99n52bTHKCoHic0up YS7IerH6ss0OL7iBRMyhrNXqq242yI3ZbyVq5mOrdenXkZluFfahNDABbsitRMyP zzZhXp6bZSJh8PRpRNcQI7NABXmfPb+EtfRPTbRA3DnnDXrQtweDAOMDlP7/qgwz mh+rSJMT/OkQ2dDvnO++Tb4jYE3GMLeokNogzPn7Kyw06K5n0H9DpdzNhiXHh0eU s2lgXIAE2HEyj6ZZUNU9whodgmEqO2XGb0RvqQA8EXFpLZxbdl1oy9mNJ7LOhKgM imEsciNiszahFAoNTcORNDK1qHogGeCXoRu/IpBf7g7eAtEccura+PNcEefgGnUp oyO+OSIMivNPXCkQEi9bLPoBR8Fr96MR15wECBguuqF5BEhMSil3gQL/e7vk8SDt Ffp3cYwupPonFW44efDuQjhu+Ny0OVYRokMzxLybE0aEMOGLOF3m6DCuwlVYO8nS flRuBcxpNFgpb9lwFfPXUtoLrn12Gaws/I5F+19oNTevH1WHfoMbBBPXhg2aBKoL uAApzRHKLmBrew== =bCab -----END PGP SIGNATURE-----
--- End Message ---