View Issue Details

IDProjectCategoryView StatusLast Update
0009883Kali LinuxKali Package Bugpublic2026-10-03 15:49
Reporterwhaddock Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0009883: pyinstaller-hooks-contrib 2026.7-1 lacks Breaks/Replaces on python3-pyinstaller-hooks-contrib (file overwrite during upgrade)
Description

Upgrading from Kali 2025.3 to current kali-rolling with apt full-upgrade fails
unpacking pyinstaller-hooks-contrib 2026.7-1:

Preparing to unpack .../0683-pyinstaller-hooks-contrib_2026.7-1_all.deb...
dpkg: error processing archive /tmp/apt-dpkg-install-N1LL6l/0683-pyinstaller-hooks-contrib_2026.7-1_all.deb (--unpack):
trying to overwrite '/usr/lib/python3/dist-packages/_pyinstaller_hooks_contrib/init.py',
which is also in package python3-pyinstaller-hooks-contrib (2025.1-0kali1)

The Kali-specific package python3-pyinstaller-hooks-contrib appears to have been
superseded by pyinstaller-hooks-contrib, but the new package does not declare
Breaks/Replaces against the old name, so dpkg refuses the takeover.

Steps to Reproduce:

  1. Kali 2025.3 install with pyinstaller / python3-pyinstaller-hooks-contrib (2025.1-0kali1) installed
  2. apt update && apt full-upgrade

Additional Information:
Workaround:
dpkg -r --force-depends python3-pyinstaller-hooks-contrib
apt --fix-broken install && apt full-upgrade
Suggested fix: add to pyinstaller-hooks-contrib debian/control:
Breaks: python3-pyinstaller-hooks-contrib (<< 2026)
Replaces: python3-pyinstaller-hooks-contrib (<< 2026)
(or provide a transitional package)
Hardware: Lenovo ThinkPad X230 Tablet, amd64

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-10-03 15:48 whaddock New Issue