Closed amanda11 closed 2 years ago
Seems to be a problem with dependencies. I have been unable to install erlang and rabbitMQ compatible verisons on U20 using the repositories we currently use (LaunchPad ones). Also affects U18.
1) Previously we installed version 1:24.3.4-1rmq1ppa1~ubuntu20.04.1 when it was working successfully - for erlang-base etc. But this version doesn't seem to be available any more on the LaunchPad apt repository. 2) The latest erlang-base etc version I can find is 1:22.... 3) If you use the older erlang-base then you can't install the latest rabbitMQ as it requires erlang >= 1:23.2
So either: 1) we need to find the erlang-base, erlang-asn1 etc 1:24 versions we used before. But I've not managed to find it in the repos we set:
$ apt list erlang-base -a
Listing... Done
erlang-base/focal 1:25.0-1rmq1ppa1~ubuntu20.04.1 amd64 [upgradable from: 1:22.2.7+dfsg-1]
erlang-base/focal,now 1:22.2.7+dfsg-1 amd64 [installed,upgradable to: 1:25.0-1rmq1ppa1~ubuntu20.04.1]
2) Have managed to get compatible set of erlang repos from "erlang solutions" repos, see https://www.rabbitmq.com/which-erlang.html#erlang-repositories If we use this repo and install version 1:24.3.3-1, then I was able to install rabbitmq-server
Also the older erlang repositories seem to be available at their cloudsmith repos: https://cloudsmith.io/~rabbitmq/repos/rabbitmq-erlang/packages/?q=erlang-base
3) I've found the erlang group package 1:24.3.4-1rmq1ppa1~ubuntu22.04.1 is available at https://launchpad.net/~rabbitmq/+archive/ubuntu/rabbitmq-erlang/+packages?field.name_filter=&field.status_filter=published&field.series_filter= But if I attempt to install that it complains about missing dependencies - so that doesn't seem to work
4) If we go back to the earlier erlang-base etc that is in the LaunchPad repository then we would have to rollback rabbitMQ version as well - and ideally we don't really want to rollback erlang and rabbitmq versions...
Using cloudsmith repos instead of LaunchPad allows us to install erlang version that works with rabbitmq Using pip install of passlib on EL8 resolves the failing to find passlib for python3.8
Use the CloudSmith rabbitmq-erlang packages rather than the LaunchPad erlang packages for Debian installations, so that we can specify a 24.x version of the rabbitmq-erlang. (25.x and 22.x are only available in LaunchPad for Debian and fail with latest rabbitMQ).
We no-longer want to use the latest 1.25 that is available in the rabbitmq-erlang repository, as this means that rabbitmq fails to install, and instead reports error:
Resolves #312