Error Installing Expansion Pack

Discussions related to using VirtualBox on Linux hosts.
Post Reply
ArchiMark
Posts: 9
Joined: 14. Nov 2022, 21:57
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows XPP
Location: Silicon Valley

Error Installing Expansion Pack

Post by ArchiMark »

Hi,

New to VB....need help with getting system running properly.

In Manjaro Linux, I installed VB 7.02....seems to be OK.

Installed WinXPP and it boots up.

However, having problems with various peripherals, USB, network, etc. Assume it's related to Expansion Pack install issue below.

Expansion pack is not installed, get error message:

Code: Select all

Installing package...

Name: Oracle VM VirtualBox Extension Pack

The installer failed with exit code 1: [sudo] password for marks: sudo: /usr/lib/virtualbox/VBoxExtPackHelperApp --stdout/tmp/VBoxExtPackHelper-jpodmk/stdout 
--stderr --/tmp/VBoxExtPackHelper-jpodmk/
--stderr --elevated install
--base-dir /usr/lib/virtualbox/ExtensionPacks
--cert-dir /usr/share/virtualbox/ExtPackCertificates
--name "Oracle VM VirtualBox Extension Pack'--
tarball/home/marks/Downloads/Oracle_VM_VirtualBox_Extension_Pack-7.02.vbox-extpack 
--sha-256 f69................................................: command not found

Result Code: NS_ERROR_FAILURE
                     (0x80004009

Component: ExtPackManagerWrap

Interface:    IExtPackManager (70401eef-c8e9-466b-9660-45cb3e9979e4)
Is sha 256 file missing? If so, where do I get it?

Any help would be greatly appreciated.

Thanks,

Mark
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Error Installing Expansion Pack

Post by fth0 »

I'm a wizard and I can read your obfuscated SHA-256 hash: f692008df0fe03c4d7397b3104e0ef71464385eb911858611c628fa32eb610a4. :lol:

Seriously, my educated guess is that you don't have /usr/lib/virtualbox/VBoxExtPackHelperApp on your host. If that's the case, then your VirtualBox installation on the host is probably damaged, and you should re-install VirtualBox. Did you install the Manjaro-distributed or the Oracle-distributed VirtualBox packages, or did you even mix and match?

Did you write the error message by hand? I'm asking because it looks wrong at several places (e.g. non-matching quotes, missing space).
ArchiMark
Posts: 9
Joined: 14. Nov 2022, 21:57
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows XPP
Location: Silicon Valley

Re: Error Installing Expansion Pack

Post by ArchiMark »

Hi,

Thank you, Mr Wizard, for your help!

Yes, I typed the error message by hand...as when I tried to copy and paste the text from VB it would not do it.

OK, I will reinstall VB and try again.

I installed from VB.....good point about Manjaro Linux....I will see if Manjaro has VB installer....

Will report back after I reinstall.....

Thanks,

Mark
ArchiMark
Posts: 9
Joined: 14. Nov 2022, 21:57
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows XPP
Location: Silicon Valley

Re: Error Installing Expansion Pack

Post by ArchiMark »

Hi again,

Removed VB and then reinstall VB 7.02 from Manjaro repo. Installed various dependencies listed.

Just tried to install Expansion Pack and got same error message..... :(

Any suggestions?

Thanks.
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Error Installing Expansion Pack

Post by fth0 »

You should investigate what the error message tells you. I already told you to verify the existence of /usr/lib/virtualbox/VBoxExtPackHelperApp, which is part of the (base) VirtualBox installation and not of the VirtualBox Extension Pack BTW. Writing that you "got same error message" without mentioning what you analyzed afterwards yourself doesn't help much.

If that doesn't help, try to explain what you're doing in more detail. Phrases like "Install Extension Pack" and "Removed VB", and an inaccurate error message make it difficult for the readers to know what you really did, because there are a lot of ways to do that.
ArchiMark
Posts: 9
Joined: 14. Nov 2022, 21:57
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows XPP
Location: Silicon Valley

Re: Error Installing Expansion Pack

Post by ArchiMark »

Thanks again for your help.

My apologies for not being clear yesterday...was crazy busy day at work....

Yes, I checked and I have 'VBoxExtPackHelperApp' in '/usr/lib/virtualbox'.

To clarify what I did yesterday,....

I went in VB, I went to 'Tools' > 'Clicked the menu icon on right end of the 'Tools bar, then clicked 'Install' button > then in the small window that popped up with heading 'Select an Extension Package file' I selected file 'Oracle_VM_VirtualBox_Extension_Pack-7.0.2.vbox-extpack > then clicked the 'Open' button > Then the small window opened asking me to confirm whether to proceed with install or cancel. > Clicked 'Install'. > Then got the error message.

Hope this helps!

Thanks!
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Error Installing Expansion Pack

Post by fth0 »

Ok. Reboot your host OS, open a terminal and try sudo /usr/lib/virtualbox/VBoxExtPackHelperApp. If it results in a different error, append all arguments seen in the original error message. I'll guess that the VBoxExtPackHelperApp uses some utilities that are available in most Linux installations and perhaps missing in yours (e.g. tar). After the tests, provide a (zipped) ~/.config/VirtualBox/VBoxSVC.log file.
ArchiMark
Posts: 9
Joined: 14. Nov 2022, 21:57
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows XPP
Location: Silicon Valley

Re: Error Installing Expansion Pack

Post by ArchiMark »

Thank you for help...

Tried what you suggested, including appending the messages ...but instead of app running, I got a ' > ' on a new line.

Tried going into the virtualbox directory and then doing:
./VBoxExtPackHelperApp

Then got:
VBoxExtPackHelperApp: error: argv[0] does not match the executable image path: './VBoxExtPackHelperApp' != '/usr/lib/virtualbox/VBoxExtPackHelperApp'

Attached is the log file....

Really appreciate your help!
Attachments
VBoxSVC.log.zip
(2.21 KiB) Downloaded 1 time
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Error Installing Expansion Pack

Post by fth0 »

VBoxSVC.log file wrote:
00:00:00.123018 nspr-2   Failed to open "/dev/vboxdrvu", errno=2, rc=VERR_VM_DRIVER_NOT_INSTALLED
This log message often indicates a problem with file system permissions. Please provide the output of "ls -l /dev/vbox*".
ArchiMark wrote:Tried what you suggested, including appending the messages ...but instead of app running, I got a ' > ' on a new line.
This is usually a continuation prompt from a shell, when it recognizes an incomplete command. Hmm.

Please reproduce your original issue and provide a screenshot of the error messages. You may have to crop or compress it to be able to attach it to the post.
ArchiMark wrote:Tried going into the virtualbox directory and then doing:
./VBoxExtPackHelperApp

Then got:
VBoxExtPackHelperApp: error: argv[0] does not match the executable image path: './VBoxExtPackHelperApp' != '/usr/lib/virtualbox/VBoxExtPackHelperApp'
Kudos for developing your own ideas. This error was expected, and now you learned why I didn't tell you to try that. ;)
ArchiMark
Posts: 9
Joined: 14. Nov 2022, 21:57
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows XPP
Location: Silicon Valley

Re: Error Installing Expansion Pack

Post by ArchiMark »

Thanks again for your help!!!

Code: Select all

$ ls -l /dev/vbox
ls: cannot access '/dev/vbox': No such file or directory
Attached is screenshot of error message as requested.

And thanks for your good words....

:)
Attachments
VBox-ExpPack-Install Error-2022-11-15.png
VBox-ExpPack-Install Error-2022-11-15.png (92.68 KiB) Viewed 2259 times
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Error Installing Expansion Pack

Post by fth0 »

Regarding the ls command, you forgot the "*".

Regarding the VirtualBox Extension Pack installation, I successfully used the following commands in my own test setup. Try it yourself and provide the output. But ensure that the downloaded file has the same name as in the command:

Code: Select all

touch /tmp/stdout
touch /tmp/stderr
sudo /usr/lib/virtualbox/VBoxExtPackHelperApp --stdout /tmp/stdout --stderr /tmp/stderr --elevated install --base-dir /usr/lib/virtualbox/ExtensionPacks --cert-dir /usr/share/virtualbox/ExtPackCertificates --name 'Oracle VM VirtualBox Extension Pack' --tarball /home/marks/Downloads/Oracle_VM_VirtualBox_Extension_Pack-7.0.2.vbox-extpack --sha-256 f692008df0fe03c4d7397b3104e0ef71464385eb911858611c628fa32eb610a4
cat /tmp/stdout
cat /tmp/stderr
ArchiMark
Posts: 9
Joined: 14. Nov 2022, 21:57
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows XPP
Location: Silicon Valley

Re: Error Installing Expansion Pack

Post by ArchiMark »

Thanks again for your help with this!

Dang, I missed the '*'....my eyesight is not very good....just zoomed into this webpage to see it now....

Output:

Code: Select all

$ ls -l /dev/vbox*
crw------- 1 root root      10, 123 Nov 16 06:37 /dev/vboxdrv
crw-rw-rw- 1 root root      10, 122 Nov 16 06:37 /dev/vboxdrvu
crw------- 1 root root      10, 121 Nov 16 06:37 /dev/vboxnetctl

ls: cannot open directory '/dev/vboxusb': Permission denied

Code: Select all

$ touch /tmp/stdout
touch /tmp/stderr
sudo /usr/lib/virtualbox/VBoxExtPackHelperApp --stdout /tmp/stdout --stderr /tmp/stderr --elevated install --base-dir /usr/lib/virtualbox/ExtensionPacks --cert-dir /usr/share/virtualbox/ExtPackCertificates --name 'Oracle VM VirtualBox Extension Pack' --tarball /home/marks/Downloads/Oracle_VM_VirtualBox_Extension_Pack-7.0.2.vbox-extpack --sha-256 f692008df0fe03c4d7397b3104e0ef71464385eb911858611c628fa32eb610a4
cat /tmp/stdout
cat /tmp/stderr
Output:

Code: Select all

$ touch /tmp/stdout
touch /tmp/stderr
sudo /usr/lib/virtualbox/VBoxExtPackHelperApp --stdout /tmp/stdout --stderr /tmp/stderr --elevated install --base-dir /usr/lib/virtualbox/ExtensionPacks --cert-dir /usr/share/virtualbox/ExtPackCertificates --name 'Oracle VM VirtualBox Extension Pack' --tarball /home/marks/Downloads/Oracle_VM_VirtualBox_Extension_Pack-7.0.2.vbox-extpack --sha-256 f692008df0fe03c4d7397b3104e0ef71464385eb911858611c628fa32eb610a4
cat /tmp/stdout
cat /tmp/stderr
[sudo] password for marks: 
VBoxExtPackHelperApp: info: Validating extension pack '/home/marks/Downloads/Oracle_VM_VirtualBox_Extension_Pack-7.0.2.vbox-extpack' ('Oracle VM VirtualBox Extension Pack')...
VBoxExtPackHelperApp: info: Unpacking extension pack into '/usr/lib/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack-_-inst-4912'...
VBoxExtPackHelperApp: info: Validating unpacked extension pack...
VBoxExtPackHelperApp: info: Setting permissions...
VBoxExtPackHelperApp: info: Successfully installed 'Oracle VM VirtualBox Extension Pack' (/home/marks/Downloads/Oracle_VM_VirtualBox_Extension_Pack-7.0.2.vbox-extpack)
rcExit=RTEXITCODE_SUCCESS

So, looks good, yes?
ArchiMark
Posts: 9
Joined: 14. Nov 2022, 21:57
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows XPP
Location: Silicon Valley

Re: Error Installing Expansion Pack

Post by ArchiMark »

Tried using a USB flash drive....but WinXPP does not see it.
Got error message:

Code: Select all

Can't enumerate host USB devices.

VirtualBox is not currently allowed to access USB devices.
You can change this by adding your user to the 'Vboxusers' group. 
Please see the user manual for a more detailed explanation.

Result Code: NS_ERROR_FAILURE
             (0x00004005)

Component:   HostWrap

Interface:   IHost
             {e54f6256-97a7-4947-8a78-10c013ddf4b8}
So, looked online and found a post on Manjaro forum about add user.

Code: Select all

$ sudo gpasswd -a $USER vboxusers
[sudo] password for marks: 
Adding user marks to group vboxusers
Opened VB and WinXPP and WinXPP still does not recognize that a USB drive is inserted.

Put a CD in the CD drive in my Thinkpad T440p laptop and WinXPP does not recognize that a CD is inserted. Manjaro does recognize that a CD is there.

Have looked at settings, but not seeing something that I need to change.

Any suggestions or does this mean I still have issue with Expansion Pack or ????

Thanks for any help!
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Error Installing Expansion Pack

Post by fth0 »

You are having issues with your VirtualBox installation and not with the VirtualBox Extension Pack. For comparison:
fth0's Linux Mint wrote:
fth0@LinuxMint:~$ ll /dev/vbox*
crw-rw---- 1 root    vboxusers 10, 57 Nov 12 09:45 /dev/vboxdrv
crw-rw-rw- 1 root    root      10, 56 Nov 12 09:45 /dev/vboxdrvu
crw-rw---- 1 root    vboxusers 10, 55 Nov 12 09:45 /dev/vboxnetctl

/dev/vboxusb:
insgesamt 0
drwxr-x---  3 root vboxusers   60 Nov 12 09:45 ./
drwxr-xr-x 19 root root      4200 Nov 12 09:45 ../
drwxr-x---  2 root vboxusers   60 Nov 12 09:45 001/
My user is a member of the vboxusers group and can therefore access all /dev/vbox* devices. In your installation, members of the vboxusers group are only allowed to access the /dev/vboxdrvu device. You'll have to find out what mechanism limited the permissions of the /dev/vbox* devices in your host OS.

Because there could be similar permission issues with lots of other installed VirtualBox files, it's probably not enough to correct the permissions of the /dev/vbox* devices, but to find the root cause for the permission limitation.
ArchiMark
Posts: 9
Joined: 14. Nov 2022, 21:57
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows XPP
Location: Silicon Valley

Re: Error Installing Expansion Pack

Post by ArchiMark »

THANK YOU for your input....understand your points...

Will try to get this sorted out....and then report back.
Post Reply