Package: python3.9-minimal

Version: 3.9.2-1

Severity: grave


When attempting to install python3.9-minimal on a system that has been upgraded from buster, during postinst a segmentation fault is reported and the scriptlet terminates with exit code 139.


After extracting the postinst scriptlet and doing some testing with the half-installed package, I found out that the error is occurring in line 51 when some files are to be byte-compiled. Here the Python interpreter throws a segmentation fault (can easily be reproduced by extracting the postinst script and then manually executing it on the installed but not yet configured package).


This, of course, breaks the installation of various components that are relying on Python like reportbug and certbot.


Also, uninstalling everything that is part of Python and manually clearing any files and directories related to Python doesn't solve the issue, either, and the same error is still occurring.


My system in use: Debian GNU/Linux 11.2 (bullseye) with bullseye-backports, kernel 5.14.9-2~bpo11+1, and libc6 2.31-13+deb11u2.

Reply via email to