VirtualBox

Opened 6 years ago

Closed 5 years ago

#18649 closed defect (fixed)

Can't install Extension Pack on LMDE3

Reported by: eblanca Owned by:
Component: host support Version: VirtualBox 5.2.30
Keywords: extension pack, debian 9 Cc:
Guest type: other Host type: Linux

Description

I just updated my virtualbox to 5.2.30 BUT I can say this affected my distribution for a while, now. When I open Preference window and click for installing the VB Extensions, then an error message appears into a dialog window. Trying with vboxmanage on the command line (vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.2.30.vbox-extpack), same result (log attached). I just can't decode what the message says. Further, I already had a look to lots of threads having similar issues and my only improving was to use command line instead of the gui. My distribution is debian 9 based, as you may already know, and my profile belongs to the vboxusers group. Any release I tried (Windows binaries) install Guest Additions in Win10 just fine.

Attachments (8)

vboxmanage.log (615 bytes ) - added by eblanca 6 years ago.
VBoxSVC.with_virtual_machines_available.log (4.9 KB ) - added by eblanca 6 years ago.
VBoxSVC.with_virtual_machines_NOT_available.log (4.8 KB ) - added by eblanca 6 years ago.
VBoxSVC_install_ExtPack_from_the_GUI.log (10.0 KB ) - added by eblanca 6 years ago.
VBoxSVC.VBoxExtPackHelperApp.log (4.3 KB ) - added by eblanca 5 years ago.
VBoxSVC.log (10.2 KB ) - added by eblanca 5 years ago.
Schermata a 2019-07-27 11-56-54.png (44.8 KB ) - added by eblanca 5 years ago.
sudo_shell.txt (1.0 KB ) - added by eblanca 5 years ago.

Download all attachments as: .zip

Change History (20)

by eblanca, 6 years ago

Attachment: vboxmanage.log added

comment:1 by bird, 6 years ago

Can you attach the VBoxSVC.log file for these attempts, please? It should contains a couple of log statements related to extpack installation.

Does the extpack installation ask for the root password? If it doesn't, we don't find the a working interactive kdesudo, gksu, pkexec, su+xterm tool we need.

comment:2 by Socratis, 6 years ago

Just to get the terminology right:

  • The Extension Pack (ExtPack) get installed on the host and it has to match the VirtualBox version. It provides functionality such as USB2-3, Webcam, VRDP, PXE, PCI passthrough on Linux hosts, VDI Encryption. You have to download it and install it separately from the main VirtualBox program, due to its license.
  • The Guest Additions (GAs) get installed on the guest and it would be good to match the VirtualBox version, for anything other than enhanced graphics support. It provides functionality such as shared folders, shared clipboard, drag and drop, pointer sharing, enhanced graphics support. You do not have to download it separately from the main VirtualBox program, since it comes bundled with it.

It seems that you're mixing the terms. Can you clarify what you're trying to install and where? And what's the "exact" error message?

comment:3 by eblanca, 6 years ago

Thanks socratis, I got confused here, as the proper title for this issue should actually be "Can't install Extension Pack on LMDE3".

Now, back on topic: bird yes, I'm prompted for root password, this step is ok.

I'm adding two vboxsvc.log because I keep some of my virtual machines on a removable drive and it seems the error messages change a bit whether 'vboxmanage' finds those or not. In both cases, the command I run was: "vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.2.30.vbox-extpack".

in reply to:  3 comment:4 by Socratis, 6 years ago

Replying to eblanca:

Thanks socratis, I got confused here, as the proper title for this issue should actually be "Can't install Extension Pack on LMDE3".

Can please someone with the appropriate authority fix the title of the ticket? TIA.

