我试图在Debian 7.6(Wheezy)上安装redmine 2.5.4。我遇到一个问题,为什么我尝试安装rmagick gem。
我尝试apt-get install libmagickwand-dev libmysqlclient-dev
和apt-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.
我在网上尝试了很多解决方案,但没有人工作过。
你能帮我吗?
答案 0 :(得分:1)
所以至少这里是Redmine网站的教程 https://www.redmine.org/projects/redmine/wiki/RedmineInstall
只需运行命令
bundle install --without development test
然后
bundle install --without development test rmagick