gpt4 book ai didi

ubuntu - 如何安装特定版本的 Erlang/OTP?

转载 作者:太空宇宙 更新时间:2023-11-03 16:44:57 25 4
gpt4 key购买 nike

我继承了一个带有 puppet/vagrant/Virtual box 设置的项目。 vagrant 规定打破了我对 rabbitmq-server 的错误理解。

错误:

==> 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 时,我的版本显示为 R14B04,而我想要与 rabbitmq 配合良好的 r16。如何安装特定版本的 erlang?

目前我试过 sudo apt-get install erlang=1:16.b.3-dfsg-1ubuntu2 但是找不到。尝试了几种变体但没有运气。我的另一个想法是下载 tar 本身并构建它,但这似乎太过分了,而且我似乎遗漏了一些更明显的东西。

最佳答案

您需要使用 Erlang-Solutions 存储库:

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

关于ubuntu - 如何安装特定版本的 Erlang/OTP?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44685813/

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