无法在ubuntu 14.04 lts上安装fileutils Rubygem

当尝试安装fileutils gem时,我得到以下输出
No package 'MagickCore' found
Package MagickCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickCore.pc'
to the PKG_CONfig_PATH environment variable
No package 'MagickCore' found
Package MagickCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickCore.pc'
to the PKG_CONfig_PATH environment variable
No package 'MagickCore' found
Package MagickCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickCore.pc'
to the PKG_CONfig_PATH environment variable
No package 'MagickCore' found
checking for stdint.h... yes
checking for sys/types.h... yes
checking for wand/MagickWand.h... no

Can't install RMagick 2.13.4. Can't find MagickWand.h.
*** extconf.rb Failed ***
Could not create Makefile due to some reason,probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/home/aditya/.rvm/rubies/ruby-2.1.1/bin/ruby

extconf Failed,exit code 1

Gem files will remain installed in /home/aditya/.rvm/gems/ruby-2.1.1/gems/rmagick-2.13.4 for inspection.
Results logged to /home/aditya/.rvm/gems/ruby-2.1.1/extensions/x86_64-linux/2.1.0/rmagick-2.13.4/gem_make.out

看起来像rmagick有一些问题,imagemagick安装正确,试图安装rmagick gem我收到一个包丢失的错误libmagickwand-dev

当我尝试安装这个包我得到以下错误

The following packages have unmet dependencies:
 libmagickwand-dev : Depends: libmagickcore-dev (= 8:6.6.9.7-5ubuntu3.3) but it is not going to be installed
E: Unable to correct problems,you have held broken packages.
运行sudo apt-get install libmagickwand-dev解​​决了我的问题.

相关文章

目录前言一、创建Hadoop用户二、更新apt和安装Vim编辑器三、...
原文连接:https://www.cnblogs.com/yasmi/p/5192694.html ...
电脑重启后,打开VirtualBox,发现一直用的虚拟机莫名的消失...
参见:https://blog.csdn.net/weixin_38883338/article/deta...
Ubuntu 18.04 LTS 已切换到 Netplan 来配置网络接口。Netpla...
介绍每个 Web 服务都可以通过特定的 URL 在 Internet 上访问...