【问题标题】:how can i install rmagick on ubuntu 17.04我如何在 ubuntu 17.04 上安装 rmagick
【发布时间】: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,它工作正常。

【问题讨论】:

标签: ruby-on-rails ubuntu ubuntu-17.04


【解决方案1】:

您可以通过sudo apt-cache search libmagickwand-dev 在 ubuntu 中搜索任何软件包,如果您找到了您正在寻找的软件包,然后通过 sudo apt-get install libmagickwand-dev 进行安装,

安装所有未满足的依赖项应该可以解决问题,并且执行以下命令来升级任何丢失的包总是有帮助的

sudo apt-get upgrade && sudo apt-get update

在此之后您应该能够安装rmagick 而不会出现任何问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-01-24
    • 2011-04-11
    • 1970-01-01
    • 2014-11-24
    • 1970-01-01
    • 2017-09-21
    • 2017-09-27
    相关资源
    最近更新 更多