Ubuntu(仿生)安装问题上的RabbitMQ

问题描述 投票:0回答:2

遵循以下说明:

Installing on Debian and Ubuntu

  1. 添加存储库签名密钥:
curl -fsSL https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc | sudo apt-key add -
  1. 启用apt HTTPS传输:
sudo apt-get install apt-transport-https
  1. 添加源列表文件:(/etc/apt/sources.list.d/bintray.erlang.list),内容:
deb http://dl.bintray.com/rabbitmq-erlang/debian bionic erlang
  1. 安装Erlang软件包:
sudo apt-get update -y
sudo apt-get install -y erlang-base \
                        erlang-asn1 erlang-crypto erlang-eldap erlang-ftp erlang-inets \
                        erlang-mnesia erlang-os-mon erlang-parsetools erlang-public-key \
                        erlang-runtime-tools erlang-snmp erlang-ssl \
                        erlang-syntax-tools erlang-tftp erlang-tools erlang-xmerl

我收到以下错误消息:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package erlang-ftp
E: Unable to locate package erlang-tftp

我该如何处理此问题?

ubuntu installation rabbitmq erlang
2个回答
0
投票

软件包erlang-ftperlang-tftp在Ubuntu 19.04(disco)中引入,因此在仿生中不存在。只是将它们置于命令之外; RabbitMQ不需要它们。


0
投票

首先,我遵循legoscia的建议,并继续:

sudo apt-get update -y
sudo apt-get install -y rabbitmq-server

不幸的是,它以控制台的另一部分抱怨告终。

然后我给了[一个机会,并查看了“快速入门示例” shell片段:

Quick Start Example

sudo apt-get update -y sudo apt-get install curl gnupg -y curl -fsSL https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc | sudo apt-key add - sudo apt-get install apt-transport-https sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list <<EOF deb https://dl.bintray.com/rabbitmq-erlang/debian bionic erlang deb https://dl.bintray.com/rabbitmq/debian bionic main EOF sudo apt-get update -y sudo apt-get install rabbitmq-server -y --fix-missing

通过以上所述,最终看起来很有希望。谢谢。你们两个。
© www.soinside.com 2019 - 2024. All rights reserved.