Can't install extensions

This is for discussing general topics about how to use VirtualBox.
Post Reply
Hanisch
Posts: 26
Joined: 8. Apr 2011, 13:11
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Gentoo

Can't install extensions

Post by Hanisch »

Hallo,

I can not install the Extension Pack under aptosid.


Das Zusatzpaket
~/Oracle_VM_VirtualBox_Extension_Pack-4.0.4-70112.vbox-extpack konnte
nicht installiert werden.
The installer failed with exit code 1:

Fehlercode:
NS_ERROR_FAILURE (0x80004005)
Komponente:
ExtPackManager
Interface:
IExtPackManager {2451b1ba-ab1c-42fb-b453-c58433bea8c7}

What is the reason for that and how can I install the Extension Pack?

I have adding the user to the Group vboxusers.


Regards
Ch. Hanisch
Hanisch
Posts: 26
Joined: 8. Apr 2011, 13:11
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Gentoo

Re: Can't install extensions

Post by Hanisch »

stefan.becker wrote:Install it from the VBOX Gui.
I have done so, but the error is permanent.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Can't install extensions

Post by Sasquatch »

Don't change the name of the file. Then if the GUI doesn't trigger a gksu dialogue or other method of using su, then do the following:

Code: Select all

VBoxManage list extpacks
To make sure you don't have one or need to remove the old version. If a previous version is found, remove it by doing this:

Code: Select all

sudo VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"
Don't forget the quotes. Then do this:

Code: Select all

sudo VBoxManage extpack install /path/to/filename
Pay close attention to the uninstall and install commands, you MUST use root privileges for it. If you don't have sudo privileges, use 'su' to become root and run the command again (you can skip sudo).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Hanisch
Posts: 26
Joined: 8. Apr 2011, 13:11
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Gentoo

Re: Can't install extensions

Post by Hanisch »

Sasquatch wrote:Don't change the name of the file. Then if the GUI doesn't trigger a gksu dialogue or other method of using su, then do the following:

Code: Select all

VBoxManage list extpacks
To make sure you don't have one or need to remove the old version. If a previous version is found, remove it by doing this:

Code: Select all

sudo VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"
Don't forget the quotes. Then do this:

Code: Select all

sudo VBoxManage extpack install /path/to/filename
Pay close attention to the uninstall and install commands, you MUST use root privileges for it. If you don't have sudo privileges, use 'su' to become root and run the command again (you can skip sudo).
Ok. - Thank you. This works fine.
But why is the method with GUI not working?

Regards

Ch. Hanisch
Last edited by Hanisch on 13. Apr 2011, 14:54, edited 1 time in total.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Can't install extensions

Post by Sasquatch »

This is probably due to the fact that your sudo or gksu isn't working properly. I had the same problem and reported it here: http://www.virtualbox.org/ticket/8110. The status hasn't changed since. This is one of the special cases that need manual CLI installation to get it going.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply