44 | | * Debian/Ubuntu 1.3.2 packages: If the installation of the !VirtualBox_*.deb package was not successful because the compilation of the kernel module fails, it might not be possible to remove the package nor to install other packages as the pre-remove (prerm) script of the package (which is executed prior to package removing or upgrading) aborts with an error '''"(Kernel module not found)...fail!"'''. In that case do the following: |
45 | | * Edit /etc/init.d/virtualbox and change line 129 from 'exit 1' to 'exit 0' |
46 | | * Reinstall the !VirtualBox package by 'dpkg -i <the !VirtualBox package for your distribution>'. An installation failure of this package is expected. |
47 | | * Edit /var/lib/dpkg/info/virtualbox.postinst and change line 39 from 'exit 1' to 'exit 0' |
48 | | * Execute 'dpkg --configure --pending' |
49 | | * The package should now be installed successfully. However, the kernel module is still not compiled. Before you will be able to execute !VirtualBox you have to create a kernel module for your current kernel, as described in the User Manual (see our Downloads section). |
50 | | This shouldn't be necessary anymore for newer Debian packages. |
51 | | |