radxa-build / rock-5b

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

The following packages have been kept back: u-boot-rock-5b for b39 on Rock 5B #13

Closed keypunch416 closed 6 months ago

keypunch416 commented 6 months ago

Just received Rock 5B order few days ago.

First Rock 5B tested is Blue V1.46 8GB.

Image used was latest Debian Bullseye CLI image b39

Via ssh performed apt update and apt upgrade that both completed successfully except u-boot related issues that will have separate issues opened. This is second of the two u-boot related issues.

Attempts in order of occurrence using apt upgrade where u-boot-rock-5b was not upgraded, but held back:

rock@rock-5b:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  yq
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  linux-headers-5.10.110-29-rockchip linux-image-5.10.110-29-rockchip python3-yaml
The following packages have been kept back:
  u-boot-rock-5b
The following packages will be upgraded:
  8852bu-dkms adduser base-files bind9-host bind9-libs bluetooth bluez cpio curl dbus distro-info-data dpkg dpkg-dev file libaom0 libbluetooth3 libbsd0
  libc-bin libc-l10n libc6 libcups2 libcurl3-gnutls libcurl4 libdbus-1-3 libdpkg-perl libflac8 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0
  libmagic-mgc libmagic1 libncurses6 libncursesw6 libnghttp2-14 libssl1.1 libtiff5 libtinfo6 libvpx6 libwebp6 libwebpmux3 libx11-6 libx11-data libx11-xcb1
  linux-headers-rock-5b linux-image-rock-5b locales ncurses-base ncurses-bin openssh-client openssh-server openssh-sftp-server openssl qemu-utils
  radxa-firmware radxa-system-config-common radxa-system-config-rockchip  ssh tzdata u-boot-menu
61 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 68.0 MB of archives.
After this operation, 111 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
rock@rock-5b:~$ apt list -a --upgradable
Listing... Done
u-boot-rock-5b/bullseye,bullseye 2017.09-9-d8c5a68 all [upgradable from: 2017.09-1-3a557f6]
u-boot-rock-5b/now 2017.09-1-3a557f6 all [installed,upgradable to: 2017.09-9-d8c5a68]

rock@rock-5b:~$
rock@rock-5b:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  yq
Use 'sudo apt autoremove' to remove it.
The following packages have been kept back:
  u-boot-rock-5b
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
rock@rock-5b:~$ apt list -a --upgradable
Listing... Done
u-boot-rock-5b/bullseye,bullseye 2017.09-9-d8c5a68 all [upgradable from: 2017.09-1-3a557f6]
u-boot-rock-5b/now 2017.09-1-3a557f6 all [installed,upgradable to: 2017.09-9-d8c5a68]

rock@rock-5b:~$
RadxaYuntian commented 6 months ago

Your code block formatting was broken and I fixed it.


In short, you should use rsetup to update the system, which calls apt-get dist-upgrade.

Please check this Stackoverflow question for details.

RadxaYuntian commented 6 months ago

BTW we treat our system a bit like Proxmox VE which is also Debian + custom packages, and they also use apt dist-upgrade. We have to do this to meet the changing package dependencies.