Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

up vote 9 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: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/693311

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.