我继承了一个有傀儡/流浪者/虚拟盒子设置的项目。流浪者的设置在我的rabbitmq服务器周围的erlangs周围被打破了。
错误:
==> default: err: /Stage[main]/Rabbitmq::Install/Package[rabbitmq-server]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install rabbitmq-server' returned 100: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: Some packages could not be installed. This may mean that you have
==> default: requested an impossible situation or if you are using the unstable
==> default: distribution that some required packages have not yet been created
==> default: or been moved out of Incoming.
==> default: The following information may help to resolve the situation:
==> default:
==> default: The following packages have unmet dependencies:
==> default: rabbitmq-server : Depends: erlang-nox (>= 1:16.b.3) but it is not going to be installed or
==> default: esl-erlang but it is not installable
==> default: Depends: init-system-helpers (>= 1.13~) but it is not installable
==> default: E: Unable to correct problems, you have held broken packages.
我已经完成了http://www.scotthelm.com/2013/11/27/rabbit-mq-and-erlang-and-ubuntu-oh-my.html
列出的步骤。我安装了erlang和erlagn-nox,但是当我运行erl
时,我的版本显示为R14 B 04,而我想要r16,rabbitmq玩得很好。我如何安装特定版本的erlang?
目前我已经尝试了sudo apt-get install erlang=1:16.b.3-dfsg-1ubuntu2
,但是找不到它。我尝试了几种变体,但是没有成功。我的另一个想法是下载tar本身并构建它,但是这似乎太过分了,而且似乎我错过了一些更明显的东西。
6条答案
按热度按时间dy2hfwbg1#
您需要使用Erlang-Solutions存储库:
icnyk63a2#
您可以使用kerl在同一台机器上安装不同的Erlang/OTP。
r9f1avp53#
1. Remove previous Erlang versions/packages:
2. Add the repository entry manually:
$ lsb_release -c
. In my case it's xenial.$ sudo nano /etc/apt/sources.list
and add following text at the end of the file:with the following contents:
where 21.3 is the version of Erlang/OTP.
3. Install Erlang:
4. Check installed Erlang version:
Related link:https://www.erlang-solutions.com/resources/download.html
j5fpnvbx4#
首先从http://erlang.org/download下载所需版本
祝你一切顺利
v7pvogib5#
You may also check solution called EVM
here is the detailed information : https://github.com/robisonsantos/evm
csbfibhn6#
安装Erlang