apt update, apt upgrade, automatic kernel change (downgrade) to 4.19

Hi,
I am using Beagle Bone Black, Debian Buster image, updated kernel to 5.10. installed on eMMC.
When I use:
apt update
apt upgrade
the system updates Debian packages but down downgrades the kernel to 4.19.
Is it possible to avoid the downgrade of the kernel or get updates for the running kernel 5.10?

Thank you for your help.
PP

Hi @ppBBB , the kernel meta package for 4.19.x might be installed, check with:

debian@bbb-pwr01-ser09:~$ dpkg --list | grep bbb.io-kernel
ii  bbb.io-kernel-4.19-ti-am335x         1.20220416.0-0~buster+20220416              all          BeagleBoard.org 4.19-ti for am335x
ii  bbb.io-kernel-tasks                  1.20220416.0-0~buster+20220416              all          BeagleBoard.org Kernel Branche

If you want to switch to v5.10.x or one of the others just do:

sudo apt update
sudo apt install bbb.io-kernel-5.10-ti-am335x
sudo apt remove bbb.io-kernel-4.19-ti-am335x --purge
sudo reboot

Regards,

Hi Robert,
thank you for your fast answer.
I am using the BBB with python3 without any capes, just as communication base.

  1. I would like to switch to Debian 11.x, because it has newer python versions and other more updated packages.
    Do you think it is already stable enough for 24/7 use?
  2. The BBB will be finally installed in a location where I can access the system via ssh, but it will not have a direct connection to the internet (for later updates etc.). I have seen in the general discussion that more than one kernel can be stored on the system. How would it be possible to switch between these stored kernels in case issues occur. e.g. try kernel 5.15 in case of problems downgrade to 5.10.
    Thanks again.
    pp

it’s been working fine for me… But use a fresh image, as i’ve moved everything to systemd-networkd, so there is a lot of churn if you do a dist-upgrade…

you can install multple versions, just update /boot/uEnv.txt uname_r variable and reboot…

Regards,

Hi Robert,
excellent support!!
One more question:

  • I use balena etcher to copy images to sd card.

  • to install the image to eMMC I use:

  • /opt/scripts/tools/eMMC/init-eMMC-flasher-v3-bbbl.sh

  • to save the current eMMC image to sd card i use:

  • /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh

Which tools do you recommend to make a backup copy of the sd card to hard disk. (Windows 7, …)
Balena etcher has no such feature.
I found USB Image Tool.

Regards

I use the WIN32DiskImager. The attached photo shows it making an image of the sd card from a BeagleBone Black. Finally found a use for one of my Beagles since the 3D printer (Replicape) and the MachineKit were a bust.

https://www.pdp8online.com/mfm/

This uses an older version of the OS with the SLOTS which I’m totally happier with. Was able to recover the contents of a 40MB (yes Megabyte) ST506 hard disk drive onto the microSD. Now the board is wired to replace the 40 year old hard drive.

I’ll likely buy a couple more PC boards and populate them to use up the other two BBBs.

John

image001.jpg

BackupBBBImage.jpg

1 Like