Comment 32 for bug 303199

Angel Sanchez (evelio80) wrote :

Que lio este!!!
bueno... veamos que tal mi ingles :D

SOLUTION:

1- unistall OSE version (complete)
  sudo aptitude purge virtualbox-source
  sudo aptitude purge virtualbox-ose
  sudo aptitude purge virtualbox-ose-source
  sudo aptitude purge virtualbox-ose-modules-xxxxxxxxxxxx
  sudo aptitude purge virtualbox-ose...xxxxxx...xxxx
 etc, etc, etc

2- add repository of virtualbox at source.list
  Debian-based Linux distributions: Add one of the following lines according to your distribution to your /etc/apt/sources.list

         deb http://download.virtualbox.org/virtualbox/debian intrepid non-free
         deb http://download.virtualbox.org/virtualbox/debian hardy non-free
         deb http://download.virtualbox.org/virtualbox/debian gutsy non-free
         deb http://download.virtualbox.org/virtualbox/debian dapper non-free
         deb http://download.virtualbox.org/virtualbox/debian lenny non-free
         deb http://download.virtualbox.org/virtualbox/debian etch non-free
         deb http://download.virtualbox.org/virtualbox/debian sarge non-free
         deb http://download.virtualbox.org/virtualbox/debian xandros4.0-xn non-free

command:
sudo gedit /etc/apt/source.list

add repository according with your distribution
save and close gedit and continue

   - -DOWNLOAD AND REGISTERING THE KEY FOR REPOSITORY - -
(Is like WEP or WPA in WIFI, is like security key for repository)

Use the command:
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -

(More details and other distributions at: http://www.virtualbox.org/wiki/Linux_Downloads)

3- Update the repository
Command:
sudo aptitude update

4- Install Software
commands:

sudo aptitude install dkms
sudo aptitude install virtualbox-2.1

5- Enjoy

--------------------------------
NOTE:
After a kernel update (if virtualbox do not work properly) is necessary to recompile the kernel modules.
This task is simple:

command:

 sudo /etc/init.d/vboxdrv setup

Then will show something like this:

 * Stopping VirtualBox kernel module
 * done.
 * Recompiling VirtualBox kernel module
 * done.
 * Starting VirtualBox kernel module
 * done.

ENJOY AGAIN :D

FINISH

Espero este les sirva de ayuda a todo aquel que ha tenido algún problema con virtualbox

-----------------------
Consulte la web de virtualbox en caso del algún error, por cambios de ultimo minuto o lo que sea, como por ejemplo en la llave para los repositorios o algo así (aunque dudo mucho que eso pase).

http://www.virtualbox.org/wiki/Linux_Downloads
----------------------