Package: dpkg Version: 1.20.9 Severity: normal Dear Maintainer,
Protection is applied to foreign-arch packages (e.g. libgcc-s1:i386 on amd64) even though they aren't relevant to the scenarios that protection is designed to prevent (as I understand it): > Protected packages contain mostly important system boot > infrastructure. Removing them might cause the whole system to be > unable to boot, so use with caution. Would it be possible for removal of such packages not to require --force-remove-protected, at least if the corresponding native arch package is installed? The latter check isn't useful with libraries (where, if nothing depends on them, we can be certain that they are not needed for the system to boot), but would catch situations where e.g. the system's init is not the native package. (I imagine there's a better approach to this.) Regards, Stephen -- Package-specific info: -- System Information: Debian Release: 11.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable'), (100, 'unstable-debug'), (100, 'testing-debug'), (100, 'unstable'), (100, 'testing'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, arm64 Kernel: Linux 5.10.0-12-amd64 (SMP w/8 CPU threads) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dpkg depends on: ii libbz2-1.0 1.0.8-4 ii libc6 2.31-13+deb11u3 ii liblzma5 5.2.5-2 ii libselinux1 3.1-3 ii tar 1.34+dfsg-1 ii zlib1g 1:1.2.11.dfsg-2 dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 2.2.4 ii debsig-verify 0.23+b2 -- no debconf information