Source: python3-stdlib-extensions Version: 3.7.2-1 Severity: serious Hi,
When upgrading the packages today, dpkg is showing the follwing messages: [...] Dépaquetage de python3-lib2to3 (3.7.2-1) sur (3.7.1-1) ... dpkg: avertissement: impossible de supprimer l'ancien répertoire « /usr/lib/python3.6/lib2to3/pgen2 » : Le dossier n'est pas vide dpkg: avertissement: impossible de supprimer l'ancien répertoire « /usr/lib/python3.6/lib2to3/fixes » : Le dossier n'est pas vide dpkg: avertissement: impossible de supprimer l'ancien répertoire « /usr/lib/python3.6/lib2to3 » : Le dossier n'est pas vide [...] Dépaquetage de python3-distutils (3.7.2-1) sur (3.7.1-1) ... dpkg: avertissement: impossible de supprimer l'ancien répertoire « /usr/lib/python3.6/distutils/command » : Le dossier n'est pas vide dpkg: avertissement: impossible de supprimer l'ancien répertoire « /usr/lib/python3.6/distutils » : Le dossier n'est pas vide dpkg: avertissement: impossible de supprimer l'ancien répertoire « /usr/lib/python3.6 » : Le dossier n'est pas vide And indeed, the directories are still existing with a log of .pyc files in them. AFAIKS, python3-stdlib-extensions is not using dh_python (why?) but a custom postinst/prerm script and this is not working as expected. Kind regards, Laurent Bigonville -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy