Joshua-Riek / ubuntu-rockchip

Ubuntu 22.04 and 24.04 for Rockchip RK35XX Devices
https://joshua-riek.github.io/ubuntu-rockchip-download/
GNU General Public License v3.0
1.83k stars 199 forks source link

APT Initramfs-tools error #899

Closed cody8764 closed 1 day ago

cody8764 commented 1 day ago

I was using Ubuntu normally but I then did an apt upgrade. I suddenly got an error every time I used apt saying:

Processing triggers for initramfs-tools (0.142ubuntu25.1) ... update-initramfs: Generating /boot/initrd.img-6.1.0-1017-rockchip Unsupported platform 'Orange Pi 5 Plus'. run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1 dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1)

How do I fix this error so that I can use apt normally again?

Joshua-Riek commented 1 day ago

For some reason you installed flash-kernel. Purge the package.

cody8764 commented 1 day ago

Thanks, It solved my issue!