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

1 Like

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.

I’m having the same issue on ubuntu focal; This package is not included on radxa’s apt repository, as it only contains the following packages:

96boards-tools-common
amlogic-adbd
amlogic-overlay
brcm-patchram-plus1
broadcom-wifibt-firmware
gstreamer1.0-rockchip1
gstreamer1.0-rockchip1-dbgsym
gstreamer1.0-rockchip1-extra
gstreamer1.0-rockchip1-extra-dbgsym
intel-wifibt-firmware
io
libmali-bifrost-g31-g2p0-x11
libmali-bifrost-g31-g2p0-x11-dbgsym
libmali-bifrost-g52-g2p0-x11
libmali-bifrost-g52-g2p0-x11-dbgsym
libmali-midgard-t86x-r14p0-x11
libmali-midgard-t86x-r14p0-x11-dbgsym
libmali-midgard-t86x-r18p0-x11
libmali-midgard-t86x-r18p0-x11-dbgsym
libmali-utgard-450-r7p0-x11
libmali-utgard-450-r7p0-x11-dbgsym
libmali-valhall-g610-g6p0-x11
libmali-valhall-g610-g6p0-x11-dbgsym
libmraa
linux-4.19-rock-3-latest
linux-4.4-rock-pi-4-latest
linux-4.4-rock-pi-e-latest
linux-4.4-rock-pi-n10-latest
linux-4.4-rock-pi-s-latest
linux-5.10-radxa-zero-latest
linux-5.10-rock-5-latest
linux-firmware-image-4.4.143-69-rockchip-g8ccef796d27d
linux-firmware-image-4.4.154-116-rockchip-g86a614bc15b3
linux-firmware-image-4.4.167-22-rockchip-g206ee2c36a39
linux-firmware-image-4.4.194-21-rockchip-g12a182552739
linux-headers-4.19.193-58-rockchip-gbac1feba87f0
linux-headers-4.19.193-61-rockchip-g886d07e72f7e
linux-headers-4.19.193-62-rockchip-gf0b4c3d6f86f
linux-headers-4.19.193-63-rockchip-g9fab1a7a940b
linux-headers-4.19.193-64-rockchip-g50c9e333fa68
linux-headers-4.19.193-65-rockchip-gf1279cb7a052
linux-headers-4.19.193-66-rockchip-gb98ed7474d3e
linux-headers-4.19.193-67-rockchip-g450948183988
linux-headers-4.4.143-69-rockchip-g8ccef796d27d
linux-headers-4.4.154-116-rockchip-g86a614bc15b3
linux-headers-4.4.167-22-rockchip-g206ee2c36a39
linux-headers-4.4.194-21-rockchip-g12a182552739
linux-headers-5.10.110-30-rockchip-g12ee46f17a0c
linux-headers-5.10.110-31-rockchip-ged1406c748b1
linux-headers-5.10.110-32-rockchip-ga5941066c2de
linux-headers-5.10.110-33-rockchip-g42dcedf2c3ac
linux-headers-5.10.110-34-rockchip-gca15bbe36e6c
linux-headers-5.10.110-35-rockchip-g98c1daa32982
linux-headers-5.10.110-36-rockchip-gba392dc725fa
linux-headers-5.10.110-37-rockchip-g74457be0716d
linux-headers-5.10.66-27-rockchip-gea60d388902d
linux-headers-5.10.66-28-rockchip-gc428536281d6
linux-headers-5.10.69-13-amlogic-g104342c59952
linux-image-4.19.193-58-rockchip-gbac1feba87f0
linux-image-4.19.193-61-rockchip-g886d07e72f7e
linux-image-4.19.193-62-rockchip-gf0b4c3d6f86f
linux-image-4.19.193-63-rockchip-g9fab1a7a940b
linux-image-4.19.193-64-rockchip-g50c9e333fa68
linux-image-4.19.193-65-rockchip-gf1279cb7a052
linux-image-4.19.193-66-rockchip-gb98ed7474d3e
linux-image-4.19.193-67-rockchip-g450948183988
linux-image-4.4.143-69-rockchip-g8ccef796d27d
linux-image-4.4.154-116-rockchip-g86a614bc15b3
linux-image-4.4.167-22-rockchip-g206ee2c36a39
linux-image-4.4.194-21-rockchip-g12a182552739
linux-image-5.10.110-30-rockchip-g12ee46f17a0c
linux-image-5.10.110-31-rockchip-ged1406c748b1
linux-image-5.10.110-32-rockchip-ga5941066c2de
linux-image-5.10.110-33-rockchip-g42dcedf2c3ac
linux-image-5.10.110-34-rockchip-gca15bbe36e6c
linux-image-5.10.110-35-rockchip-g98c1daa32982
linux-image-5.10.110-36-rockchip-gba392dc725fa
linux-image-5.10.110-37-rockchip-g74457be0716d
linux-image-5.10.66-26-rockchip-gcf277d5eb46e
linux-image-5.10.66-27-rockchip-gea60d388902d
linux-image-5.10.66-28-rockchip-gc428536281d6
linux-image-5.10.69-13-amlogic-g104342c59952
networkmanager-patch
qualcomm-wifibt-firmware
radxa-add-overlay
radxa-installer
radxa-test
realtek-bt-firmware
realtek-wifibt-firmware
resize-assistant
rkisp-engine
rockchip-adbd
rockchip-mali-midgard14
rockchip-mali-midgard-dev
rockchip-npu
rockchip-overlay
rockpi4-dtbo
rockpi4-dtbo-4.4
rockpi4-dtbo-5.10
rtl8723be-firmware
rtl8723ds-firmware
upgrade-tool

