#1080248 python3-noiseprotocol has an undeclared file conflict on /usr/lib/python3/dist-packages/noise/__init__.py #1080248
- Package:
- python3-noiseprotocol
- Source:
- python3-noiseprotocol
- Submitter:
- Soren Stoutner
- Date:
- 2026-10-10 04:57:02 UTC
- Severity:
- normal
python3-noiseprotocol has an undeclared file conflict. This may result in an unpack error from dpkg. The file /usr/lib/python3/dist-packages/noise/__init__.py is contained in the packages * python3-noise * 1.2.3-3+b3 as present in bullseye * 1.2.3-4+b3 as present in bookworm * 1.2.3-4+b5 as present in trixie|unstable * python3-noiseprotocol/0.3.1-1 as present in unstable These packages can be unpacked concurrently, because there is no relevant Replaces or Conflicts relation. Attempting to unpack these packages concurrently results in an unpack error from dpkg, because none of the packages installs a diversion for the affected file. Kind regards The Debian Usr Merge Analysis Tool This bug report has been automatically filed with no human intervention. The source code is available at https://salsa.debian.org/helmutg/dumat. If the filing is unclear or in error, don't hesitate to contact helmut@subdivi.de for assistance.
We believe that the bug you reported is fixed in the latest version of python-noiseprotocol, 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 1080248@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Thomas Goirand <zigo@debian.org> (supplier of updated python-noiseprotocol 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) Format: 1.8 Date: Sun, 08 Sep 2024 13:06:01 +0200 Source: python-noiseprotocol Architecture: source Version: 0.3.1-2 Distribution: unstable Urgency: medium Maintainer: Home Assistant Team <team+homeassistant@tracker.debian.org> Changed-By: Thomas Goirand <zigo@debian.org> Closes: 1080248 Changes: python-noiseprotocol (0.3.1-2) unstable; urgency=medium . * Package as noiseprotocol module name, not noise (Closes: #1080248). Checksums-Sha1: 7e76dead0527c48a7f8cb375129204abcd18234e 2304 python-noiseprotocol_0.3.1-2.dsc fbac425ef676a4ff1307a1ad5665430d1dd75719 3800 python-noiseprotocol_0.3.1-2.debian.tar.xz 5b11a1e460e9796e4b3b6071893d1c6efedb364b 7733 python-noiseprotocol_0.3.1-2_amd64.buildinfo Checksums-Sha256: eabd24521d039f5a80438e407e54c624b2808942f54a5b2fde92d6d5fd0e1078 2304 python-noiseprotocol_0.3.1-2.dsc b0062ccd51eb736915e07928dc72108a75b745b80189068bd15be9cb5292240a 3800 python-noiseprotocol_0.3.1-2.debian.tar.xz f6505fbb6eebd5ff870474411e937aa69af766c19cd93771b850afd4ef5f2b36 7733 python-noiseprotocol_0.3.1-2_amd64.buildinfo Files: 8cb2c4bfbc5dc8e0f965fdd27adf7902 2304 python optional python-noiseprotocol_0.3.1-2.dsc c4c22117d4cc2155684357f86d875ea1 3800 python optional python-noiseprotocol_0.3.1-2.debian.tar.xz 343c5ab2cfaa36675cca82eadfa3fcc0 7733 python optional python-noiseprotocol_0.3.1-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmbdh6UACgkQ1BatFaxr Q/4wVA//W3YbOk5nFbIucG6V6fDvMwftgtBw/GmaVlU2+9vogPjwtclucYaIhm40 IkqtM2YDOLvxrJyWSH7Fb6r5RRNDcd3a8L/2edhiZ7CM6kHAGnGN3BNNs/7wCktG grasTXuV/XpbhSSSHHc7ml23eBqqUbpnvMiTmvlCBoyPQp532HyOuD2mHI5uIlZv BQp8xnxOqvp5YBkbyl7rgpU7Klp1Jef0sR8e0JCBcJTE6Nz1o/+dy9znLLbew1Oz E+ViYoAISgKBfq9TJMbXJBcSuVWCR340C7hpt6COnA/t1Vpw342clrO0NAMsXRHp BJUPt2udtv/0bz5UCYRBFipI3ggatFZQesaEi94CXazl2YvElq4KBNXZ5GkoFadH QbYPNtUz5EKDy2GyGdxt165TpfH1O/CUS+ccddwu2C9o/ej5UwdSQdBSOngNf98O SQHtifG+1bnW/JReKI2fTCfRbJT4+dBdUPyYI4pmOaRhSyGvSh+FP8piYvLs1gn9 L1slXqhXDW12AoHleCbnxoEpRwX4uroxJtnYFHFdotdVYcV+B1qr6v2DZ4Urt/od QHHS8ZmYZgIC/Twyqrj97FbqPLidfTOzVOZeMu4++u2JZGdwk2mAB3GiX6nMiG6Z G6OSoLBB13dUiVD0lHNO7VfRgglv/dJ5Q14IY+cWVmEe9S9wMy8= =uwnF -----END PGP SIGNATURE-----
Renaming the import from noise to noiseprotocol broke the python3-trezor package. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146309 Currently it is being worked around with a patch, but this is not ideal because this solution would require patches in *every* program that uses python3-noiseprotocol, and in some cases those patches could be much larger and take more maintenance than what is required for python3-trezor. I think it would be a much better solutions to declare a Breaks for the python3-noise package. As these have an upstream namespace conflict, there is no dependency that expects them to be coinstallable.
Thomas, Do you have an objection to declaring a Breaks with python3-noise?
This is prohibited by policy 10.1. We had this problem in the past e.g. when with git and node, (see #614907). Not in one dependency, but this splits a part of our archive into two mutually exclusive groups. cu Adrian
On Thursday, October 8, 2026 11:29:40 AM Mountain Standard Time Adrian Bunk wrote: larger That is a good point. Quoting from the policy: “If this case happens, one of the programs must be renamed. The maintainers should report this to the debian-devel mailing list and try to find a consensus about which program will have to be renamed. If a consensus cannot be reached, both programs must be renamed.” Are you aware if this case was discussed on debian-devel?
On Thursday, October 8, 2026 11:29:40 AM Mountain Standard Time Adrian Bunk wrote: larger That is a good point. Quoting from the policy: “If this case happens, one of the programs must be renamed. The maintainers should report this to the debian-devel mailing list and try to find a consensus about which program will have to be renamed. If a consensus cannot be reached, both programs must be renamed.” Are you aware if this case was discussed on debian-devel?