LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-25-2019, 06:12 AM   #1
kujirasan
Member
 
Registered: Mar 2007
Posts: 159

Rep: Reputation: 18
VirtualBox Extension Pack failure


Trying to install latest extension pack and get the following error message:

Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to install "/home/eduard/Downloads/Oracle_VM_VirtualBox_Extension_Pack-6.0.2.vbox-extpack"
VBoxManage: error: Extension pack 'Oracle VM VirtualBox Extension Pack' is already installed. In case of a reinstallation, please uninstall it first
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackManagerWrap, interface IExtPackManager
VBoxManage: error: Context: "RTEXITCODE handleExtPack(HandlerArg*)" at line 1361 of file VBoxManageMisc.cpp
any one can help?
 
Old 01-25-2019, 08:26 AM   #2
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,080

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Hi kujirasan,

This is not an uncommon issue - it can be caused by several things.

As the message states, packages for certain distros (I am not a Debian user, but perhaps this applies ..) expect, as the error message states, the user to uninstall previous versions before installing new ones. So in your case, you would uninstall, reboot (perhaps not necessary, but I would do this ...), then install the new version.

Also, make sure how your distro expects the extension pack to be installed. In Windows, for example, one usually installs the extension pack through the Virtualbox Manager GUI. The same GUI is used in linux, however most distros handle the extension pack instllation through their own package manager ... Make sure you're following your distro's convention.

Hope this helps - Cheers !
 
Old 01-25-2019, 08:27 PM   #3
kujirasan
Member
 
Registered: Mar 2007
Posts: 159

Original Poster
Rep: Reputation: 18
Thanks for your reply, that was the problem I deleted the previous one, and installed the new one, did all of from command line, usually the older version gets deleted by the system the new one is installed , but this version of Debian doesn't do, as Debian removed Virtual Box from their repository .
This the command:
# VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"

to install:
# VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.0.2.vbox-extpack

or:
# VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-*.vbox-extpack
 
Old 01-25-2019, 09:17 PM   #4
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,080

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Hi kujirasan,

You are using the virtualbox interface (command line, in your examples ...) to install and / or remove the extension pack. I would tend to use Debian package manager to do this (apt).

This is what I would try at the point you seem to be at:

Code:
VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"[/I]
Code:
sudo apt-get --purge remove name_of_virtualbox_extension_package_for_Debian
... reboot

Code:
sudo apt-get install name_of_virtualbox_extension_package_for_Debian
... reboot.

Let us know what the results are ...

Cheers !

Last edited by Rickkkk; 01-25-2019 at 09:18 PM.
 
Old 01-26-2019, 08:30 PM   #5
kujirasan
Member
 
Registered: Mar 2007
Posts: 159

Original Poster
Rep: Reputation: 18
Thanks for your help again, as I mentioned Debian has removed Virtual Box from Synaptic and replaced it with Vagrant, the link has to be added to sources.list in etc/apt directory, and hoping it works, once installed, usually the Guest Additions, is in a folder called additions, but it is not anymore, it has to be download from:

https://tracker.debian.org/pkg/virtu...-additions-iso

and placed in the additions folder,

# usr/lib/virtualbox/additions

as it is in ISO format has to be mounted, then installed.

# mount -o loop VBoxGuestAdditions /mnt

then go to mnt, and do :
#./VBoxLinuxAdditions.run
and then installed extension pack, other wise it wont give optimal performance.

I posted these in case some one else needs to use it.

using apt-get --purge remove name may remove previous files, so just remove should suffice.

Thanks again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Extension pack fails to install/delete business_kid Linux - Virtualization and Cloud 1 07-27-2018 07:48 AM
About Oracle VM VirtualBox Extension Pack satimis Ubuntu 3 04-12-2015 11:53 PM
[SOLVED] How install virtual box extension pack? lugoteehalt Linux - Virtualization and Cloud 5 09-18-2012 11:00 AM
How to pack data into a 7z recursive + having autounpack EXE pack for windows? frenchn00b Linux - General 5 05-02-2009 01:59 PM
LXer: Sun Announces the Latest in Open Source Tools with the Availability of NetBeans Visual Web Pack and NetBeans C/C++ Development Pack LXer Syndicated Linux News 1 12-31-2006 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration