Ticket #2695 (closed defect: worksforme)

Opened 10 years ago

Last modified 7 years ago

Linux Guest Additions must be reinstalled after Ubuntu software update

Reported by: nightware Owned by:
Priority: major Component: guest additions
Version: VirtualBox 2.0.6 Keywords: ubuntu, linux
Cc: Guest type: Linux
Host type: other


After almost any Ubuntu software update via the package manager the Linux Guest Additions must be reinstalled to work properly. This should not be.

I am not into it, but I guess it is because the code of the Guest additions is not incorporated in the update program. But it kind of annoys always having to reinstall the guest additions after updating Ubuntu.

Change History

comment:1 Changed 10 years ago by nightware

I Forgot to Mention the Ubuntu distribution Ubuntu 8.04 LTS And had been the same with Ubuntu 7.10

comment:2 Changed 10 years ago by michael

We are aware of this issue, and it will probably be fixed at some point, most likely by adding native additions packages at least for Ubuntu and possibly others. Unfortunately this is not likely to happen in the near future, as there are too many other, higher priority tasks to be done.

comment:3 Changed 10 years ago by frank

Actually installing the dkms package should solve the problem for you. Install the guest additions once more after you installed dkms. On next kernel upgrade, the guest kernel modules will be recompiled automatically.

This will not work for Ubuntu 8.10 because the current dkms mechanism fails on that distribution (because it uses Linux >= 2.6.27, and there are dependencies between the two VirtualBox guest kernel modules) but we hope that we can fix this with the next release. But as you are running Ubuntu 8.04, dkms should work fine for you.

comment:4 Changed 9 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

The dependency problem was fixed some releases ago (2.1.0 IIRC). Please check the latest release 2.2.2 and install the proper guest additions.

comment:5 Changed 8 years ago by teohhanhui

  • Status changed from closed to reopened
  • Resolution fixed deleted

How is this "fixed"?

Using VirtualBox 3.1.2 r56127 with Ubuntu 9.10 guest, I still need to manually reinstall the VirtualBox Guest Additions after a kernel upgrade. The user is left wondering what has happened if he/she has not read the recommendation about installing dkms in the manual.

What about performing dkms installation in the bash script? Or at least make this recommendation more obvious to the end user.

comment:6 Changed 8 years ago by frank

If DKMS is installed, the kernel upgrade works fine. If the user forgot to install the DKMS kernel when the guest additions are installed, then calling /etc/init.d/vboxadd setup after installing the DKMS package fixes the problem as well.

And no, we will not install DKMS by default.

comment:7 Changed 7 years ago by frank

  • Status changed from reopened to closed
  • Resolution set to worksforme
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use