Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm pretty new to Ubuntu, so question may seem stupid.

I have a module which used to work on my parents laptop. After several updates module no longer works, and I'm pretty sure, old kernel would solve the issue.

However, I can't rebuild module with dkms for an old 3.0.0-16 kernel, because there are no kernel sources. linux-headers-3.0.0 is NOT in the repository. However linux-image-3.0.0-generic still exists in the repo.

So where do I get headers for an old kernel?


share|improve this question
"linux-image-3.0.0-generic still exists in the repo" No it doesn't. Did you upgrade from 11.10? Then it might be still on your system, but it's not supported for 12.04. – gertvdijk Feb 5 '13 at 17:15
apt-get install linux-headers-$(uname -r) – Qasim Feb 5 '13 at 17:16
I have linux-image-3.0.0-generic on my system and cat boot it via grub. However, as I said, dkms fails to recompile module for that kernel. And the only package for linux-3.0.0 is linux-image, which is not enough for dkms to work. – edio Feb 6 '13 at 14:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.