Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

up vote 3 down vote accepted

Simply invoke:

 sudo apt-get install linux-headers-generic
share|improve this answer
add comment

Your Answer

 
discard

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.