×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Unable to locate package raspberrypi-kernel-headers

  • Posts: 56
  • Thank you received: 6
I'm running the latest rev of the Pi4 distro and would like to get a USB wireless dongle working, but I can't compile the driver for it because I can't install the kernel-headers. What I see is:
stellarmate@stellarmate:~/rtl8812au$ uname -a
Linux stellarmate 4.19.63-v7l+ #1249 SMP Thu Aug 1 16:31:35 BST 2019 armv7l armv7l armv7l GNU/Linux
stellarmate@stellarmate:~/rtl8812au$ sudo apt-get install raspberrypi-kernel-headers build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package raspberrypi-kernel-headers

I did an apt-cache search linux-headers and don't see a package for 4.19.x so is there any way to resolve this? Thanks!

Regards,
Gord
4 years 5 months ago #45036

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809
I had an issue with that awhile ago. I added a script to my AstroPi3 repo to deal with it. You can see if some of the commands in there fix your issue.

github.com/rlancaste/AstroPi3/blob/maste...l_driverRTL8822BU.sh
4 years 5 months ago #45037

Please Log in or Create an account to join the conversation.

  • Posts: 56
  • Thank you received: 6
Unfortunately no, the script is essentially trying to install the same package as both the generic package name and a specific kernel version, neither of which exist in the repo for the version of the OS I'm running. Thanks tho! -- gt
4 years 5 months ago #45038

Please Log in or Create an account to join the conversation.

Time to create page: 0.569 seconds