radxa-build / rock-5b

ROCK 5B
https://radxa-build.github.io/rock-5b/
Other
82 stars 9 forks source link

Official images (Debian and Ubuntu) list 'Unsupported platform: Radxa Rock 5b' #10

Open RainmakerRaw opened 10 months ago

RainmakerRaw commented 10 months ago

Per unanswered forum post here.

Using the latest official builds for Debian and Ubuntu 22.04, every software installation or update results in an error that Radxa ROCK 5B is an unsupported platform, and the flash-kernel/initramfs update fails.

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up flash-kernel (3.104ubuntu17) ...
flash-kernel: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-5.10.110-28-rockchip
Unsupported platform 'Radxa ROCK 5B'.
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)

and also:

Processing triggers for flash-kernel (3.104ubuntu17) ...
Unsupported platform 'Radxa ROCK 5B'.
dpkg: error processing package flash-kernel (--configure):
 installed flash-kernel package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
update-initramfs: Generating /boot/initrd.img-5.10.110-28-rockchip
Unsupported platform 'Radxa ROCK 5B'.
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:
 flash-kernel
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have tried Debian Bullseye, Ubuntu 20.04 and Ubuntu 22.04 - all provided by Radxa - and still see this error. Can anyone please advise?

RadxaYuntian commented 10 months ago

We do not officially support Ubuntu at this moment, and the images are generated to test the build system. On our Debian system we do not install flash-kernel so that error can't possibly happen, and I was just helping another ROCK 5B customers that some function stops working after a system update, so I'm pretty sure the upgrade was OK.

I'll reply to your forum post over there.