You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying out the new implementation for brew cask upgrade at Homebrew/brew#3396 I ran into a problem with the virtualbox cask. On my system I have both virtualbox and virtualbox-extension-pack installed. When I run brew cask upgrade it appears that it uninstalls virtualbox-extension-pack and then fails to install the newer version because it assumes it is not an installed cask.
$ brew cask upgrade
==> Upgrading 2 outdated packages, with result:
virtualbox 5.2.2-119230, virtualbox-extension-pack 5.2.2-119230
==> Satisfying dependencies
==> Downloading http://download.virtualbox.org/virtualbox/5.2.2/VirtualBox-5.2.2-119230-OSX.dmg
######################################################################## 100.0%
==> Verifying checksum for Cask virtualbox
==> Starting upgrade for Cask virtualbox
Password:
==> Running uninstall process for virtualbox; your password may be necessary
==> Running uninstall script VirtualBox_Uninstall.tool
==>
==> Welcome to the VirtualBox uninstaller script.
==>
==> Warning! Found the following active VirtualBox processes:
==> 32265 0 VBoxXPCOMIPCD
==> 32267 0 VBoxSVC
==>
==>
==> We recommend that you quit all VirtualBox processes before
==> uninstalling the product.
==>
==> The following files and directories (bundles) will be removed:
==> /Users/dwarkentin/Library/LaunchAgents/org.virtualbox.vboxwebsrv.plist
==> /usr/local/bin/VirtualBox
==> /usr/local/bin/VBoxManage
==> /usr/local/bin/VBoxVRDP
==> /usr/local/bin/VBoxHeadless
==> /usr/local/bin/vboxwebsrv
==> /usr/local/bin/VBoxBugReport
==> /usr/local/bin/VBoxBalloonCtrl
==> /usr/local/bin/VBoxAutostart
==> /usr/local/bin/VBoxDTrace
==> /usr/local/bin/vbox-img
==> /Library/LaunchDaemons/org.virtualbox.startup.plist
==> /Library/Python/2.6/site-packages/vboxapi/VirtualBox_constants.py
==> /Library/Python/2.6/site-packages/vboxapi/VirtualBox_constants.pyc
==> /Library/Python/2.6/site-packages/vboxapi/__init__.py
==> /Library/Python/2.6/site-packages/vboxapi/__init__.pyc
==> /Library/Python/2.6/site-packages/vboxapi-1.0-py2.6.egg-info
==> /Library/Python/2.7/site-packages/vboxapi/VirtualBox_constants.py
==> /Library/Python/2.7/site-packages/vboxapi/VirtualBox_constants.pyc
==> /Library/Python/2.7/site-packages/vboxapi/__init__.py
==> /Library/Python/2.7/site-packages/vboxapi/__init__.pyc
==> /Library/Python/2.7/site-packages/vboxapi-1.0-py2.7.egg-info
==> /Library/Application Support/VirtualBox/LaunchDaemons/
==> /Library/Application Support/VirtualBox/VBoxDrv.kext/
==> /Library/Application Support/VirtualBox/VBoxUSB.kext/
==> /Library/Application Support/VirtualBox/VBoxNetFlt.kext/
==> /Library/Application Support/VirtualBox/VBoxNetAdp.kext/
==> /Applications/VirtualBox.app/
==> /Library/Python/2.6/site-packages/vboxapi/
==> /Library/Python/2.7/site-packages/vboxapi/
==>
==> And the following KEXTs will be unloaded:
==> org.virtualbox.kext.VBoxUSB
==> org.virtualbox.kext.VBoxNetFlt
==> org.virtualbox.kext.VBoxNetAdp
==> org.virtualbox.kext.VBoxDrv
==>
==> And the traces of following packages will be removed:
==> org.virtualbox.pkg.vboxkexts
==> org.virtualbox.pkg.virtualbox
==> org.virtualbox.pkg.virtualboxcli
==>
==> The uninstallation processes requires administrative privileges
==> because some of the installed files cannot be removed by a normal
==> user. You may be prompted for your password now...
==>
==> unloading org.virtualbox.kext.VBoxUSB
==> unloading org.virtualbox.kext.VBoxNetFlt
==> unloading org.virtualbox.kext.VBoxNetAdp
==> unloading org.virtualbox.kext.VBoxDrv
==> Successfully unloaded VirtualBox kernel extensions.
==> Forgot package 'org.virtualbox.pkg.vboxkexts' on '/'.
==> Forgot package 'org.virtualbox.pkg.virtualbox' on '/'.
==> Forgot package 'org.virtualbox.pkg.virtualboxcli' on '/'.
==> Done.
==> Uninstalling packages:
==> Running installer for virtualbox; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
==> installer: Package name is Oracle VM VirtualBox
==> installer: Installing at base path /
==> installer:PHASE:Preparing for installation…
==> installer:PHASE:Preparing the disk…
==> installer:PHASE:Preparing Oracle VM VirtualBox…
==> installer:PHASE:Waiting for other installations to complete…
==> installer:PHASE:Configuring the installation…
==> installer:STATUS:
==> installer:%14.592888
==> installer:PHASE:Writing files…
==> installer:%43.979993
==> installer:PHASE:Writing files…
==> installer:%86.638484
==> installer:PHASE:Running package scripts…
==> installer:%87.686499
==> installer:PHASE:Running package scripts…
==> installer:%88.727577
==> installer:PHASE:Running package scripts…
==> installer:%89.778229
==> installer:PHASE:Running package scripts…
==> installer:%90.830852
==> installer:PHASE:Running package scripts…
==> installer:%95.682848
==> installer:PHASE:Cleaning up…
==> installer:PHASE:Validating packages…
==> installer:%97.750000
==> installer:STATUS:Running installer actions…
==> installer:STATUS:
==> installer:PHASE:Finishing the Installation…
==> installer:STATUS:
==> installer:%100.000000
==> installer:PHASE:The software was successfully installed.
==> installer: The install was successful.
==> Purging files for version 5.2.0-118431 of Cask virtualbox
🍺 virtualbox was successfully upgraded!
Error: Cask 'virtualbox-extension-pack' is not installed.
Output of your command with --verbose --debug
I'm not sure of the easiest way to revert to the previous version to run this again with the --verbose and --debug flags but I suspect that won't be needed here. I'd be happy to figure it out if that is indeed helpful though.
Description of issue
I'm reporting this issue as requested by @reitermarkus here.
While trying out the new implementation for
brew cask upgrade
at Homebrew/brew#3396 I ran into a problem with thevirtualbox
cask. On my system I have bothvirtualbox
andvirtualbox-extension-pack
installed. When I runbrew cask upgrade
it appears that it uninstallsvirtualbox-extension-pack
and then fails to install the newer version because it assumes it is not an installed cask.First I checked to see that they were outdated:
Next I tried the upgrade:
Output of your command with
--verbose --debug
I'm not sure of the easiest way to revert to the previous version to run this again with the
--verbose
and--debug
flags but I suspect that won't be needed here. I'd be happy to figure it out if that is indeed helpful though.Output of
brew cask doctor
The text was updated successfully, but these errors were encountered: