Getting error installing rockpi4b-rk-u-boot-latest

Please help , i invested in getting m2.nvme adapter and 1TB ssd, trying to install
rockpi4b-rk-u-boot-latest but i am getting below errors .

$ sudo apt-get install -f -y rockpi4b-rk-u-boot-latest
Reading package lists… Done
Building dependency tree
Reading state information… Done
rockpi4b-rk-u-boot-latest is already the newest version (2017.09-2695-g7c49a7da79).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up rockpi4b-rk-ubootimg (2017.09-2695-g7c49a7da79) …
Consider upgrading device bootloader with ‘rockpi4b_upgrade_bootloader.sh’.
Missing board bootloader image: /usr/lib/u-boot-rockpi4b/rockpi4b-rk-uboot.img
dpkg: error processing package rockpi4b-rk-ubootimg (–configure):
installed rockpi4b-rk-ubootimg package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of rockpi4b-rk-u-boot-latest:
rockpi4b-rk-u-boot-latest depends on rockpi4b-rk-ubootimg (= 2017.09-2695-g7c49a7da79); however:
Package rockpi4b-rk-ubootimg is not configured yet.
Version of rockpi4b-rk-ubootimg on system, provided by rockpi4b-rk-ubootimg:all, is .

dpkg: error processing package rockpi4b-rk-u-boot-latest (–configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
rockpi4b-rk-ubootimg
rockpi4b-rk-u-boot-latest
E: Sub-process /usr/bin/dpkg returned an error code (1)

How can i fix these ?

Version of rockpi4b-rk-ubootimg on system, provided by rockpi4b-rk-ubootimg:all, is .

how should I specify version ?

Hi, we have solved this problem. You can install that package once again.

sudo apt-get update
sudo apt-get install -y rockpi4b-rk-u-boot-latest

was it SPI was erased as showin in the first post after 2 days yesterday night shutdown and today its not booting, Router detects its ip both eth01 and wlan connected but nothing is running. No display.

This issue is still occurring

rock@rockpi4b:~$ sudo apt-get install -y rockpi4b-rk-u-boot-latest
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package rockpi4b-rk-u-boot-latest

Hello! We have solved this problem.
You can try again with this image.
https://dl.radxa.com/rockpi4/images/debian/rockpi4b_debian_buster_xfce4_arm64_20210608_1321-gpt.img.gz

@seaurchin

Does that mean I have to reinstall Debian to get this?

Are you going to add it to the apt repos? That would be the ideal thing to do. Then people can just do an apt install.