有一天重启电脑后虚拟机virtual box突然打不开了,提示类似

https://askubuntu.com/questions/900794/virtualbox-rtr3initex-failed-with-rc-1912-rc-1912

参考帖子中查看了一下包的情况dpkg --list virtualbox-* | grep ii

结果:
ii  virtualbox-dkms                5.1.28-dfsg-2              all          x86 virtualization solution - kernel module sources for dkms
ii  virtualbox-qt                  5.2.2-dfsg-2               amd64        x86 virtualization solution - Qt based user interface
发现是安装的版本不知何时升级的不一致了,只要升级一下就好了旧版本的包就好了

apt-get update

apt-get upgrade virtualbox-dkms*

再次查看dpkg --list virtualbox-* | grep ii
ii  virtualbox-dkms                5.2.2-dfsg-3               all          x86 virtualization solution - kernel module sources for dkms
ii  virtualbox-qt                  5.2.2-dfsg-3               amd64        x86 virtualization solution - Qt based user interface

版本一致,恢复正常

05-11 03:53