ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Can't install Ros2 on Ubuntu 16.04 from debs

asked 2019-01-02 10:12:40 -0500

updated 2019-01-02 12:27:48 -0500


I've been trying to follow the tutorial for installing ROS2 Crystal from debs. However when I try doing apt install ros-crystal-desktop I get an error:

E: Unable to locate package ros-crystal-desktop

When doing "sudo apt update" I can see:

Hit:22 xenial InRelease

Also the file vim /etc/apt/sources.list.d/ros2-latest.list exists and has the following contents:

deb [arch=amd64,arm64] xenial main

I'm on a laptop with Ubuntu 16.04 with 64 bit processor and I have ROS Kinetic installed and working flawlessly. Am I missing anything obvious here?

edit retag flag offensive close merge delete

1 Answer

Sort by Ā» oldest newest most voted

answered 2019-01-02 10:40:33 -0500

gvdhoorn gravatar image

Am I mussing anything obvious here?

Perhaps this comment from the page you link:

Debian packages for ROS 2 Bouncy (the latest release) are available for Ubuntu Bionic; packages for ROS 2 Ardent are available for Ubuntu Xenial.

There are no .debs for Ubuntu Xenial, no matter the architecture.

See also REP-2000: ROS 2.0 Target Platforms - Crystal Clemmys (December 2018 - December 2019), where Ubuntu Xenial is marked with an [s], meaning:

" [s] " Compilation from source, the ROS buildfarm will not produce any binary packages for these platforms.

edit flag offensive delete link more


OK, that was pretty obvious thing that I've missed. Thanks!

msadowski gravatar image msadowski  ( 2019-01-02 11:01:45 -0500 )edit

Okay this is pretty misleading because the Tutorial page mentioned by OP wrongly mentions (as of posting this comment) that binaries of Crystal are indeed available for Xenial as well as Bionic!

Tejas Kumar shastha gravatar image Tejas Kumar shastha  ( 2019-08-19 09:57:33 -0500 )edit

Can you clarify where you read that?

I only see:

Debian packages for ROS 2 Crystal (the latest release) and ROS 2 Bouncy are available for Ubuntu Bionic; packages for ROS 2 Ardent are available for Ubuntu Xenial.


ROS 2 Ardent (Ubuntu Xenial)

gvdhoorn gravatar image gvdhoorn  ( 2019-08-19 10:10:47 -0500 )edit

Terribly sorry for the late response, but I hope this is still relevant : In the page , it says -

Binary packagesĀ¶

We provide ROS 2 binary packages for the following platforms:

Linux (Ubuntu Xenial(16.04) and Ubuntu Bionic(18.04))

    Debian packages

    "fat" archive


Tejas Kumar shastha gravatar image Tejas Kumar shastha  ( 2019-10-16 10:27:51 -0500 )edit

Question Tools

1 follower


Asked: 2019-01-02 10:12:40 -0500

Seen: 1,958 times

Last updated: Jan 02 '19