Linking two packages

NoOp glgxg at sbcglobal.net
Fri Jan 23 01:17:12 UTC 2009


On 01/22/2009 09:24 AM, 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???
> 

I received an update for virtualbox today:

Commit Log for Thu Jan 22 08:06:32 2009
Upgraded the following packages:
virtualbox-2.1 (2.1.0-41146_Ubuntu_hardy) to 2.1.2-41885_Ubuntu_hardy

If you add the repo to your sources list - see:

http://www.virtualbox.org/wiki/Linux_Downloads

Debian-based Linux distributions: Add one of the following lines
according to your distribution to your /etc/apt/sources.list:

deb http://download.virtualbox.org/virtualbox/debian intrepid non-free
deb http://download.virtualbox.org/virtualbox/debian hardy non-free

and add the public key then you should get the updates accordingly.

Note: Ubuntu users might want to install the dkms package (not available
on Debian) to ensure that the VirtualBox host kernel modules (vboxdrv
and vboxnetflt) are properly updated if the linux kernel version changes
during the next apt-get upgrade.

and works for me. In the event that it fails, then just follow the error
instructions when you run VirtualBox.

Also see the FAQ:
http://www.virtualbox.org/wiki/User_FAQ
[Linux hosts]






More information about the ubuntu-users mailing list