How can I force the installation of the Virtualbox Extension pack?
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.
Related videos on Youtube
Uri Herrera
Graphics designer. Manchester United fan since '97. Linux user. Nitrux founder.
Updated on September 18, 2022Comments
-
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?
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 almost 13 yearsIt crashes when i run it with gksu or plain sudo, with QT warnings about me not having the oxygen theme (?).
-
Jason Southwell almost 13 years@Uri you should probably report a bug O.o
-
Uri Herrera almost 13 yearsi 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 almost 13 yearsWhere do i report it?
-
Jason Southwell almost 13 years@Uri I'm not sure where they track their bugs.
-
Javier Rivera almost 13 years
-
Javier Rivera almost 13 yearsI added some blind shots, maybe one of them works.
-
Uri Herrera almost 13 yearsI'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 almost 13 yearsI also checked with PCMANFM the permissions of /usr/lib/virtualbox and it says root.
-
Uri Herrera almost 13 yearsusr/lib/ however says, the owner is my user, should it be like that?.
-
Uri Herrera almost 13 yearsLooking at my netbook /usr/lib is owned by root :O, i don't know how or why that happened >.<.
-
Uri Herrera almost 13 yearsJust fixed it, changed it's owner, thanks for the hints :)
-
Javier Rivera almost 13 yearsBTW, that was exactly what the error message was saying all this time... LOL.
-
Uri Herrera almost 13 yearsYeah, now i get it... >_< haha facepalm