dpkg:处理包 mendeleydesktop 时出错(--install)

Pea*_*ful 2 package-management apt dpkg mendeley

现在我厌倦了这个错误,在尝试了从类似问题中发现的所有内容后,我决定发布此内容。所以我尝试在新安装的 Ubuntu 14.04 上安装mendeleydesktop :

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
Run Code Online (Sandbox Code Playgroud)

我试过

sudo apt-get install -f
Run Code Online (Sandbox Code Playgroud)

但这并不能消除错误。如果有人能解决我的问题,我会很高兴。提前致谢。

小智 6

我在 ubuntu 18.04 中也遇到了同样的问题。我用以下方法解决了它:

sudo apt --修复损坏的安装

然后尝试再次安装该程序。这对我有用。