Cant seem to find kernel headers for my server.

Kernels, Network, and Services configuration
Post Reply
Posts: 1
Joined: 2017-10-26 10:05

Cant seem to find kernel headers for my server.

#1 Post by Kyuusai-San »

Good Afternoon,

I have been having some troubles trying to locate a particular kernel header for my server and I was wondering if someone could kindly advise or assist.

I looked at the Debian packages and have been searching online and have not been able to find what I need. I did come across this but uncertain if it is the right kernel ... -2.6-amd64

Please see the following output:

uname -a
Linux 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC 2014 x86_64 GNU/Linux

apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-2.6.32-5-amd64
E: Couldn't find any package by regex 'linux-headers-2.6.32-5-amd64'

I tried:
apt-cache search linux-headers-$(uname -r)

This unfortunately came back with nothing.

Any thoughts would be appreciated.

Thank you!

Posts: 310
Joined: 2015-05-20 21:17

Re: Cant seem to find kernel headers for my server.

#2 Post by cronoik »

Well you are using a version of the kernel which was offered when Squeeze was stable [1]. Wheezy is using the 3.2 Kernel [2] and you will therefore only find headers for 3.2 in the official wheezy repositories. You can use [3] as a trustworthy repo when you are still looking for the headers.

Have a nice day!

User avatar
Posts: 12408
Joined: 2009-10-06 05:53
Has thanked: 7 times
Been thanked: 5 times

Re: Cant seem to find kernel headers for my server.

#4 Post by stevepusser »

Since Squeeze has reached EOL, it would be a good idea to update to at least Wheezy if your server faces the Net for security. The Squeeze repos are still available, but you have to change the addresses to use the archive. No doubt you get nothing but errors right now if you try to "apt-get update".
MX Linux packager and developer

Post Reply