How can I force the installation of the Virtualbox Extension pack?

10,296

Solution 1

You can try to install the extension pack using the command line:

sudo VBoxManage extpack install <package file>

Some random things to check:

  • Virtualbox version and extension pack version must match.
  • Files on /usr/lib/virtualbox must be owned by root.
  • /usr/lib itself must be owned by root, too as Uri himself find.

Solution 2

It seems to be saying you need to be root, so run it as root, and then install the pack.

Share:
10,296

Related videos on Youtube

Uri Herrera
Author by

Uri Herrera

Graphics designer. Manchester United fan since '97. Linux user. Nitrux founder.

Updated on September 18, 2022

Comments

  • Uri Herrera
    Uri Herrera over 1 year

    I have a BIG problem with VirtualBox; every time I try to add or install the newest extension pack, it gives an error; at first, it asked me to add my user to the vboxuser group, which I already did, but still can't install the extensions pack.

    How can I force Virtualbox to install it?

    Error

    It says, Failed to install extension pack—the path to the file, and the error itself.

    Here I tried running it on the root terminal, but Virtualbox crashes.

     uri-MS-7267 uri # virtualbox
     Qt CRITICAL: Qt-subapplication(20282)/kdeui (KIconLoader): Error: standard icon theme "oxygen" not found! 
    
     Qt WARNING: QPainter::begin: Paint device returned engine == 0, type: 3
     Qt WARNING: QPainter::setCompositionMode: Painter not active
     Qt WARNING: QPainter::end: Painter not active, aborted
     Qt WARNING: QPainter::begin: Paint device returned engine == 0, type: 3
     Qt WARNING: QPainter::setCompositionMode: Painter not active
     Qt WARNING: QPainter::end: Painter not active, aborted
     Segementation fault
    

    When trying to install the Extpack from the terminal i get this:

     uri@uri-MS-7267 ~ $ sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.0.10- 72436.vbox-extpack
     0%...
     Progress state: NS_ERROR_FAILURE
     VBoxManage: error: Failed to install "/home/uri/Oracle_VM_VirtualBox_Extension_Pack-  4.0.10-72436.vbox-extpack": The installer failed with exit code 1: VBoxExtPackHelperApp:   error: The owner is not root: '/usr/lib'
    

    And I get nothing when using gksu.

     uri@uri-MS-7267 ~ $ gksu VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.0.10-72436.vbox-extpack
     uri@uri-MS-7267 ~ $ 
    
  • Uri Herrera
    Uri Herrera almost 13 years
    It crashes when i run it with gksu or plain sudo, with QT warnings about me not having the oxygen theme (?).
  • Jason Southwell
    Jason Southwell almost 13 years
    @Uri you should probably report a bug O.o
  • Uri Herrera
    Uri Herrera almost 13 years
    i also tried with gksu and the command you suggested, i get no errors in return but, the extension pack doesn't show as installed.
  • Uri Herrera
    Uri Herrera almost 13 years
    Where do i report it?
  • Jason Southwell
    Jason Southwell almost 13 years
    @Uri I'm not sure where they track their bugs.
  • Javier Rivera
    Javier Rivera almost 13 years
  • Javier Rivera
    Javier Rivera almost 13 years
    I added some blind shots, maybe one of them works.
  • Uri Herrera
    Uri Herrera almost 13 years
    I've downloaded the previous version 4.0.8.7.1778 of both the Vbox deb and the ext pack, i've installed the deb and attempted to install the Extpack, and i still get the same error. :(
  • Uri Herrera
    Uri Herrera almost 13 years
    I also checked with PCMANFM the permissions of /usr/lib/virtualbox and it says root.
  • Uri Herrera
    Uri Herrera almost 13 years
    usr/lib/ however says, the owner is my user, should it be like that?.
  • Uri Herrera
    Uri Herrera almost 13 years
    Looking at my netbook /usr/lib is owned by root :O, i don't know how or why that happened >.<.
  • Uri Herrera
    Uri Herrera almost 13 years
    Just fixed it, changed it's owner, thanks for the hints :)
  • Javier Rivera
    Javier Rivera almost 13 years
    BTW, that was exactly what the error message was saying all this time... LOL.
  • Uri Herrera
    Uri Herrera almost 13 years
    Yeah, now i get it... >_< haha facepalm