首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在debian 7.6上安装rmagick (包冲突)

无法在debian 7.6上安装rmagick (包冲突)
EN

Stack Overflow用户
提问于 2014-10-07 07:52:59
回答 1查看 454关注 0票数 4

我正在尝试在Debian 7.6 (Wheezy)上安装redmine 2.5.4。我遇到了一个问题,为什么我尝试安装rmagick gem。

我尝试了apt-get install libmagickwand-dev libmysqlclient-devapt-get install libmagick++-dev,但是我无法安装。事实上,在以下情况下,已经显示出冲突:

代码语言:javascript
复制
maxime@ns504687:/opt/redmine$ sudo aptitude why-not libmagick++-dev
i   imagemagick                         Suggests  html2ps
p   html2ps                             Depends   perlmagick
p   graphicsmagick-libmagick-dev-compat Provides  perlmagick
p   graphicsmagick-libmagick-dev-compat Conflicts libmagick++-dev

下面是apt-get install libmagickwand-dev libmysqlclient-dev的结果

代码语言:javascript
复制
maxime@ns504687:/opt/redmine$ sudo apt-get install libmagickwand-dev libmysqlclient-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmysqlclient-dev is already the newest version.
libmysqlclient-dev set to manually installed.
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: libmagickcore-dev (= 8:6.7.7.10-5+deb7u3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

下面是apt-get install libmagick++-dev的结果:

代码语言:javascript
复制
maxime@ns504687:/opt/redmine$ sudo apt-get install libmagick++-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:
 libmagick++-dev : Depends: libmagickcore-dev (= 8:6.7.7.10-5+deb7u3) but it is not going to be installed
                   Depends: libmagickwand-dev (= 8:6.7.7.10-5+deb7u3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我尝试了很多在网上找到的解决方案,但都没有成功。

你能帮帮我吗?

EN

回答 1

Stack Overflow用户

发布于 2018-05-14 21:26:43

因此,至少这里是来自Redmine站点https://www.redmine.org/projects/redmine/wiki/RedmineInstall的教程

只需运行该命令

代码语言:javascript
复制
bundle install --without development test

然后

代码语言:javascript
复制
bundle install --without development test rmagick
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26226581

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档