I have inherited a project with a puppet/vagrant/Virtual box setup. The vagrant provision is breaking around my erlangs surrounding rabbitmq-server.
the error:
==> 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.
I have gone through the steps listed http://www.scotthelm.com/2013/11/27/rabbit-mq-and-erlang-and-ubuntu-oh-my.html
. I installed erlang and erlagn-nox, but when i run erl
my version shows as R14B04 when i want the r16 that rabbitmq plays well with. How do I install a specific version of erlang?
Currently I have tried sudo apt-get install erlang=1:16.b.3-dfsg-1ubuntu2
but it can't be found. Have tried several variations but no luck. My other idea is to download the tar itself and build it, but this seems excessive and it seems like I am missing something more obvious.
Uninstalling RabbitMQ and Erlang OTPOpen the Windows Control Panel. Double-click Programs and Features. In the list of currently installed programs, right-click RabbitMQ Server, and then click Uninstall. In the list of currently installed programs, right-click Erlang OTP, and then click Uninstall.
Download Erlang/OTP The latest version of Erlang/OTP is 25.1. 2. To install Erlang you can either build it from source or use a pre-built package. Take a look at the Erlang/OTP 25 release description to see what changes Erlang/OTP 25 brings over the previous major version.
Erlang InstallationStep 1 − Launch the Installer downloaded in the earlier section. After the installer starts, click Run. Step 2 − Click Next on the following screen to accept the default components, which will be installed. Step 3 − Accept the default installation path and click Next.
The Erlang cookie is a shared secret used for authentication between RabbitMQ nodes and CLI tools. The value is stored in a file commonly referred to as the Erlang cookie file. The cookie file used by the service account and the user running rabbitmqctl. bat must be synchronised for CLI tools such as rabbitmqctl.
you cau use Erlang-Solutions repositories:
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get update
sudo apt-get install esl-erlang=1:19.3.6
You can use kerl to install different Erlang/OTP on the same machine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With