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?

  • 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

Simply invoke:

 sudo apt-get install linux-headers-generic

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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