error instaling Virtualbox update
Fred Roller
fred at fwrgallery.com
Mon Mar 15 02:56:14 UTC 2010
Fred Roller wrote:
> Rev. Melissa Lane wrote:
>
> [snipped]
>
>
Thank you so much for helping here is what the terminal tells me:
mrowe1225 at mrowe1225-desktop:~$ virtualbox
The program 'virtualbox' is currently not installed. You can install it
by typing:
sudo apt-get install virtualbox-ose-qt
virtualbox: command not found
mrowe1225 at mrowe1225-desktop:~$ sudo apt-get install virtualbox-ose-qt
[sudo] password for mrowe1225:
Reading package lists... Done
Building dependency tree
[snipped for relevance, install went normally until this error -- fred]
* Stopping VirtualBox kernel modules
[ OK ]
* Starting VirtualBox kernel
modules * No suitable module
for running kernel found
[fail]
invoke-rc.d: initscript virtualbox-ose, action "restart" failed.
Setting up virtualbox-ose-source (3.0.8-dfsg-1ubuntu1) ...
Adding modules to DKMS build system
Doing initial module builds
Error! Your kernel source for kernel 2.6.31-20-generic-pae cannot be
found at
/lib/modules/2.6.31-20-generic-pae/build or
/lib/modules/2.6.31-20-generic-pae/source.
dpkg: error processing virtualbox-ose-source (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up virtualbox-ose-qt (3.0.8-dfsg-1ubuntu1) ...
============end OPs email=====================
To make getting help easier please take a quick read of the mailing list
etiquette:
http://www.ubuntu.com/support/community/mailinglists/etiquette
this should help you compose your mail in the community accepted
format. Just want to ensure you get the best help possible. Also, by
posting to the mailing list instead of privately you /greatly/ increase
your help base and others with similar problems will benefit from this
issue.
Onto to your OP [Orignial Post]:
You seem to be missing source code for Virtualbox to build
properly. /If/ you don't have a virtual machine built yet then you can try
sudo apt-get purge virtualbox-ose-qt
sudo apt-get install virtualbox
If you have a virtual machine you want to preserve then
locate *.vdi
which will produce a result similar to:
froller at metis:.VirtualBox$ locate *.vdi
/Crypt/Virtual/virtualmachines/8.04_server.vdi
Once you know where your machine is located lets move it out of harms way.
cd ~
mkdir backup
cp /location/of/your/virtualmachine.vdi ~/backup/
ls backup
"cd ~" moves to your home directory, "mkdir backup" creates a new
directory, "cp /locatio... ~/backup/" creates a copy of your virtual
machine's harddrive from which we can rebuild later, "ls backup" lists
the backup directory to ensure the file copied.
once the file is moved then do the purge/install mentioned above. Let
us know if this results in the missing source files again. Remember,
reply to the list.
--
Fred
www.fwrgallery.com
"Life is like linux, simple. If you are fighting it you are doing something wrong."
More information about the ubuntu-users
mailing list