Your message dated Sat, 30 Mar 2019 16:21:30 +0000 with message-id <e1hagja-00042n...@fasolo.debian.org> and subject line Bug#924232: fixed in jupyter-notebook 5.7.4-2.1 has caused the Debian Bug report #924232, regarding python{,3}-notebook: unhandled symlink to directory conversion: /usr/lib/python{2.7,3}/dist-packages/notebook/static/components/bootstrap 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.) -- 924232: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924232 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: python-notebook, python3-notebook Version: 5.7.4-2 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: stretch -> 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...): 1m10.1s ERROR: FAIL: silently overwrites files via directory symlinks: /usr/lib/python2.7/dist-packages/notebook/static/components/bootstrap/dist (python-notebook) != /usr/share/javascript/bootstrap/dist (?) /usr/lib/python2.7/dist-packages/notebook/static/components/bootstrap -> ../../../../../../share/javascript/bootstrap /usr/lib/python2.7/dist-packages/notebook/static/components/bootstrap/less (python-notebook) != /usr/share/javascript/bootstrap/less (libjs-bootstrap) /usr/lib/python2.7/dist-packages/notebook/static/components/bootstrap -> ../../../../../../share/javascript/bootstrap 1m17.7s ERROR: FAIL: silently overwrites files via directory symlinks: /usr/lib/python3/dist-packages/notebook/static/components/bootstrap/dist (python3-notebook) != /usr/share/javascript/bootstrap/dist (?) /usr/lib/python3/dist-packages/notebook/static/components/bootstrap -> ../../../../../../share/javascript/bootstrap /usr/lib/python3/dist-packages/notebook/static/components/bootstrap/less (python3-notebook) != /usr/share/javascript/bootstrap/less (libjs-bootstrap) /usr/lib/python3/dist-packages/notebook/static/components/bootstrap -> ../../../../../../share/javascript/bootstrap cheers, Andreas
python3-notebook_5.7.4-2.log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---Source: jupyter-notebook Source-Version: 5.7.4-2.1 We believe that the bug you reported is fixed in the latest version of jupyter-notebook, 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 924...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sébastien Villemot <sebast...@debian.org> (supplier of updated jupyter-notebook 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: Sat, 30 Mar 2019 15:52:25 +0100 Source: jupyter-notebook Architecture: source Version: 5.7.4-2.1 Distribution: unstable Urgency: medium Maintainer: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org> Changed-By: Sébastien Villemot <sebast...@debian.org> Closes: 924232 Changes: jupyter-notebook (5.7.4-2.1) unstable; urgency=medium . * Non-maintainer upload. * Fix unhandled symlink to directory conversion for bootstrap, through python{,3}-notebook.maintscript. (Closes: #924232) Checksums-Sha1: b0f4244b3318e1fadfd60522e9a3436a184c593e 4043 jupyter-notebook_5.7.4-2.1.dsc 8dd0ca2f3f6de7e59685bc22d488fd8af473f233 51308 jupyter-notebook_5.7.4-2.1.debian.tar.xz ace18369ba25b1b177794e9302785bd6f08f1a36 13307 jupyter-notebook_5.7.4-2.1_source.buildinfo Checksums-Sha256: 600caf269c614df3413575ab0a520fa0d6ad4c0857dba780029e78476f6d0bab 4043 jupyter-notebook_5.7.4-2.1.dsc f6b292c6b31ff1634efc44c2d24f712ab4a616a190341d9ee5f00d7542add3e3 51308 jupyter-notebook_5.7.4-2.1.debian.tar.xz 43579806c914a1302a32fe76c13483d68d4a6ab8dc398c8909e33861e12d9837 13307 jupyter-notebook_5.7.4-2.1_source.buildinfo Files: 5719cbc278111a987fa1128163224ad6 4043 python optional jupyter-notebook_5.7.4-2.1.dsc aaaef51f175a9c64f2b36510fb791d35 51308 python optional jupyter-notebook_5.7.4-2.1.debian.tar.xz 56a422be45cf862db538195522e9400c 13307 python optional jupyter-notebook_5.7.4-2.1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAlyfkNsACgkQLOzpNQ7O vkryExAAnjXRZOI8fK0n+4/J7GkM36FMnPTaO8fe5LVYHKCBm5LkQss02mDLv71d mGil/Bf83WxO/oGxov1AnllNKBpHPI7e7LwP4YZyoGv+hc7COXzQHgS+iu+zHPUj TCux8VOv5o6wEhlJPMqOzfW3Xji47dBQWa/p/Uq5FO8P8sZXe++JW2laXsGrDfT0 4xn2+wf6P+7UxbNBKWXkd4SiSyzGL+iyUWWtszDsZhEl+ju0KNe7GfIQ4lL2mBie wIN3L3Yqxb0vN+U84YLRVNa3wzhN2Ih1x+jANnHk98CSIOJZeDwdSYFOdkIj5NnU JwjtTtrqpRzJb4kQkebb6XY4N8e8f4yCwTucwPqtYzifYRKskpb94nUN9/D6dr0u h3qsEbzmC6zS3AxzmWV1grWnX/67do2lbk49gTbybCle99mwWZkIYgoiVrX5HbZW IKd/aMhIqNtx0a4yupt+i8ywidCdD2X3q47hU3UC5MdrlHaHM0fO/fIo7h0quMAQ XJhNBAp9f2ul22R4GC0L+84w6OxcH5a5oyVHVsyTERpYrcNl/H60Ubgd8KiT+LYd muPe6KE4RH7qPPzP2ABhvLtzCNxIzKQf9Dj3en34RsrWWQPFftoNfwdxWjK4SJX1 mnerz6GtkaRRZPtHDSIQc+S1GijT/4Gk7Kx2yub+WqGtvfdsoaM= =fQMA -----END PGP SIGNATURE-----
--- End Message ---