Extension Pack upgrade fails

This is for discussing general topics about how to use VirtualBox.
Post Reply
mpmartin
Posts: 8
Joined: 15. Dec 2012, 23:29

Extension Pack upgrade fails

Post by mpmartin »

VirtualBox won't uninstall old Extension Pack, with error message:
Failed to uninstall the Extension Pack Oracle VM VirtualBox Extension Pack.
The installer failed with exit code 1: VBoxExtPackHelperApp.exe: error: Failed to rename the extension pack directory: VERR_ALREADY_EXISTS
rcExit=1.
Result Code:
E_FAIL (0x80004005)
Component:
ExtPackManager
Interface:
IExtPackManager {3295e6ce-b051-47b2-9514-2c588bfe7554}
Or install new Extension Pack, with error message:
Failed to install the Extension Pack C:/Users/Mark/Downloads/Oracle_VM_VirtualBox_Extension_Pack-4.2.16.vbox-extpack.
The installer failed with exit code 1: VBoxExtPackHelperApp.exe: error: Failed to rename the extension pack directory: VERR_ALREADY_EXISTS
rcExit=1.
Result Code:
E_FAIL (0x80004005)
Component:
ExtPackManager
Interface:
IExtPackManager {3295e6ce-b051-47b2-9514-2c588bfe7554}
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Extension Pack upgrade fails

Post by mpack »

Try running the cleanup command manually: "VBoxManage extpack cleanup".
mpmartin
Posts: 8
Joined: 15. Dec 2012, 23:29

Re: Extension Pack upgrade fails

Post by mpmartin »

That worked. Thank you. :)
Athanasius
Posts: 1
Joined: 16. May 2021, 09:24

Re: Extension Pack upgrade fails

Post by Athanasius »

Also, if you're running VirtualBox (6.1.22 in my case after upgrading the other day) as a Limited Windows account then you'll need to run it 'as Administrator' in order for the upgrade of the Extension Pack to work. Else you'll just get an error without much clue as to why.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Extension Pack upgrade fails

Post by mpack »

Well, I think the error message quoted above was a pretty explicit explanation of what was happening:
The installer failed with exit code 1: VBoxExtPackHelperApp.exe: error: Failed to rename the extension pack directory: VERR_ALREADY_EXISTS.

I.e. it can't rename a file or directory from A to B when B already exists. So you go and and you find and delete B manually, and hopefully discover and fix a permissions problem along the way.
Post Reply