【发布时间】:2018-09-05 03:17:43
【问题描述】:
Installing rmagick on Ubuntu 有针对不同版本的 ubuntu 的解决方案,但在 17.04 上都没有解决方案?
sudo apt-get install libmagickwand-dev给了
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libmagickwand-dev : Depends: imagemagick-6-common (= 8:6.9.7.4+dfsg-3ubuntu1) but 8:6.9.7.4+dfsg-3ubuntu1.2 is to be installed
Depends: libmagickwand-6.q16-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
找不到任何解决方案。更新到 Ubuntu 到 17.10,它工作正常。
【问题讨论】:
-
您可以考虑使用github.com/minimagick/minimagick,它实际上是一个直接替代品,安装更简单,资源利用率更高。
标签: ruby-on-rails ubuntu ubuntu-17.04