… is there any plans to reinstate that package into the repo?

I went ahead and did a further investigation creating this simple script:

#!/bin/bash
distros="bionic focal stretch buster"
releases="stable testing"
architectures="armhf arm64"
for distro in $distros; do
	for release in $releases; do
		for architecture in $architectures; do
			echo "looking in $architecture@$distro-$release... "
			curl -s https://apt.radxa.com/$distro-stable/dists/$distro/main/binary-$architecture/Packages |\
				grep "Package: rockpi4b-rk-u-boot-latest" | sed -e 's/^/\t/'
		done;
	done;
done;

… and that produced the following output:

looking in armhf@bionic-stable... 
	Package: rockpi4b-rk-u-boot-latest
looking in arm64@bionic-stable... 
	Package: rockpi4b-rk-u-boot-latest
looking in armhf@bionic-testing... 
	Package: rockpi4b-rk-u-boot-latest
looking in arm64@bionic-testing... 
	Package: rockpi4b-rk-u-boot-latest
looking in armhf@focal-stable... 
looking in arm64@focal-stable... 
looking in armhf@focal-testing... 
looking in arm64@focal-testing... 
looking in armhf@stretch-stable... 
looking in arm64@stretch-stable... 
looking in armhf@stretch-testing... 
looking in arm64@stretch-testing... 
looking in armhf@buster-stable... 
looking in arm64@buster-stable... 
looking in armhf@buster-testing... 
looking in arm64@buster-testing... 

… i.e. this package is only available for bionic release; One could download the package and its dependency for that release and install it manually. Those files are located in:

https://apt.radxa.com/bionic-stable/pool/main/r/rockpi4b-rk-ubootimg/rockpi4b-rk-ubootimg_2017.09-2700-g70b4cfe057_all.deb
https://apt.radxa.com/bionic-stable/pool/main/r/rockpi4b-rk-u-boot-latest/rockpi4b-rk-u-boot-latest_2017.09-2700-g70b4cfe057_all.deb

I went ahead and did that. However, despite being the latest release on developer’s git, its over 1400 commits behind and it would be nice to have an updated version distributed to all repos, to facilitate the customers’ life.

1 Like