Results 1 to 8 of 8

Thread: Virtualbox Already installed

  1. #1

    Default Virtualbox Already installed

    I have searched pretty much everywhere to get this fixed. Here's what I did: I had VirtualBox OSE installed and running flawlessly. But then I wanted USB support and I learned that OSE doesn't support it and I had to install the closed source edition of virtual box. Well I uninstalled VirtualBox OSE and installed the RPM from the Virtualbox site. Here's the error I got when trying to install it:

    Error

    Package /home/travis/Desktop/VirtualBox-2.0.2_36488_openSUSE11-1.i586.rpm could not be installed.

    Details: Subprocess failed. Error: RPM failed: package VirtualBox-2.0.2_36488_openSUSE11-1 is already installed.
    I'm sure I uninstalled it, because it's not checked in Yast. There is one virtualbox checkmarked check I have tried to uninstall it multiple times, but no luck. I figured it must be the closed source install, that I'm trying to install. It may not be configured right or something.

    Anyways, if someone could help I would appreciate it greatly.

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Virtualbox Already installed

    Sometimes you have to go down to the CLI to see what's happening. Chances are it's already installed but you are missing some dependencies needed to build the vboxdrv module.

    Open up a terminal and become root:

    Code:
    su -
    Then run this command:

    Code:
    rpm -q VirtualBox
    If it's installed, then run:

    Code:
    /etc/init.d/vboxdrv setup
    It's pretty certain that this will fail. You need to install these packages: pam_devel, gcc, make, and kernel-source (using YaST is one method), and then retry that last command until it succeeds. It will take a while to compile the module.

    Make sure that the version of kernel-source matches the running kernel. If you have subscribed to the update repo this should be the case.

    And make sure you are in the group vboxusers so that you can run VirtualBox.

  3. #3

    Default Re: Virtualbox Already installed

    I installed all those packages and tried to recompile the virtual box kernel again and it still fails:

    linux-aca7:~ # /etc/init.d/vboxdrv setup
    Stopping VirtualBox kernel module done
    Recompiling VirtualBox kernel module failed
    (Look at /var/log/vbox-install.log to find out what went wrong)
    I looked at the log file (vbox-install.log) and this is what it said:

    /etc/init.d/vboxdrv: line 255: /usr/share/virtualbox/src/build_in_tmp: No such file or directory
    I even tried to install it with the rpm again, no luck either.

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,719
    Blog Entries
    20

    Default Re: Virtualbox Already installed

    Check to see if this dir exists: /usr/share/virtualbox/src/

    you are running this as su??
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Virtualbox Already installed

    Quote Originally Posted by Shilonus View Post
    I installed all those packages and tried to recompile the virtual box kernel again and it still fails:



    I looked at the log file (vbox-install.log) and this is what it said:



    I even tried to install it with the rpm again, no luck either.
    You didn't say if the Sun version of VirtualBox was installed. That directory belongs to that package and should have been created. Please do that step again and don't skip steps in instructions:

    Code:
    rpm -q VirtualBox
    And while you are at it, do:

    Code:
    rpm -qi VirtualBox
    rpm -V VirtualBox
    rpm -ql VirtualBox

  6. #6

    Default Re: Virtualbox Already installed

    Whoops sorry about that, didn't realize it till after I posted it:

    linux-aca7:~ # rpm -q VirtualBox
    VirtualBox-2.0.2_36488_openSUSE11-1

    linux-aca7:~ # rpm -qi VirtualBox

    Name : VirtualBox Relocations: (not relocatable)
    Version : 2.0.2_36488_openSUSE11 Vendor: Sun Microsystems, Inc.
    Release : 1 Build Date: Fri Sep 12 12:34:59 2008
    Install Date: Wed Oct 8 21:19:56 2008 Build Host: tinderdeb.intra-innotek.de
    Group : Applications/System Source RPM: VirtualBox-2.0.2_36488_openSUSE11-1.src.rpm
    Size : 63942064 License: VirtualBox Personal Use and Evaluation License(PUEL)
    Signature : (none)
    URL : VirtualBox
    Summary : Powerful PC virtualization solution
    Description :
    VirtualBox is a powerful PC virtualization solution allowing
    you to run a wide range of PC operating systems on your Linux
    system. This includes Windows, Linux, FreeBSD, DOS, OpenBSD
    and others. VirtualBox comes with a broad feature set and
    excellent performance, making it the premier virtualization
    software solution on the market.
    Distribution: (none)



    linux-aca7:~ # rpm -V VirtualBox
    missing /etc/vbox
    missing /usr/share/virtualbox
    missing /usr/share/virtualbox/VBoxGuestAdditions.iso
    missing /usr/share/virtualbox/VBoxSysInfo.sh
    missing /usr/share/virtualbox/nls
    missing /usr/share/virtualbox/nls/VirtualBox_ca.qm
    missing /usr/share/virtualbox/nls/VirtualBox_cs.qm
    missing /usr/share/virtualbox/nls/VirtualBox_de.qm
    missing /usr/share/virtualbox/nls/VirtualBox_es.qm
    missing /usr/share/virtualbox/nls/VirtualBox_eu.qm
    missing /usr/share/virtualbox/nls/VirtualBox_fi.qm
    missing /usr/share/virtualbox/nls/VirtualBox_fr.qm
    missing /usr/share/virtualbox/nls/VirtualBox_hu.qm
    missing /usr/share/virtualbox/nls/VirtualBox_id.qm
    missing /usr/share/virtualbox/nls/VirtualBox_it.qm
    missing /usr/share/virtualbox/nls/VirtualBox_ja.qm
    missing /usr/share/virtualbox/nls/VirtualBox_ko.qm
    missing /usr/share/virtualbox/nls/VirtualBox_pl.qm
    missing /usr/share/virtualbox/nls/VirtualBox_pt.qm
    missing /usr/share/virtualbox/nls/VirtualBox_pt_BR.qm
    missing /usr/share/virtualbox/nls/VirtualBox_ro.qm
    missing /usr/share/virtualbox/nls/VirtualBox_ru.qm
    missing /usr/share/virtualbox/nls/VirtualBox_sk.qm
    missing /usr/share/virtualbox/nls/VirtualBox_sr.qm
    missing /usr/share/virtualbox/nls/VirtualBox_sv.qm
    missing /usr/share/virtualbox/nls/VirtualBox_tr.qm
    missing /usr/share/virtualbox/nls/VirtualBox_zh_CN.qm
    missing /usr/share/virtualbox/nls/VirtualBox_zh_TW.qm
    missing /usr/share/virtualbox/nls/qt_ca.qm
    missing /usr/share/virtualbox/nls/qt_cs.qm
    missing /usr/share/virtualbox/nls/qt_de.qm
    missing /usr/share/virtualbox/nls/qt_es.qm
    missing /usr/share/virtualbox/nls/qt_eu.qm
    missing /usr/share/virtualbox/nls/qt_fi.qm
    missing /usr/share/virtualbox/nls/qt_fr.qm
    missing /usr/share/virtualbox/nls/qt_hu.qm
    missing /usr/share/virtualbox/nls/qt_id.qm
    missing /usr/share/virtualbox/nls/qt_it.qm
    missing /usr/share/virtualbox/nls/qt_ja.qm
    missing /usr/share/virtualbox/nls/qt_ko.qm
    missing /usr/share/virtualbox/nls/qt_pl.qm
    missing /usr/share/virtualbox/nls/qt_pt.qm
    missing /usr/share/virtualbox/nls/qt_pt_BR.qm
    missing /usr/share/virtualbox/nls/qt_ro.qm
    missing /usr/share/virtualbox/nls/qt_ru.qm
    missing /usr/share/virtualbox/nls/qt_sk.qm
    missing /usr/share/virtualbox/nls/qt_sr.qm
    missing /usr/share/virtualbox/nls/qt_sv.qm
    missing /usr/share/virtualbox/nls/qt_tr.qm
    missing /usr/share/virtualbox/nls/qt_zh_CN.qm
    missing /usr/share/virtualbox/nls/qt_zh_TW.qm
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/ar
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/common
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/convert-map
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/cs
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/da
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/de
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/de-ch
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/en-dv
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/en-gb
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/en-us
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/es
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/et
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/fi
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/fo
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/fr
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/fr-be
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/fr-ca
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/fr-ch
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/he
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/hr
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/hu
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/is
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/it
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/ja
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/ko
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/lt
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/lv
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/mk
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/modifiers
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/nl
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/nl-be
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/no
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/pl
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/pt
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/pt-br
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/ru
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/sl
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/sv
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/th
    missing /usr/share/virtualbox/rdesktop-vrdp-keymaps/tr
    missing /usr/share/virtualbox/rdesktop-vrdp.tar.gz
    missing /usr/share/virtualbox/src
    missing /usr/share/virtualbox/src/Makefile
    missing /usr/share/virtualbox/src/SUPDrv.c
    missing /usr/share/virtualbox/src/SUPDrvIDC.h
    missing /usr/share/virtualbox/src/SUPDrvIOC.h
    missing /usr/share/virtualbox/src/SUPDrvInternal.h
    missing /usr/share/virtualbox/src/VBox
    missing /usr/share/virtualbox/src/VBox/log-vbox.c
    missing /usr/share/virtualbox/src/VBox/strformat-vbox.c
    missing /usr/share/virtualbox/src/alloc
    missing /usr/share/virtualbox/src/alloc/heapsimple.c
    missing /usr/share/virtualbox/src/build_in_tmp
    missing /usr/share/virtualbox/src/common
    missing /usr/share/virtualbox/src/common/err
    missing /usr/share/virtualbox/src/common/err/RTErrConvertFromErrno.c
    missing /usr/share/virtualbox/src/common/log
    missing /usr/share/virtualbox/src/common/log/log.c
    missing /usr/share/virtualbox/src/common/log/logcom.c
    missing /usr/share/virtualbox/src/common/log/logellipsis.c
    missing /usr/share/virtualbox/src/common/log/logformat.c
    missing /usr/share/virtualbox/src/common/log/logrel.c
    missing /usr/share/virtualbox/src/common/log/logrelellipsis.c
    missing /usr/share/virtualbox/src/common/string
    missing /usr/share/virtualbox/src/common/string/strformat.c
    missing /usr/share/virtualbox/src/common/string/strformatrt.c
    missing /usr/share/virtualbox/src/common/string/strformattype.c
    missing /usr/share/virtualbox/src/common/string/strprintf.c
    missing /usr/share/virtualbox/src/common/string/strtonum.c
    missing /usr/share/virtualbox/src/dkms.conf
    missing /usr/share/virtualbox/src/generic
    missing /usr/share/virtualbox/src/generic/RTLogWriteStdErr-stub-generic.c
    missing /usr/share/virtualbox/src/generic/RTLogWriteStdOut-stub-generic.c
    missing /usr/share/virtualbox/src/generic/RTLogWriteUser-generic.c
    missing /usr/share/virtualbox/src/include
    .......
    linux-aca7:~ # rpm -ql VirtualBox

    /etc/init.d/vboxdrv
    /etc/init.d/vboxnet
    /etc/vbox
    /lib/modules
    /lib/modules/2.6.25.11-0.1-default
    /lib/modules/2.6.25.11-0.1-default/misc
    /lib/modules/2.6.25.11-0.1-default/misc/vboxdrv.ko
    /sbin/rcvboxdrv
    /sbin/rcvboxnet
    /usr/bin
    /usr/bin/VBox
    /usr/bin/VBoxAddIF
    /usr/bin/VBoxDeleteIF
    /usr/bin/VBoxHeadless
    .....
    A lot of it was too long to post, but you get the point. Seems to not have installed at all, since tons of directorys are missing.

  7. #7
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Virtualbox Already installed

    Ok do this:

    Code:
    rpm -Uhv --force VirtualBox....rpm
    where that long-named file is the RPM package you downloaded. Then go back and retest those steps in my previous post, and if they pass, then go ahead to do the setup step.

  8. #8

    Default Re: Virtualbox Already installed

    Yup that fixed it, thank you so much!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •