Closed moerkey closed 2 years ago
We are aware of this but there is nothing that can be done in this package.
RabbitMQ Debian package does not specify 25 as supported. It would be fine but on Launchpad PPA, as soon as 25.0 published, the previous 24.3 version was deleted by Launchpad itself. No other package hosting service works this way.
We won't be issuing updates for Ubuntu 18.04 for much longer since that distribution is 4 years old. But we plan on bumping the allowed version range for RabbitMQ packages.
@moerkey If my understanding is correct, you're using Cloudsmith to provision Erlang and you get the latest version, that is 25.0 currently. RabbitMQ Debian package does not support Erlang 25 as @michaelklishin pointed out. You should use version pinning to make sure to stick to e.g. Erlang 24.3.x.
Thank you for your help so far. We will use version pinning in the meantime.
But I don't really get it. Who defines the dependencies? https://www.rabbitmq.com/install-debian.html is saying that Ubuntu 18.04 is still supported.
We are using the repos from CloudSmith. The packages erlang-* and rabbitmq-server are provided by you?! So don´t you define these dependencies?
Packages themselves define the dependencies. However, the user controls what repositories will be searched for the packages, what versions may be forced via pinning, and so on.
We are not aware of any problems with Cloudsmith, only a combination of Launchpad and any other soure.
As of last night, a new round of RabbitMQ releases lists Erlang 25.0 as supported, so Erlang can be installed from Launchpad again.
I don`t get it. We are using the lists from CloudSmith. Why are you repeating with Launchpad? So the problem is that the packages on CloudSmith have wrong dependencies defined. Am I wrong?
JFYI: I retested it. The packages on CloudSmith are updated too. Problem solved. Thank you.
I cannot reproduce any failures or dependency conflicts using these two sets of steps:
#!/bin/sh
sudo apt-get install curl gnupg debian-keyring debian-archive-keyring apt-transport-https -y
## Team RabbitMQ's main signing key
sudo apt-key adv --keyserver "hkps://keys.openpgp.org" --recv-keys "0x0A9AF2115F4687BD29803A206B73A36E6026DFCA"
## Cloudsmith: modern Erlang repository
curl -1sLf https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/gpg.E495BB49CC4BBE5B.key | sudo apt-key add -
## Cloudsmith: RabbitMQ repository
curl -1sLf https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/gpg.9F4587F226208342.key | sudo apt-key add -
## Add apt repositories maintained by Team RabbitMQ
sudo tee /etc/apt/sources.list.d/rabbitmq.list <<EOF
## Provides modern Erlang/OTP releases
##
deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu bionic main
deb-src https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu bionic main
## Provides RabbitMQ
##
deb https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu bionic main
deb-src https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu bionic main
EOF
## Update package indices
sudo apt-get update -y
## Install Erlang packages
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
## Install rabbitmq-server and its dependencies
sudo apt-get install rabbitmq-server -y --fix-missing
#!/usr/bin/sh
sudo apt-get install curl gnupg apt-transport-https -y
## Team RabbitMQ's main signing key
curl -1sLf "https://keys.openpgp.org/vks/v1/by-fingerprint/0A9AF2115F4687BD29803A206B73A36E6026DFCA" | sudo gpg --dearmor | sudo tee /usr/share/keyrings/com.rabbitmq.team.gpg > /dev/null
## Launchpad PPA that provides modern Erlang releases
curl -1sLf "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xf77f1eda57ebb1cc" | sudo gpg --dearmor | sudo tee /usr/share/keyrings/net.launchpad.ppa.rabbitmq.erlang.gpg > /dev/null
## PackageCloud RabbitMQ repository
curl -1sLf "https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey" | sudo gpg --dearmor | sudo tee /usr/share/keyrings/io.packagecloud.rabbitmq.gpg > /dev/null
## Add apt repositories maintained by Team RabbitMQ
sudo tee /etc/apt/sources.list.d/rabbitmq.list <<EOF
## Provides modern Erlang/OTP releases
##
## "bionic" as distribution name should work for any reasonably recent Ubuntu or Debian release.
## See the release to distribution mapping table in RabbitMQ doc guides to learn more.
deb [signed-by=/usr/share/keyrings/net.launchpad.ppa.rabbitmq.erlang.gpg] http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu bionic main
deb-src [signed-by=/usr/share/keyrings/net.launchpad.ppa.rabbitmq.erlang.gpg] http://ppa.launchpad.net/rabbitmq/rabbitmq-erlang/ubuntu bionic main
## Provides RabbitMQ
##
## "bionic" as distribution name should work for any reasonably recent Ubuntu or Debian release.
## See the release to distribution mapping table in RabbitMQ doc guides to learn more.
deb [signed-by=/usr/share/keyrings/io.packagecloud.rabbitmq.gpg] https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/ bionic main
deb-src [signed-by=/usr/share/keyrings/io.packagecloud.rabbitmq.gpg] https://packagecloud.io/rabbitmq/rabbitmq-server/ubuntu/ bionic main
EOF
## Update package indices
sudo apt-get update -y
## Install Erlang packages
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
## Install rabbitmq-server and its dependencies
sudo apt-get install rabbitmq-server -y --fix-missing
Of course you can not. The package rabbitmq-server was fixed 8h ago.
dpkg --info rabbitmq-server_3.10.4-1_all.deb
new Debian package, version 2.0.
size 12778920 bytes: control archive=37676 bytes.
133 bytes, 4 lines conffiles
1798 bytes, 11 lines control
186637 bytes, 1376 lines md5sums
3719 bytes, 104 lines * postinst #!/bin/sh
2554 bytes, 94 lines * postrm #!/bin/sh
191 bytes, 7 lines * prerm #!/bin/sh
Package: rabbitmq-server
Version: 3.10.4-1
Architecture: all
Maintainer: RabbitMQ Team <info@rabbitmq.com>
Installed-Size: 31777
Depends: init-system-helpers (>= 1.13~), erlang-base (>= 1:23.2) | erlang-base-hipe (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-base (<< 1:25.0) | erlang-base-hipe (<< 1:25.0) | esl-erlang (<< 1:25.0), erlang-crypto (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-crypto (<< 1:25.0) | esl-erlang (<< 1:25.0), erlang-eldap (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-eldap (<< 1:25.0) | esl-erlang (<< 1:25.0), erlang-inets (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-inets (<< 1:25.0) | esl-erlang (<< 1:25.0), erlang-mnesia (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-mnesia (<< 1:25.0) | esl-erlang (<< 1:25.0), erlang-os-mon (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-os-mon (<< 1:25.0) | esl-erlang (<< 1:25.0), erlang-parsetools (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-parsetools (<< 1:25.0) | esl-erlang (<< 1:25.0), erlang-public-key (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-public-key (<< 1:25.0) | esl-erlang (<< 1:25.0), erlang-runtime-tools (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-runtime-tools (<< 1:25.0) | esl-erlang (<< 1:25.0), erlang-ssl (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-ssl (<< 1:25.0) | esl-erlang (<< 1:25.0), erlang-syntax-tools (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-syntax-tools (<< 1:25.0) | esl-erlang (<< 1:25.0), erlang-tools (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-tools (<< 1:25.0) | esl-erlang (<< 1:25.0), erlang-xmerl (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-xmerl (<< 1:25.0) | esl-erlang (<< 1:25.0), adduser, logrotate
Section: net
Priority: extra
Homepage: https://www.rabbitmq.com/
Description: Multi-protocol messaging broker
RabbitMQ is an open source multi-protocol messaging broker.
dpkg --info rabbitmq-server_3.10.5-1_all.deb
new Debian package, version 2.0.
size 12827128 bytes: control archive=37592 bytes.
133 bytes, 4 lines conffiles
1079 bytes, 11 lines control
186637 bytes, 1376 lines md5sums
3719 bytes, 104 lines * postinst #!/bin/sh
2554 bytes, 94 lines * postrm #!/bin/sh
191 bytes, 7 lines * prerm #!/bin/sh
Package: rabbitmq-server
Version: 3.10.5-1
Architecture: all
Maintainer: RabbitMQ Team <info@rabbitmq.com>
Installed-Size: 32106
Depends: init-system-helpers (>= 1.13~), erlang-base (>= 1:23.2) | erlang-base-hipe (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-crypto (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-eldap (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-inets (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-mnesia (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-os-mon (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-parsetools (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-public-key (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-runtime-tools (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-ssl (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-syntax-tools (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-tools (>= 1:23.2) | esl-erlang (>= 1:23.2), erlang-xmerl (>= 1:23.2) | esl-erlang (>= 1:23.2), adduser, logrotate
Section: net
Priority: extra
Homepage: https://www.rabbitmq.com/
Description: Multi-protocol messaging broker
RabbitMQ is an open source multi-protocol messaging broker.
I am well aware of that as I released it.
I cannot go back in time but you may be the only person who run into an issue with Cloudsmith. There were no other reports. There were multiple from Launchpad users.
But I don't really get it. Who defines the dependencies? https://www.rabbitmq.com/install-debian.html is saying that Ubuntu 18.04 is still supported.
We are using the repos from CloudSmith. The packages erlang-* and rabbitmq-server are provided by you?! So don´t you define these dependencies?
We provide both Erlang and RabbitMQ packages, through Cloudsmith in this case. It's just we pushed Erlang 25 packages before we pushed a version of the RabbitMQ Debian package that says it supports Erlang 25. So people would pull the latest Erlang and RabbitMQ packages would end up with Erlang 25 and RabbitMQ that says it does not support it. We're sorry about this and this should be fixed now.
The current update is unstalling rabbitmq-server & erlang. I will not get reinstalled due to missing dependencies.
https://www.rabbitmq.com/which-erlang.html
Installed is:
Output from updating.
Installed is kinda nothing.
Reinstalling erlang
Error when trying to install rabbitmq.