现在我厌倦了这个错误,在尝试了从类似问题中找到的所有方法后,我决定发布此内容。所以我正在尝试安装mendeley桌面在我新安装的 Ubuntu 14.04 上:
sudo dpkg -i mendeleydesktop_1.16.1-stable_i386.deb
但它会引发以下错误:
(Reading database ... 248304 files and directories currently installed.)
Preparing to unpack mendeleydesktop_1.16.1-stable_i386.deb ...
Unpacking mendeleydesktop (1.16.1) over (1.16.1) ...
dpkg: dependency problems prevent configuration of mendeleydesktop:
mendeleydesktop depends on python.
dpkg: error processing package mendeleydesktop (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
mendeleydesktop
我试过
sudo apt-get install -f
但这并不能消除错误。如果有人能解决我的问题,我会非常高兴。提前谢谢。
答案1
我在 ubuntu 18.04 中遇到了同样的问题。我使用以下方法解决了它:
sudo apt--fix-broken 安装
然后尝试再次安装程序。对我来说,它成功了。
答案2
dpkg:依赖问题阻止了 mendeleydesktop 的配置:mendeleydesktop 依赖于 python。
检查 python 是否仍然安装,如下所示:我们是否必须安装 Python 或者它已经安装在 Ubuntu 14.04LTS 中了?