我想在CentOS 6上安装最新的RabbitMQ服务器3.6.14。
我遵循了本教程:How To Install and Manage RabbitMQ
当我运行以下命令安装“erlang”时,它安装了“erlang-R14B-04”软件包而不是安装RabbitMQ 3.6.14所需的“erlang> = R16B-03”。
# yum install erlang
所以我尝试通过运行
来卸载erlang # yum remove erlang
当我下载并尝试从.rpm文件安装“erlang> = R16B-03”时,我遇到了以下错误:
Transaction Check Error:
file /usr/bin/epmd from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/erl from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/erlc from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/escript from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/run_erl from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/run_test from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/to_erl from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-erts-R14B-04.3.el6.x86_64
file /usr/bin/dialyzer from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-dialyzer-R14B-04.3.el6.x86_64
file /usr/bin/typer from install of esl-erlang-R16B03-1.x86_64 conflicts with file from package erlang-typer-R14B-04.3.el6.x86_64
Error Summary
为了处理它们,我在备份后删除了提到的文件:epmd,erl,erlc,escript,run_erl,run_test,to_erl,dialyzer和typer。
但我仍面临同样的错误。如何从erlang-R14B-04升级到erlang-R16B-03?请帮忙。
答案 0 :(得分:0)
下载软件包:
wget https://github.com/rabbitmq/erlang-rpm/releases/download/v20.3.0/erlang-20.3-1.el6.x86_64.rpm
然后安装
yum install erlang-20.3-1.el6.x86_64.rpm