看到有一个新的VirtualBox版本,我尝试将其安装在Kubuntu 15.04上...
但是,现在我在ubuntu存储库中的所有VBox 4.3软件包都已损坏(Virtualbox由未安装的Virtualbox-5.0提供),VirtualBox 5.0无法正常工作,因为它说DKMS已损坏:
Uninstalling old VirtualBox DKMS kernel modules/etc/init.d/vboxdrv: 302: /etc/init.d/vboxdrv: /usr/share/virtualbox/src/vboxhost/do_dkms: not found
...done.
Trying to register the VirtualBox kernel modules using DKMS/etc/init.d/vboxdrv: 327: /etc/init.d/vboxdrv: /usr/share/virtualbox/src/vboxhost/do_dkms: not found
...failed!
(Failed, trying without DKMS)
重新安装virtualbox-dkms:
dpkg: error processing package virtualbox-dkms (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-qt:
virtualbox-qt depends on virtualbox (= 4.3.26-dfsg-2ubuntu2); however:
Package virtualbox is not configured yet.
Package virtualbox-5.0 which provides virtualbox is not installed.
dpkg: error processing package virtualbox-qt (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
即使VirtualBox 5.0是通过Oracle网站上的deb软件包安装的。
我该怎么做才能完全删除5.0并安装VirtualBox 4.3,或正确安装virtualbox 5.0?
我已经尝试过卸载VirtualBox 5.0(通过apt-get purge),然后安装4.3,但是得到与VirtualBox-5.0软件包提供的VirtualBox有关的错误。
*
andapt-get
:此命令接受正则表达式,而不是 glob-pattern!。您的命令应为apt-get purge "^virtualbox-.*"
。在这种情况下可能是一样的,但它会咬你......看到askubuntu.com/questions/210976/...