我在安装 deb 文件时遇到问题
我用了sudo dpkg -i ~/Downloads/virtualbox-7.0_7.0.12-159484~Ubuntu~jammy_amd64.deb
安装它
dpkg: error processing package virtualbox-7.0 (--install):
dependency problems - leaving unconfigured
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (2.1-2) ...
Errors were encountered while processing:
virtualbox-7.0
已安装但未打开!!
我怎样才能解决这个问题?
答案1
如果你查看日志,你会发现一些日志表明虚拟盒依赖于一些软件包,例如libqt5help5。
sudo apt --fix-broken install
这解决了我的问题。