Unable to locate package linux-headers-3.8.13 error while installing linux headers on my beagle bone

1,757 views
Skip to first unread message

tarakre...@gmail.com

unread,
Jul 11, 2015, 5:15:49 PM7/11/15
to beagl...@googlegroups.com
hi all,
I recently purchased beagle bone black and i want to install linux headers to build modules.But when i try to install using command # apt-get install linux-headers-$(uname -r),i am seeing following error

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-3.8.13-bone47
E: Couldn't find any package by regex 'linux-headers-3.8.13-bone47'


Please help me out on this.

Thanks in advance.
Tarak.

William Hermans

unread,
Jul 11, 2015, 5:44:35 PM7/11/15
to beagl...@googlegroups.com
Update to a newer kernel.

$ sudo apt-get update
$ sudo apt-cache search linux-image

Then pick a suitable and available kernel. Install it, then reboot. After that you should be able to find a suitable package for installing linux-headers

debian@beaglebone:~$ uname -r
3.8.13-bone70
debian@beaglebone:~$ apt-cache search linux-headers | grep 3.8
linux-headers-3.8.13-bone63 - Linux kernel headers for 3.8.13-bone63 on armhf
linux-headers-3.8.13-bone64 - Linux kernel headers for 3.8.13-bone64 on armhf
linux-headers-3.8.13-bone65 - Linux kernel headers for 3.8.13-bone65 on armhf
linux-headers-3.8.13-bone66 - Linux kernel headers for 3.8.13-bone66 on armhf
linux-headers-3.8.13-bone67 - Linux kernel headers for 3.8.13-bone67 on armhf
linux-headers-3.8.13-bone68 - Linux kernel headers for 3.8.13-bone68 on armhf
linux-headers-3.8.13-bone69 - Linux kernel headers for 3.8.13-bone69 on armhf
linux-headers-3.8.13-bone70 - Linux kernel headers for 3.8.13-bone70 on armhf
linux-headers-3.8.13-bone71 - Linux kernel headers for 3.8.13-bone71 on armhf
linux-headers-3.8.13-xenomai-r67 - Linux kernel headers for 3.8.13-xenomai-r67 o      n armhf
linux-headers-3.8.13-xenomai-r69 - Linux kernel headers for 3.8.13-xenomai-r69 o      n armhf
linux-headers-3.8.13-xenomai-r70 - Linux kernel headers for 3.8.13-xenomai-r70 o      n armhf
linux-headers-3.8.13-xenomai-r71 - Linux kernel headers for 3.8.13-xenomai-r71 o      n armhf
linux-headers-3.8.13-xenomai-r72 - Linux kernel headers for 3.8.13-xenomai-r72 o      n armhf


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

William Hermans

unread,
Jul 11, 2015, 5:46:14 PM7/11/15
to beagl...@googlegroups.com
Also if size is a concern. You should be able to apt-get purge the older linux-image package . Once you've made sure the newer image works good for you.

Dino Florjancic

unread,
Aug 3, 2016, 5:41:38 AM8/3/16
to BeagleBoard
William, I see you are getting a nice list of header packages. Could you share your sources.list content? If I apt-cache search linux-headers, I only get a few of them, none of them associated with 3.8.13boneXX


Dne sobota, 11. julij 2015 23.44.35 UTC+2 je oseba William Hermans napisala:

William Hermans

unread,
Aug 3, 2016, 12:02:46 PM8/3/16
to beagl...@googlegroups.com
william@beaglebone:~$ cat /etc/apt/sources.list
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
#deb-src http://httpredir.debian.org/debian/ jessie main contrib non-free

deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free
#deb-src http://httpredir.debian.org/debian/ jessie-updates main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

#deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
##deb-src http://httpredir.debian.org/debian jessie-backports main contrib non-free

deb https://deb.nodesource.com/node_0.12 jessie main
#deb-src https://deb.nodesource.com/node_0.12 jessie main


#Kernel source (repos.rcn-ee.com) : https://github.com/RobertCNelson/linux-stable-rcn-ee
#
#git clone https://github.com/RobertCNelson/linux-stable-rcn-ee
#cd ./linux-stable-rcn-ee
#git checkout `uname -r` -b tmp
#
deb [arch=armhf] http://repos.rcn-ee.com/debian/ jessie main
#deb-src [arch=armhf] http://repos.rcn-ee.com/debian/ jessie main



William Hermans

unread,
Aug 3, 2016, 12:03:14 PM8/3/16
to beagl...@googlegroups.com
Thats a stock sources.list

topr...@gmail.com

unread,
Sep 13, 2016, 8:48:59 AM9/13/16
to BeagleBoard
William,
Thank you very much.
Reply all
Reply to author
Forward
0 new messages