[Pkg-raspi-maintainers] Bug#1040896: raspi-firmware: Unable to uninstall raspi-firmware on amd64 systems
William Chung
wiiliamchung360 at gmail.com
Wed Jul 12 05:23:39 BST 2023
Package: raspi-firmware
Version: 1.20220830+ds-1
Severity: important
X-Debbugs-Cc: wiiliamchung360 at gmail.com
Dear Maintainer,
Users are not able to uninstall raspi-firmware on amd64 systems, as the
initramfs hook will exit with the following error:
> raspi-firmware: missing /boot/firmware, did you forget to mount it?
> run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with
> return code 1
> run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
> dpkg: error processing package linux-image-6.1.0-10-amd64 (--configure):
> installed linux-image-6.1.0-10-amd64 package post-installation script
> subprocess returned error exit status 1
> dpkg: dependency problems prevent configuration of linux-image-amd64:
> linux-image-amd64 depends on linux-image-6.1.0-10-amd64 (= 6.1.37-1);
> however:
> Package linux-image-6.1.0-10-amd64 is not configured yet.
>
> dpkg: error processing package linux-image-amd64 (--configure):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
> linux-image-6.1.0-10-amd64
> linux-image-amd64
> E: Sub-process /usr/bin/dpkg returned an error code (1)
To purge raspi-firmware, users will need to prevent
/etc/kernel/postinst.d/z50-raspi-firmware from triggering.
A current workaround is to add `exit 0` at the first line of
/etc/kernel/postinst.d/z50-raspi-firmware
I don't know where raspi-firmware was pulled in from, but the package was
found in both systems where I installed debian bookworm (12) using the amd64
KDE live image. I assume that raspi-firmware is included by default.
-- System Information:
Debian Release: 12.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-9-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages raspi-firmware depends on:
ii dosfstools 4.2-1
ii dpkg 1.21.22
raspi-firmware recommends no packages.
Versions of packages raspi-firmware suggests:
ii bluez-firmware 1.2-9
ii firmware-brcm80211 20230210-5
ii firmware-misc-nonfree 20230210-5
More information about the Pkg-raspi-maintainers
mailing list