Bug#901001: python3-minimal should Pre-Depend on python3.N-minimal
Package: python3-default
Severity: serious
When python3 default version changes, and a new python3-minimal is unpacked before its
python3.N-minimal, we end up with a system without a working python3 symlink. This breaks
upgrades because prerm scripts of python3 packages use:
if which py3clean >/dev/null 2>&1; then
py3clean -p PKGNAME
the which succeeds, as py3clean exists, but since the python3 symlink will be broken,
py3clean will be run and fail with Not Found.
(originally reported at https://bugs.launchpad.net/bugs/1768379)
(CCing debian-devel)
-- System Information:
Debian Release: buster/sid
APT prefers cosmic
APT policy: (500, 'cosmic'), (100, 'cosmic-proposed')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.15.0-20-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en
Reply to: