Unable to locate package linux-headers-4.4.9-ti-r25
I am trying to compile some drivers for my wifi dongle. I have done apt update and dist-upgrade.
When I execute the command:
apt install linux-headers-$(uname -r)
I get:
E: Unable to locate package linux-headers-4.4.9-ti-r25
E: Couldn't find any package by regex 'linux-headers-4.4.9-ti-r25'
I can't figure where to get these. Any ideas?
When I execute the command:
apt install linux-headers-$(uname -r)
I get:
E: Unable to locate package linux-headers-4.4.9-ti-r25
E: Couldn't find any package by regex 'linux-headers-4.4.9-ti-r25'
I can't figure where to get these. Any ideas?
Comments
Try updating to the last supported Beagle Debian 8 version (8.11) using the "pkug" command (alias for "apt-get -y dist-upgrade"). Then try installing the headers for 4.4.155-ti-r151
Output from "dog" command on Debian 8.11:
Here is the output of my dog command:
Debian 8.11
BeagleBoard.org Debian Image 2016-05-13
Linux kiwisdr 4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC 2016 armv7l GNU/Linux
So what was I supposed to do here? I need to match the linux-header versions to the one I am running, right? Or do I?
Thanks for your help and fast reply!
root@kiwisdr:~# cat /proc/version
Linux version 4.4.9-ti-r25 (root@b3-jetson-tk1-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Thu May 5 23:08:13 UTC 2016
Is there something else I have to do to trigger the upgrade?
So your source would be here: https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.155.tar.xz
Then follow the directions to unpack and point your system to the new sources, which should be complete. Then new compiled software should work, but you might struggle with existing glib and other existing libraries that depend on the sources they were compiled with, which will create more work to recompile those complaining packages. It would be a lot better to get the headers from the repository. To bad you aren't finding them.
Ron Morell
KA7U
After upgrading to 8.11 I used these instructions to install the 4.4.155 kernel and also the 4.4.155 kernel header files:
https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Kernel_Upgrade
I didn't try these instructions with Debian 8.5. Apologies for misleading you earlier. If you use the forum search box for ".155" there are several threads where people said they had to use the 4.4.155 kernel before certain WiFi dongles would install and/or work.
root@kiwisdr:/opt/scripts/tools# git pull remote: Enumerating objects: 6777, done. remote: Counting objects: 100% (6776/6776), done. remote: Compressing objects: 100% (2009/2009), done. remote: Total 6699 (delta 4650), reused 6558 (delta 4513), pack-reused 0 Receiving objects: 100% (6699/6699), 11.94 MiB | 3.32 MiB/s, done. Resolving deltas: 100% (4650/4650), completed with 51 local objects. From https://github.com/RobertCNelson/boot-scripts 9e4382c..029041f master -> origin/master Updating 9e4382c..029041f error: Your local changes to the following files would be overwritten by merge: tools/eMMC/init-eMMC-flasher-v3.sh Please, commit your changes or stash them before you can merge. Aborting
My advice at this point is to just start over: re-install the factory image from the sd card, let the auto-update process complete, upgrade to Debian 8.11 and then install the .155 kernel from the above instructions.