-
Debian/Ubuntu with
apt(HTTPS supported by default). -
curlandgpginstalled:sudo apt-get update && sudo apt-get install -y curl gpg
Create the source list and import the signing key:
echo 'deb [arch=all] https://repository.mapsmessaging.io/repository/maps_apt_release/ stable main' | sudo tee /etc/apt/sources.list.d/mapsmessaging-release.list
sudo curl -fsSL https://repository.mapsmessaging.io/repository/public_key/daily/apt_daily_key.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/mapsmessaging-apt.gpg
sudo apt-get updateCreate the source list and reuse the same signing key:
echo 'deb [arch=all] https://repository.mapsmessaging.io/repository/maps_apt_daily/ development main' | sudo tee /etc/apt/sources.list.d/mapsmessaging-daily.list
# Key is already installed (mapsmessaging-apt.gpg)
sudo apt-get updateIf you want Release by default but keep Snapshot available for explicit installs/upgrades:
# Add BOTH lists (key already installed), then set pinning:
sudo tee /etc/apt/preferences.d/mapsmessaging <<'EOF'
Package: maps
Pin: release o=mapsmessaging-release
Pin-Priority: 900
Package: maps-ml
Pin: release o=mapsmessaging-release
Pin-Priority: 900
Package: *
Pin: release o=mapsmessaging-daily
Pin-Priority: 400
EOFNotes:\
o=(Origin) is derived from repo metadata; if apt doesn't match, > useapt-cache policyto see the exacto=value and adjust.\- With these priorities, Release is preferred; Snapshot can still be > installed explicitly (see below).
Standard edition:
sudo apt-get update
sudo apt-get install mapsML-enabled edition:
sudo apt-get update
sudo apt-get install maps-mlIf both channels are configured and you need Snapshot specifically:
sudo apt-get install -t development maps
# or
sudo apt-get install -t development maps-ml# Standard
sudo systemctl enable --now maps
# ML
sudo systemctl enable --now maps-ml
# Check status/logs
systemctl status maps
journalctl -u maps -n 200 --no-pager-
Regular upgrades (per your channel/pinning):
sudo apt-get update sudo apt-get upgrade
-
Force upgrade from Release to Snapshot (one-off):
sudo apt-get install -t development maps
-
Release → Snapshot: add snapshot list, then
apt-get updateand install with-t development. -
Snapshot → Release: remove snapshot list (or lower its priority), ensure release list exists,
apt-get update, then:sudo apt-get install maps/stable # or maps-ml/stable (use the release pocket name shown by `apt-cache policy`)
apt-cache policy maps
apt-cache policy maps-mlThis shows the versions, priorities, and which repo apt will choose.
sudo systemctl disable --now maps || true
sudo systemctl disable --now maps-ml || true
sudo apt-get remove maps maps-ml
# Optional: purge config
sudo apt-get purge maps maps-ml-
GPG/Signature issues: re-import the correct key, confirm the
.gpgfile exists in/etc/apt/trusted.gpg.d/, then:sudo apt-get clean sudo apt-get update -o Acquire::https::Verify-Peer=true
-
Pinning doesn't apply: check exact origins/labels:
apt-cache policy | sed -n '/maps_apt_/,+5p'
Adjust
o=in/etc/apt/preferences.d/mapsmessagingaccordingly. -
Behind a proxy: set
Acquire::http::Proxy/Acquire::https::Proxyin/etc/apt/apt.conf.d/01proxy.
maps: Maps Messaging Server (standard).maps-ml: Maps Messaging Server with ML features included.