Skip navigation.
Home
Now Shipping Version 7.0

SOLVED - Error Installing VirtualBox


Posts: 11

Hi there;

My attempt to install virtualbox did not go so smoothly. I received the follwing error message:

Quote:

(Reading database ... 94224 files and directories currently installed.)
Preparing to replace virtualbox 1.5.0-24069-1_Ubuntu_dapper (using .../virtualbox_1.5.0-24069-1_Ubuntu_dapper_i386.deb) ...
Stopping VirtualBox kernel module: vboxdrv.
Shutting down VirtualBox host networking...done.
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
virtualbox-puel-1-3 license has already been accepted.
Unpacking replacement virtualbox ...
Setting up virtualbox (1.5.0-24069-1_Ubuntu_dapper) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
Unable to find a precompiled module for the current kernel
though module compilation denied by debconf setting.
Starting VirtualBox kernel module: vboxdrvFATAL: Module vboxdrv not found.

Modprobe vboxdrv failed. Please use 'dmesg' to find out why.
Starting VirtualBox host networking...done.

RESULT=0

Can anyone assist?

AdrianTM's picture

Did you install kernel

Did you install kernel headers before trying to install it? (search Wiki for "kernel headers" if you don't know how)

Otherwise follow the instruction: "Modprobe vboxdrv failed. Please use 'dmesg' to find out why."

--
Check out MEPIS Wiki: www.mepis.org/docs
Post on MEPISLovers, that's where MEPIS users help each other.

james e. thompson's picture

Error Installing VirtualBox

What version of Mepis are you using ? I see you are using the Ubuntu repos . If you are using 7.0 betas use the etch package from VB web site.

In any case the kernel module isn't apparently there. The quick fix is install module-assistant and run it in konsole as root to install proper headers etc. Just run module-assistant update and have it prep the system for compiling, then try to install again.

jim

I could not comprehend the

I could not comprehend the output of dmesg.

So I installed module-assistant and ran m-a update. I then attempted to install again with the same result.

I've never understood modules, how they fit in, why they need to be compiled and re-compiled. Linux books never seem to touch on those subjects.

AdrianTM's picture

If you installed kernel

If you installed kernel headers you probably can run this command to get the module compiled:

dpkg-reconfigure virtualbox

--
Check out MEPIS Wiki: www.mepis.org/docs
Post on MEPISLovers, that's where MEPIS users help each other.

After running

After running dpkg-reconfigure virtualbox, I got the same error message.

AdrianTM's picture

1. Did you install kernel

1. Did you install kernel headers?

2. try to purge virtualbox and install it again.

--
Check out MEPIS Wiki: www.mepis.org/docs
Post on MEPISLovers, that's where MEPIS users help each other.

The purge did the trick. I

The purge did the trick. I shall have to remember that command.

Thanks very much for assisting me.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.