Installation auf raspberry 4B kernel 6.1.28-v8+ schlägt fehl
Closed this issue · 1 comments
Bei der Installation des kernel headers raspberrypi-kernel-headers (1:1.20230405-1) kommt die Fehlermeldung
raspberrypi-kernel-headers (1:1.20230405-1) wird eingerichtet ...
run-parts: executing /etc/kernel/header_postinst.d/dkms 6.1.21+
dkms: running auto installation service for kernel 6.1.21+:.
run-parts: executing /etc/kernel/header_postinst.d/dkms 6.1.21-v7+
dkms: running auto installation service for kernel 6.1.21-v7+:.
run-parts: executing /etc/kernel/header_postinst.d/dkms 6.1.21-v7l+
dkms: running auto installation service for kernel 6.1.21-v7l+:.
run-parts: executing /etc/kernel/header_postinst.d/dkms 6.1.21-v8+
dkms: running auto installation service for kernel 6.1.21-v8+:.
pivccu-modules-dkms (1.0.84) wird eingerichtet ...
Ensure non mixed processor architecure ... Done
Create kernel modules ... FAILED
Check kernel headers ... FAILED
No headers found for current active kernel 6.1.28-v8+
Enable DKMS service ... Done
Auf den ersten Blick stimmen die Kernel-Versionen nicht überein. Gibt es da einen Trick?
Die Lösung ist, https://forums.raspberrypi.com/viewtopic.php?t=344825:
You've run rpi-update which downloaded the latest development kernel. It won't match up with the kernel headers in the repo. Run
sudo apt install --reinstall raspberrypi-kernel raspberrypi-bootloader
to revert back to the repo kernel.