This page explains what the ros-snapshots repository is and how to use it.

Overview

Package syncs from testing to the main ROS repository occur roughly every two weeks for active ROS distros. When a sync occurs, older versions of updated packages are removed from the repository. This can cause disruptions if your system depends specifically on these earlier packages. Open Robotics is providing snapshots of the ROS repository after each sync which provide an option for users or organizations who want more control over when they upgrade to the latest sync.

Supported ROS distributions

Snapshots are taken for the following distributions and platforms. Snapshots will be available for at least six months from the sync date.

ROS DISTRO

OS

ARCHITECTURE

ROS Indigo

Ubuntu Trusty

i386, AMD64, ARMv7

ROS Kinetic

Ubuntu Xenial

i386, AMD64, ARMv7, ARMv8

ROS Melodic

Ubuntu Bionic

AMD64, ARMv7, ARMv8

ROS 2 Ardent

Ubuntu Xenial

AMD64, ARMv8

ROS 2 Bouncy

Ubuntu Bionic

AMD64, ARMv8

ROS 2 Crystal

Ubuntu Bionic

AMD64, ARMv8

Usage

Most ROS users and developers should continue to use ROS from the regular installation guide. The snapshot repository is still in preview so we don't recommend that you use it on production robots directly but if your build and deploy process involves bundling ROS packages before transferring a comprehensive artifact, like a Docker image or OCI container image, then the snapshot repository is worth checking out today.

Snapshots do not receive bug fixes or security updates so it is still recommended to follow ROS releases and upgrade periodically.

  1. Browse the snapshots repository and decide which snapshot to use.

  2. Add the snapshot repository key
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 0xCBF125EA
  3. Add the snapshot repository to apt sources.
    ROS_DISTRO=melodic # or indigo, kinetic, bouncy, crystal
    SYNC_DATESTAMP=2019-01-24
    sudo sh -c 'echo "deb http://snapshots.ros.org/${ROS_DISTRO}/${SYNC_DATESTAMP} $(lsb_release -sc) main" >> /etc/apt/sources.list.d/ros-snapshots.list'
  4. When this is done, update your apt index:
    sudo apt-get update
  5. You're now ready to install ROS from a snapshot repository.

Wiki: SnapshotRepository (last edited 2019-02-01 22:31:00 by nuclearsandwich)