Latest Kernel Headers 5.10.168-ti-rt-r60

Hi,

I updated the Beaglebone Black to Debian 11 (bullseye).
I also updated the Kernel to the latest ‘5_10’ version.
$ sudo /opt/scripts/tools/update_kernel.sh --ti-channel --lts-5_10
My current kernel: Linux beaglebone 5.10.168-ti-rt-r60 #1bullseye SMP PREEMPT_RT Tue Apr 25 17:25:56 UTC 2023 armv7l GNU/Linux
Of course, by doing that I now need to recompile a module.
So, I tried downloading the Kernel headers using the command.
$ sudo apt-get install linux-headers-$(uname -r)
No Luck. I don’t see them using the command.
$ sudo apt-cache search linux-headers-

I don’t know what else to try.

Thanks

1 Like

HI @hollandprojects sorry about that… I was having network issues last week, thought everything got uploaded, looks like that never made it to the NAS…

I’ll tag '61 right now, so it’ll be available in a few hours…

PS, now that your a bullseye, you can use:

sudo apt install bbb.io-kernel-5.10-ti-am335x

and this will pull in kernel updates thru deb instead of update_kernel.sh

Regards,

Hi Robert,

It has been a couple of days and I am still not able to download the kernel headers.
I have also tried using the command you suggested to no avail.
sudo apt install bbb.io-kernel-5.10-ti-am335x
and
sudo apt install bbb.io-kernel-5.10-bone

Thank you,

Hi @hollandprojects this is fixed, for 5.10.168-ti-r61

debian@BeagleBone:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye
debian@BeagleBone:~$ uname -r
5.10.168-ti-r61
debian@BeagleBone:~$ sudo apt install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  linux-headers-5.10.168-ti-r61
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,681 kB of archives.
After this operation, 48.2 MB of additional disk space will be used.
Get:1 http://repos.rcn-ee.com/debian bullseye/main armhf linux-headers-5.10.168-ti-r61 armhf 1bullseye [7,681 kB]
Fetched 7,681 kB in 1s (5,951 kB/s)                         
Selecting previously unselected package linux-headers-5.10.168-ti-r61.
(Reading database ... 83993 files and directories currently installed.)
Preparing to unpack .../linux-headers-5.10.168-ti-r61_1bullseye_armhf.deb ...
Unpacking linux-headers-5.10.168-ti-r61 (1bullseye) ...
Setting up linux-headers-5.10.168-ti-r61 (1bullseye) ...

I’m ‘not sure’ what is wrong with my puppy. Must have eaten some bad kibble.

Maybe there is a problem with sources.list or firewall at work. I will try it at home this evening.
deb Index of /debian bullseye main
deb-src Index of /debian bullseye main
deb Index of /debian-security bullseye-security main
deb-src Index of /debian-security bullseye-security main
deb Index of /debian bullseye-updates main
deb-src Index of /debian bullseye-updates main

[hollandprojects@beaglebone:/home/hollandprojects]$ uname -r
5.10.168-ti-r61
[hollandprojects@beaglebone:/home/hollandprojects]$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
[hollandprojects@beaglebone:/home/hollandprojects]$ sudo apt-get update
Hit:1 Index of /debian bullseye InRelease
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:3 Index of /debian bullseye-updates InRelease [44.1 kB]
Reading package lists… Done
E: Release file for http://deb.debian.org/debian-security/dists/bullseye-security/InRelease is not valid yet (invalid for another 1d 0h 3min 22s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/bullseye-updates/InRelease is not valid yet (invalid for another 1d 4h 58min 32s). Updates for this repository will not be applied.
[hollandprojects@beaglebone:/home/hollandprojects]$ sudo apt install linux-headers-uname -r
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package linux-headers-5.10.168-ti-r61
E: Couldn’t find any package by glob ‘linux-headers-5.10.168-ti-r61’

Thank you,

Missing the beagle repo:

deb [arch=armhf signed-by=/usr/share/keyrings/rcn-ee-archive-keyring.gpg] http://repos.rcn-ee.com/debian/ bullseye main

You can can get the keyring from this package: Index of /repos/debian/pool/main/b/bbb.io-keyring

Regards,

It still doesn’t work.

I installed the keyring
sudo dpkg -i bbb.io-keyring_1.20230414.0-0~bullseye+20230414_all.deb

I added the additional repo to sources.list (see below)

$ ls /usr/share/keyrings
debian-archive-bullseye-automatic.gpg
debian-archive-bullseye-security-automatic.gpg
debian-archive-bullseye-stable.gpg
debian-archive-buster-automatic.gpg
debian-archive-buster-security-automatic.gpg
debian-archive-buster-stable.gpg
debian-archive-keyring.gpg
debian-archive-removed-keys.gpg
debian-archive-stretch-automatic.gpg
debian-archive-stretch-security-automatic.gpg
debian-archive-stretch-stable.gpg
rcn-ee-archive-keyring.gpg

$ cat /etc/apt/sources.list
deb [arch=armhf signed-by=/usr/share/keyrings/rcn-ee-archive-keyring.gpg] Index of /debian bullseye main
deb Index of /debian bullseye main
deb-src Index of /debian bullseye main
deb Index of /debian-security bullseye-security main
deb-src Index of /debian-security bullseye-security main
deb Index of /debian bullseye-updates main
deb-src Index of /debian bullseye-updates main

$ sudo apt install linux-headers-uname -r
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package linux-headers-5.10.168-ti-r61
E: Couldn’t find any package by glob ‘linux-headers-5.10.168-ti-r61’

$ sudo apt update
Hit:1 Index of /debian bullseye InRelease
Get:2 Index of /debian bullseye-updates InRelease [44.1 kB]
Get:3 Index of /debian bullseye InRelease [3,077 B]
Get:4 Index of /debian-security bullseye-security InRelease [48.4 kB]
Reading package lists… Done
E: Release file for http://deb.debian.org/debian/dists/bullseye-updates/InRelease is not valid yet (invalid for another 1d 1h 6min 45s). Updates for this repository will not be applied.
E: Release file for http://repos.rcn-ee.com/debian/dists/bullseye/InRelease is not valid yet (invalid for another 22min 32s). Updates for this repository will not be applied.
E: Release file for http://security.debian.org/debian-security/dists/bullseye-security/InRelease is not valid yet (invalid for another 1d 5h 2min 3s). Updates for this repository will not be applied.

Thank you,

Your clock is off… today everything relies on accurate clocks…

sudo apt install systemd-timesyncd
sudo systemctl enable --now systemd-timesyncd.service

Regards,

Thank you so much! Cheers! (Closed)