<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>When installing virtualbox on Ubuntu I have a small annoyance.<br><br></div>If I install packages in this order:<br></div>1. new kernel<br></div>2. virtualbox<br></div><div>with no reboot after installing the new kernel.<br><br></div>Then virtualbox will use the current kernel (uname -r) to install the kernel modules for, not the newly installed kernel.<br><br></div>It seems that the virtualbox package maintaned by ubuntu/debian does not have this problem. The reason is that the use dh_dkms: <a href="http://manpages.ubuntu.com/manpages/raring/man1/dh_dkms.1.html">http://manpages.ubuntu.com/manpages/raring/man1/dh_dkms.1.html</a><br></div>when installing the dkms modules. dh_dkms triggers:<br>/usr/lib/dkms/common.postinst<br></div>which searches for all installed kernels and installs the dkms modules for this.<br><br></div>Can someone please fix this? Or will you accept a patch to fix this problem?<br><br></div>Best regards<br></div>Sebastian Dransfeld<br><div><div><div><div><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div></div>