VirtualBox

14 月 前 建立

14 月 前 更新

#21951 new defect

VirtualBox installer doesn't close running virtual machines / GUI resulting in broken installation after upgrading

回報者: soredake 負責人:
元件: installer 版本: VirtualBox-7.0.12
關鍵字: 副本: soredake
Guest type: other Host type: Windows

描述 (由 soredake 作最後更新)

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:

https://i.ibb.co/vxxMWTh/vbox-before-apps.png https://i.ibb.co/R79PWYt/Screenshot-2024-01-12-183552.png

After updating VirtualBox:

https://i.ibb.co/nQfw3cN/vbox-after-apps.png https://i.ibb.co/R79PWYt/Screenshot-2024-01-12-183552.png

Error about kernel driver:

https://i.ibb.co/59sY7GP/Screenshot-2024-01-11-204509.png

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

更動歷史 (4)

comment:1 14 月 前soredake 編輯

描述: 修改 (差異)

comment:2 14 月 前soredake 編輯

描述: 修改 (差異)

comment:3 14 月 前soredake 編輯

描述: 修改 (差異)

comment:4 14 月 前soredake 編輯

描述: 修改 (差異)
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette