Page 1 of 1

[SOLVED] Failed to install extension pack for virtualbox

PostPosted: Jan 8th, '16, 03:52
by tarazed
Running mga5 on an x86_64 system.
Using virtualbox to run an i586 vbox.

I downloaded the Oracle Extension Pack in the guest system but have no idea how to install it. This is what I tried:
Untarred the downloaded Oracle Extensions file in the guest 32-bit system and copied the linux.x86 files to /usr/lib, all ELF binaries with extensions .{rc,r0,so}.
Closed down the vm and went to settings -> usb in the virtualbox manager.
USB2 or USB3 raise the error "Invalid settings detected"
and attempting to add a new device filter produces "no devices available".

Before this I had tried downloading the Oracle Extension pack on the host and chose the option to install through virtualbox but that failed with error messages:
Code: Select all
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
ExtPackManagerWrap
Interface:
IExtPackManager {edba9d10-45d8-b440-1712-46ac0c9bc4c5}


I tried this again after adding the user to the vboxusers group and:
Code: Select all
Failed to run /usr/lib64/virtualbox/VBoxExtPackHelperApp --stdout /tmp/VBoxExtPackHelper-pqihec/stdout --stderr /tmp/VBoxExtPackHelper-pqihec/stderr --elevated install --base-dir /usr/lib64/virtualbox/ExtensionPacks --cert-dir /usr/lib64/virtualbox/ExtPackCertificates --name 'Oracle VM VirtualBox Extension Pack' --tarball /tmp/Oracle_VM_VirtualBox_Extension_Pack-5.0.12-104815-1.vbox-extpack --sha-256 ac1bc8452b7fdf183325272149e9f18b9810cc07adf18e48755385a9cd1b236d.
No such file or directory.


I see from search results that at some time in the past the extension pack installed successfully.

Re: Failed to install Oracle extension pack in virtualbox

PostPosted: Jan 8th, '16, 04:40
by benmc
Hello tarazed,

I understood that the extension packs are to be installed into the host, to enable the host emulation of USB 2.0 and USB 3.0 devices, VirtualBox RDP and PXE boot for Intel cards to the guest.
Guest additions are for the guest - obviously.
previously I have installed the extensions, they were down-loaded as an executable package, so the installer just did its thing.
you may have to remove the existing extension pack first - as root "urpme [name of package]"

to add guest additions to guest - if guest is Mageia - additions are in repos, to be installed from within the guest
to add guest additions in other VBox guest OSes try first their own repos, or from the menu bar at the top of the guest window under devices - choose " insert Guest additions Cd Image"
It will download the required image, then install from within the guest - open with the guest file manager

Re: Failed to install Oracle extension pack in virtualbox

PostPosted: Jan 8th, '16, 11:06
by doktor5000
Did you have a look at the top pinned thread in this subforum?
viewtopic.php?f=7&t=8518

Re: Failed to install Oracle extension pack in virtualbox

PostPosted: Jan 8th, '16, 11:44
by tarazed
Thanks for the replies everybody. I did not see the pinned thread; have now. Also the information about removing old extension pack might be useful. I can remember having USB2.0 working at one time on this particular machine so there probably are relics lying around.

Re: Failed to install Oracle extension pack in virtualbox

PostPosted: Jan 9th, '16, 02:36
by tarazed
It turned out that the key is to start VBoxManage as root. I was running the extpack install --replace command as a tcsh user and then supplying the root credentials when they were demanded. Simples!

Re: [SOLVEDFailed to install Oracle extension pack in virtua

PostPosted: Jan 9th, '16, 02:43
by tarazed
Oh no - something has gone wrong. Now the editor will not let me finish editing the subject line. Got as far as [SOLVED and then it would not accept any more input. What is going on?

Re: [SOLVED] Failed to install extension pack for virtualbox

PostPosted: Jan 11th, '16, 12:20
by ozky
It seems to be bug in gnome as i found from ask ubuntu same problem.
http://askubuntu.com/questions/292184/i ... -extension

Re: [SOLVED] Failed to install extension pack for virtualbox

PostPosted: Jan 11th, '16, 20:36
by doktor5000
Where in that link does it state that it's a bug in GNOME, and how would that help with the issue at hand?
It's a bug in the virtualbox extension pack handling, simple as that. I've hit it under KDE, and the link to the upstream bug report for this issue is https://www.virtualbox.org/ticket/7972

Re: [SOLVED] Failed to install extension pack for virtualbox

PostPosted: Jan 12th, '16, 11:44
by ozky
No that link not say it's bug in gnome but i thought it's bug in gnome as,i have never faced that problem myself in 8 years virtualbox use only in gtk based desktops.
I have even tested same versions virtualbox in kde lxqt gnome and only gnome did have problem to install it needed to use terminal.

Re: [SOLVED] Failed to install extension pack for virtualbox

PostPosted: Jan 18th, '16, 11:02
by ozky
Problem have to be in polkit as i got this error when i installed to system gksu-polkit as i removed it and problem was gone.
I also tested with kde4 live dvd almost 20 times with non persistent install so it 100% sure testing.
I noticed problem exist only when gksu-polkit is installed,with only kdesu installed there was no any errors to install extension pack.