Opened 11 months ago
Last modified 11 months ago
#21951 new defect
VirtualBox installer doesn't close running virtual machines / GUI resulting in broken installation after upgrading
Reported by: | soredake | Owned by: | |
---|---|---|---|
Component: | installer | Version: | VirtualBox-7.0.12 |
Keywords: | Cc: | soredake | |
Guest type: | other | Host type: | Windows |
Description (last modified by )
If you try to update VirtualBox while any virtual machine is running, you'll receive broken VirtualBox installation in the result.
To reproduce this in updated clean Windows 10/11 do this:
1) Do winget install -h --id=Oracle.VirtualBox -v "7.0.10" -e
2) Launch VirtualBox.
3) Create virtual machine with any iso (I used this iso https://archive.org/details/MicroXP-0.82)
4) Launch this virtual machine.
5) Do winget upgrade -h Oracle.VirtualBox
6) Close running virtual machine.
7) Launch it again, you will receive error about kernel driver.
Now, after upgrading, you have mismatched exe/dll and drivers because VirtualBox doesn't close running virtual machines/gui.
Before updating VirtualBox:
After updating VirtualBox:
Error about kernel driver:
Chocolatey (package manager) package have this script to close running virtual machines before running upgrade https://github.com/chocolatey-community/chocolatey-packages/blob/master/automatic/virtualbox/tools/chocolateyBeforeModify.ps1
Qbittorrent have similar problem https://github.com/qbittorrent/qBittorrent/issues/18115
Change History (4)
comment:1 by , 11 months ago
Description: | modified (diff) |
---|
comment:2 by , 11 months ago
Description: | modified (diff) |
---|
comment:3 by , 11 months ago
Description: | modified (diff) |
---|
comment:4 by , 11 months ago
Description: | modified (diff) |
---|