Ubuntu 无法安装 StarUML

###错误信息

$ 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

转载于:https://my.oschina.net/brainysoon/blog/759053

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值