Closed SpaceIm closed 1 year ago
@Homebrew/cask Can someone on an Intel machine test this?
Same @ Intel Mac
$ brew uninstall virtualbox-extension-pack --force
==> Uninstalling Cask virtualbox-extension-pack
Password:
0%...NS_ERROR_FAILURE
VBoxManage: error: Failed to uninstall "Oracle VM VirtualBox Extension Pack"
VBoxManage: error: Extension pack 'Oracle VM VirtualBox Extension Pack' is not installed.
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackManagerWrap, interface IExtPackManager
VBoxManage: error: Context: "RTEXITCODE handleExtPack(HandlerArg *)" at line 1945 of file VBoxManageMisc.cpp
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/local/bin/VBoxManage extpack uninstall Oracle\ VM\ VirtualBox\ Extension\ Pack` exited with 1. Here's the output:
0%...NS_ERROR_FAILURE
VBoxManage: error: Failed to uninstall "Oracle VM VirtualBox Extension Pack"
VBoxManage: error: Extension pack 'Oracle VM VirtualBox Extension Pack' is not installed.
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackManagerWrap, interface IExtPackManager
VBoxManage: error: Context: "RTEXITCODE handleExtPack(HandlerArg *)" at line 1945 of file VBoxManageMisc.cpp
brew uninstall virtualbox --force
brew uninstall virtualbox-extension-pack --force
brew install virtualbox virtualbox-extension-pack
@KEINOS - Thank you this worked for me
My work-around was to download the extension pack manually, install it, then brew upgrade virtualbox-extension-pack
The formula is failing at uninstalling a not-installed extension pack. When VirtualBox was upgraded, the extension was removed at the same time, leading to a situation where you could not use brew to upgrade or uninstall the virtualbox-extension-pack
When VirtualBox was upgraded, the extension was removed at the same time
Indeed. You got the whole point! š
hole
My work-around was to download the extension pack manually, install it, then
brew upgrade virtualbox-extension-pack
The formula is failing at uninstalling a not-installed extension pack. When VirtualBox was upgraded, the extension was removed at the same time, leading to a situation where you could not use brew to upgrade or uninstall the virtualbox-extension-pack
@jhriv this is what I did and it worked perfectly. Thanks!
BTW, if you try to manually install the extension-pack into freshly installed VirtualBox from the file, downloaded by Homebrew, which then failed on the previous version uninstallation step - you'll get an error "can't read the file", so you need to download the pack from official Oracle site. That is strange, as I expect it to be the same. Maybe the downloaded file is also corrupted in addition to the incorrect uninstallation logic in the cask?
I have issue installing the package :) here are the steps I followed
May be closed since #136834: no cask, no problem.
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
Can't uninstall
virtualbox-extension-pack
while runningbrew upgrade
Command that failed
brew upgrade
Output of command with
--verbose --debug
Output of
brew doctor --verbose
Output of
brew tap