更新系统时virtualbox出现错误

更新系统时virtualbox出现错误

我只是想知道,以前有人遇到过这个问题吗?当我尝试通过终端执行 apt-get upgrade 或安装新软件时,就会发生这种情况。我想指出,virtualbox 可以正常工作。我如何检查需要哪些依赖项???apt-get update -f 没有帮助

提前致谢

Setting up virtualbox (4.3.26-dfsg-2ubuntu2) ...
insserv: script virtualbox: service vboxdrv already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package virtualbox (--configure):
 subprocess installed post-installation script returned error exit status     1
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-4.3 which provides virtualbox is not installed.

dpkg: error processing package virtualbox-qt (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-dkms:
virtualbox-dkms depends on virtualbox (>= 4.3.26-dfsg-2ubuntu2); however:
Package virtualbox is not configured yet.
Package virtualbox-4.3 which provides virtualbox is not installed.

dpkg: error processing package virtualbox-dkms (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
    No apport report written because the error message indicates it's a follow-up error from a previous failure.
            Errors were encountered while processing:
 virtualbox
 virtualbox-qt
 virtualbox-dkms
 E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

使用该命令apt-cache depends <package-name>应该会告诉您包中需要哪些依赖项。

相关内容