00:00:02.428282 ExtPackInst ExtPack: Executing '/usr/lib/virtualbox/VBoxExtPackHelperApp''install' '--base-dir' '/usr/lib/virtualbox/ExtensionPacks' '--cert-dir' '/usr/share/virtualbox/ExtPackCertificates' '--name' 'Oracle VM VirtualBox Extension Pack' '--tarball' '/home/topolinik/Scrivania/Oracle_VM_VirtualBox_Extension_Pack-5.2.30.vbox-extpack' '--sha-256' 'fa07d690bceaf1e6f9c429d1f296ffa759da8022c8878e0cc8ce71b90ee39260'

00:00:12.047302 ExtPackInst ExtPack: enmReason=1 iStatus=1 stderr=''

00:00:12.047337 ExtPackInst ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={edba9d10-45d8-b440-1712-46ac0c9bc4c5} aComponent={ExtPackManagerWrap} aText={The installer failed with exit code 1: }, preserve=false aResultDetail=0

This is the eror that you're getting. I'm no expert, but I think that the command line might be wrong. Specifically, there's no space between "'/usr/lib/virtualbox/VBoxExtPackHelperApp'" and "'install'", that might be the problem actually.

@eblanca
Alternatively, if you go to the VirtualBox Preferences » Extensions, and add the ExtPack via the "+" button, does that work?

comment:5 by eblanca, 6 years ago

Using the GUI, I get a further failure. Log attached.

comment:6 by Socratis, 5 years ago

Yes, it's exactly the same string:

00:00:47.772348 ExtPackInst ExtPack: Executing '/usr/lib/virtualbox/VBoxExtPackHelperApp''install' '--base-dir' '/usr/lib/virtualbox/ExtensionPacks' '--cert-dir' '/usr/share/virtualbox/ExtPackCertificates' '--name' 'Oracle VM VirtualBox Extension Pack' '--tarball' '/home/topolinik/Scrivania/Oracle_VM_VirtualBox_Extension_Pack-5.2.30.vbox-extpack' '--sha-256' 'fa07d690bceaf1e6f9c429d1f296ffa759da8022c8878e0cc8ce71b90ee39260'

There's no space between the "'VBoxExtPackHelperApp'" and the "'install'". I don't know why you're getting that...

Execute the above command line, but stick a space where I suspect the problem is...

comment:7 by eblanca, 5 years ago

When I run: /usr/lib/virtualbox/VBoxExtPackHelperApp install --base-dir /usr/lib/virtualbox/ExtensionPacks --cert-dir /usr/share/virtualbox/ExtPackCertificates --name 'Oracle VM VirtualBox Extension Pack' --tarball /home/topolinik/Scrivania/Oracle_VM_VirtualBox_Extension_Pack-5.2.30.vbox-extpack --sha-256 fa07d690bceaf1e6f9c429d1f296ffa759da8022c8878e0cc8ce71b90ee39260

I'm asked for password, then I get no feedback at all and when I open vbox gui I see there's still no extension pack installed.

by eblanca, 5 years ago

by eblanca, 5 years ago

Attachment: VBoxSVC.log added

by eblanca, 5 years ago

comment:8 by eblanca, 5 years ago

Still the same behavior using VBox 5.2.32 and ExtPack 5.2.32. Attached VBoxSVC.log and a screenshot of the dialog with the error message.

comment:9 by paulson, 5 years ago

Component: guest additionshost support
Keywords: extension pack added; guest additions removed
Summary: Can't install Guest Additions on LMDE3Can't install Extension Pack on LMDE3

comment:10 by paulson, 5 years ago

The log still looks like insufficient privilege so from a terminal window can you first run 'sudo /bin/sh' and then once you are running as uid zero (and have confirmed this via 'id -a') can you attempt the 'VBoxManage extpack install ...' command and report how that goes?

comment:11 by eblanca, 5 years ago

It finally worked! Attaching content from console, now I see ExtPack has been successfully installed in VBox. Thank you!

by eblanca, 5 years ago

Attachment: sudo_shell.txt added

comment:12 by paulson, 5 years ago

Resolution: fixed
Status: newclosed

Thanks for following up with confirmation of problem resolution. Closing this one out now.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette