Page 1 of 1

Cant install Virtualbox2.1 on Ubuntu 8.04 Hardy Heron

Posted: 4. Jan 2009, 07:30
by JonathanEllis
When I try to install virtualbox I get an error as follows

Code: Select all

$ sudo apt-get install virtualbox-2.1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Recommended packages:
  libsdl-ttf2.0-0
The following NEW packages will be installed
  virtualbox-2.1
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/45.9MB of archives.
After this operation, 99.9MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  virtualbox-2.1
Install these packages without verification [y/N]? y
Preconfiguring packages ...
(Reading database ... 132278 files and directories currently installed.)
Unpacking virtualbox-2.1 (from .../virtualbox-2.1_2.1.0-41146%5fUbuntu%5fhardy_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/virtualbox-2.1_2.1.0-41146%5fUbuntu%5fhardy_i386.deb (--unpack):
 trying to overwrite `/lib/modules/2.6.24-21-generic/misc/vboxdrv.ko', which is also in package virtualbox-ose-modules-2.6.24-21-generic
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/virtualbox-2.1_2.1.0-41146%5fUbuntu%5fhardy_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can anyone help please?

Posted: 4. Jan 2009, 10:49
by baf
Try removing the old modules with something like

sudo dpkg -r virtualbox-ose-modules
and or
sudo dpkg -r virtualbox-ose-modules-2.6.24-21

I'm not sure which one or both is correct so just do both of them.
then try reinstalling.

Posted: 4. Jan 2009, 13:33
by JonathanEllis
baf wrote:Try removing the old modules with something like

sudo dpkg -r virtualbox-ose-modules
Nope. That's not it :(

Code: Select all

$ sudo dpkg -r virtualbox-ose-modules
[sudo] password for jonathan: 
dpkg - warning: ignoring request to remove virtualbox-ose-modules which isn't installed.
Thanks for trying though.

Posted: 4. Jan 2009, 13:55
by TerryE
Jonathan, read the error message you have virtualbox-ose-modules-2.6.24-21-generic installed. Do a dpkg -l | grep virtualbox-ose to see what OSE packages you have installed. You must remove these before you can install the PUEL edition.

Posted: 4. Jan 2009, 14:09
by JonathanEllis
Thanks. Now it has installed and prompted me to add myself to the group vboxusers. Now I need to find out how to start the app. There is not virtualbox entry in the applications menu and typing virtualbox or virtualbox-2.1 doesnt work.

so google to the rescue!

Posted: 4. Jan 2009, 14:45
by TerryE
*nix is case sensitive. Try VirtualBox. Scanning the manual also helps :lol:

Posted: 4. Jan 2009, 15:39
by JonathanEllis
Thanks. I had just begun reading the manual but VirtualBox worked.

Posted: 4. Jan 2009, 18:54
by Sasquatch
Log out and back in, now you have the launcher in the menu.