0
$\begingroup$

Rosanswers logo

Trying to install noetic (with melodic installed) with Ubuntu Bionic, but cannot find the package. I followed the installation instructions. The file /etc/apt/sources.list.d/ros-latest.list contains

deb http://packages.ros.org/ros/ubuntu bionic main

Here is the response to the keys update:

$ sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
Executing: /tmp/apt-key-gpghome.34BODFjpk6/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
gpg: key F42ED6FBAB17C654: "Open Robotics <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

Originally posted by dan on ROS Answers with karma: 875 on 2020-05-24

Post score: 2

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Trying to install noetic (with melodic installed) with Ubuntu Bionic

Noetic is only supported on Ubuntu Focal. You cannot install it on Ubuntu Bionic.

See also REP 3: Target Platforms - Platforms by Distribution - Noetic Ninjemys (May 2020 - May 2025).


Edit:

I saw the REP3 doc but thought it meant that Noetic packages must support Ubuntu Focal, not that Noetic would not run on Bionic.

The REP has this to say about supported platforms:

Required Support for:

  • Ubuntu Focal Fossa (20.04)

Recommended Support for:

  • Debian Buster
  • Fedora 32

So Ubuntu Focal must be supported by packages released into ROS Noetic, while Debian Buster and Fedora 32 are to be given best effort support.

Ubuntu Bionic is not mentioned here. ROS Noetic does not support Ubuntu Bionic with binary packages (so no apt install ros-noetic-..).

Note also: not all architectures get binary packages either. Typically only 64 bit targets are supported (ie: amd64 and arm64). See REP-3 again.

This earlier doc suggests that it should:

If you are using the same branch for Noetic and Melodic, then use Ubuntu Bionic. That will make sure your changes continue to work on Melodic's target platform. If you are using a separate branch for Noetic, then consider using Debian Buster as that will likely be one of Noetic's target platforms.

That's a quote from the Python 3 migration guide, and the branches this text refers to are the branches in your VCS repository. For some packages it may be possible to use the same code base for both Melodic and Noetic. In that case there is no need to maintain separate versions of packages for these two ROS versions.

Note how the rest of the guide you quoted from then continuous to describe how to build ROS from source (either Melodic or Noetic, depending on which route you choose).

If Noetic requires Focal, does that mean you cannot have Melodic and Noetic on the same system?

If your question was: "can I install ROS Noetic using apt on Ubuntu Bionic?", then the answer would be: no (see above).

In the past when I upgraded ROS, I would keep the earlier version around for a while, to use when I needed packages that had not yet upgraded.

Melodic also was only available on Bionic (and Artful (17.10) for as long as that Ubuntu release was supported by Canonical). You could not install Kinetic and Melodic on the same system.

It would be convenient, but it's not something that is supported by the ROS buildfarm configuration (ie: it does not build binary packages of Noetic for any Ubuntu version other than Focal).

Possible work-arounds:

  • use Docker: once the images are available, you should be able to docker run -it --rm ros:noetic on any OS which is supported by Docker
  • build from source: it may be possible to build Noetic from source on Ubuntu versions other than Focal. A from-source build will require a bit more effort -- both the initial build as well as keeping it up-to-date -- but would allow you to run Noetic on systems and OS which are not officially supported (or for which binary packages are not available)

Originally posted by gvdhoorn with karma: 86574 on 2020-05-24

This answer was ACCEPTED on the original site

Post score: 5


Original comments

Comment by dan on 2020-05-24:
I saw the REP3 doc but thought it meant that Noetic packages must support Ubuntu Focal, not that Noetic would not run on Bionic. This earlier doc suggests that it should:

If you are using the same branch for Noetic and Melodic, then use Ubuntu Bionic. That will make sure your changes continue to work on Melodic's target platform. If you are using a separate branch for Noetic, then consider using Debian Buster as that will likely be one of Noetic's target platforms.

If Noetic requires Focal, does that mean you cannot have Melodic and Noetic on the same system? In the past when I upgraded ROS, I would keep the earlier version around for a while, to use when I needed packages that had not yet upgraded.

Comment by dan on 2020-05-25:
Thank you for this excellent and detailed answer!

Comment by BCJ on 2020-07-28:
@gvdhoorn Hello, I faced the same issue. I am unable to locate package ros-noetic-desktop-full but manage to locate ros-noetic-desktop, ros-noetic-core and ros-noetic-base. After searching google online, I found someone use

sudo apt install ros-desktop-full

to install noetic on Ubuntu 20.04. Is this the same as ros-noetic-desktop-full?

link

Comment by gvdhoorn on 2020-07-29:
No, ros-desktop-full is not the same at all.

If you want to use Noetic, stay away from ros-desktop-full.

See wiki/UpstreamPackages for more information.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.