遵循以下说明:
Installing on Debian and Ubuntu
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
deb http://dl.bintray.com/rabbitmq-erlang/debian bionic 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
我该如何处理此问题?
软件包erlang-ftp
和erlang-tftp
在Ubuntu 19.04(disco)中引入,因此在仿生中不存在。只是将它们置于命令之外; RabbitMQ不需要它们。
首先,我遵循legoscia的建议,并继续:
sudo apt-get update -y
sudo apt-get install -y rabbitmq-server
不幸的是,它以控制台的另一部分抱怨告终。
然后我给了[
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
通过以上所述,最终看起来很有希望。谢谢。你们两个。