Hi all! I’m trying to install the kernel headers but I’m getting the error:

apt-get 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.16.17-sun50iw9
E: Couldn’t find any package by glob ‘linux-headers-5.16.17-sun50iw9’
E: Couldn’t find any package by regex ‘linux-headers-5.16.17-sun50iw9’
How to set kernel headers?
uname -a
Linux orangepizero2 5.16.17-sun50iw9 #3.0.8 SMP Wed Oct 5 14:28:04 CST 2022 aarch64 GNU/Linux

Try to manage dtb file. Look at enable-i2c-and-spi

1 Like