Ubuntu 无法安装 StarUML

故事扮演 提交于 2020-04-12 18:12:02

###错误信息

$ sudo dpkg -i StarUML-v2.7.0-64-bit.deb 
Selecting previously unselected package staruml.
(Reading database ... 212003 files and directories currently installed.)
Preparing to unpack StarUML-v2.7.0-64-bit.deb ...
Unpacking staruml (2.7.0) ...
dpkg: dependency problems prevent configuration of staruml:
 staruml depends on libgcrypt11 (>= 1.4.5); however:
  Package libgcrypt11 is not installed.

dpkg: error processing package staruml (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Errors were encountered while processing:
 staruml

###解决方法 ####1.Download libgcrypt11_1.5.3 from:

https://launchpad.net/ubuntu/+archive/primary/+files/libgcrypt11_1.5.3-2ubuntu4.2_amd64.deb

####2.Install lib with dpkg

sudo dpkg -i libgcrypt11_1.5.3-2ubuntu4.2_amd64.deb

####3.Install StarUML with dpkg

sudo dpkg -i StarUML-v2.7.0-64-bit.deb

###如果还是不行的话 ####1.首先修正一下依赖

apt-get -f install

####2.重复上述方法

Migrated to https://sheltonsuen.github.io

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!