Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 running Ubuntu 12.10. For some reason, every time there's a kernel update, it does not install the linux-headers-* and linux-header-*-generic into /usr/src anymore. So every time I update my virtual Ubuntu in VirtualBox, I have to manually install the kernel headers before running the Guest Additions package again.

I'm pretty sure 12.04 automatically installed kernel headers because I never had to do that before. How do I fix this?

share|improve this question
Make sure the linux-headers-generic metapackage is installed. It depends on the latest available version of the headers, and will pull in the packages you've mentioned automatically. – mikewhatever Feb 25 '13 at 23:07
up vote 3 down vote accepted

Simply invoke:

 sudo apt-get install linux-headers-generic
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.