Linking two packages

Derek Broughton derek at
Fri Jan 23 18:41:08 UTC 2009

John Hubbard wrote:

> I am interesting in linking two packages.  Every time I upgrade my
> kernel I would like to also download the appropriate version of
> linux-headers.  I have virtual box installed and when I upgrade kernels
> the kernel module stops working as it was compiled for an older kernel.
> I have the dkms package installed which (I think) automatically rebuilds
> the kernel module but I feel like it doesn't work unless I manually
> install the new version of the kernel headers.  So is there any way to
> get the two packages linked?  I use apt-get for upgrading.  Or is there
> a way to make dkms go out and get the kernel header version that it
> needs?  Or is this already taken care of somewhere else???
Do you have linux-headers-generic installed?  It should always be getting 
updated at the same time as linux-generic.  My headers are always in-sync 
with my kernel

More information about the ubuntu-users mailing list