Skip to main content

Team RabbitMQ's Debian (apt) Repositories are Moving

· 7 min read

Attention Debian and Ubuntu users: our apt repositories are moving..

The existing repos, ppa1.rabbitmq.com and ppa2.rabbitmq.com, will remain in operation until Nov 1, 2025 but not receive any new updates.

Our Debian (Apt) Repositories are Moving

Our Debian (apt) repositories are moving from ppa*.rabbitmq.com to deb*.rabbitmq.com. The new repositories are live and covered in the Debian doc guide.

How to Migrate

To add the new repositories and their signing key, use the following scripts.

#!/bin/sh

sudo apt-get install curl gnupg apt-transport-https -y

## Team RabbitMQ's 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

## Add apt repositories maintained by Team RabbitMQ
sudo tee /etc/apt/sources.list.d/rabbitmq.list <<EOF
## Modern Erlang/OTP releases
##
deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-erlang/ubuntu/noble noble main
deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-erlang/ubuntu/noble noble main

## Latest RabbitMQ releases
##
deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb1.rabbitmq.com/rabbitmq-server/ubuntu/noble noble main
deb [arch=amd64 signed-by=/usr/share/keyrings/com.rabbitmq.team.gpg] https://deb2.rabbitmq.com/rabbitmq-server/ubuntu/noble noble 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

Changes In the New Repositories

The new repositories, deb1.rabbitmq.com and deb2.rabbitmq.com, are signed using our team's standard signing key instead of of the keys used by their upstream Cloudsmith repositories.

For the distributions that are sufficiently old, the new repositories provide packages going back to RabbitMQ 3.10.x and Erlang versions going back to 24 or 25. Newer distributions, such as Ubuntu 24.04, start with RabbitMQ 3.12.x and Erlang 26. Note that even the 3.12.x series are entirely out of support by now. We strongly encourage everyone to move to the latest RabbitMQ 4.x series.

If you use apt pinning, note that the Origin field of the new repo has changed to RabbitMQ.

Existing Repository Shutdown Schedule

The existing repos, ppa1.rabbitmq.com and ppa2.rabbitmq.com, will remain in operation until Nov 1, 2025 but will not receive any new updates. After Nov 1, 2025, these repositories will be shut down.

Please do not put off the migration, it is a matter of updating an apt repository definition file: the signing key used by the new repos has been recommended for installing by our docs for years.

Thank you, Cloudsmith

Cloudsmith.io has been powering our apt and dnf (yum, RPM) repositories directly or as a mirror upstream since 2016. For nearly a decade, Cloudsmith have offered us a reliable service and an API that's a pleasure to automate with.