gpt4 book ai didi

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

转载 作者:数据小太阳 更新时间:2023-10-29 07:37:46 31 4
gpt4 key购买 nike

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

我尝试了 apt-get install libmagickwand-dev libmysqlclient-devapt-get install libmagick++-dev 但我无法安装。事实上,在 :

之后出现了冲突
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的结果

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 的结果:

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.

我尝试了很多在网上找到的解决方案,但没有一个有效。

你能帮帮我吗?

最佳答案

所以至少这是来自 Redmine 网站的教程 https://www.redmine.org/projects/redmine/wiki/RedmineInstall

运行命令即可

bundle install --without development test

然后

bundle install --without development test rmagick

关于ruby - 无法在 debian 7.6 上安装 rmagick(包冲突),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26226581/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com