Install linux-headers on debian unable to locate package


I am trying to install the linux-headers for my Kernel Version 3.4.61+ and Debian Version 7.1

I typed this Commands:

apt-get update
apt-get install linux-headers-$(uname -r)

On the last command I always get an Error:

E: Unable to locate package linux-headers-3.4.61
E: Couldn't find any package by regex 'linux-headers-3.4.61'

btw: It´s all based on a Cubietruck/Cubieboard3


Here’s what you may need to do

sudo apt-get update # This will update the repositories list
sudo apt-get upgrade # This will update all the necessary packages on your system
sudo apt-get dist-upgrade # This will add/remove any needed packages
reboot # You may need this since sometimes after a upgrade/dist-upgrade, there are some left over entries that get fixed after a reboot
sudo apt-get install linux-headers-$(uname -r) # This should work now

Answered By – Abbas Gadhia

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published