Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Is there a way to get the matching Linux kernel headers automatic on a regular kernel update via the Ubuntu packed manager?

Every time I get a new kernel I must do an

aptitude install linux-headers-`uname -r`
share|improve this question
up vote 10 down vote accepted

Have you installed linux-headers-generic or linux-headers-386? Those meta-packages keep track of the installed kernel and get updated automagically when a new kernel (and hence a kernel-header) package is available.

See the ubuntu documentation for further information.

share|improve this answer
Thanks that's what I'm looking for – zzeroo Nov 26 '10 at 17:46

This is a bug #693311 of automatic updater. This bug is not solved. I verify that linux-headers-generic is installed (Ubuntu 12.10) but it is not helpful. For more information see:

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.