Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install latest version of ros-crystal-rcl-interfaces with apt-get to bypass issue 159? #215

Closed
rubenanapu opened this issue Aug 28, 2019 · 2 comments
Labels
question Further information is requested

Comments

@rubenanapu
Copy link

Bug report

Required Info:

  • Operating System:
    • Ubuntu 18.04.3 LTS
  • Installation type:
    • apt-get

Steps to reproduce issue

I'm using osrf/ros:melodic-desktop-full Docker, image ID 41cf94b19c28 to install ros-crystal-ros-base, which includes ros-crystal-rcl-interfaces.

I'm experiencing the issue reported on #159, which was already closed.

The version that I have of ros-crystal-rcl-interfaces is 0.6.3-0bionic.20190817.173025.

According to the releases on https://github.com/ros2/rcl_interfaces/releases, version 0.7.4 was already released, but somehow apt-get only installs 0.6.3, and if you look carefully on the version details 0.6.3-0bionic.20190817.173025, it shows the date 20190817, but the version 0.7.4 was published on the 30th of May, according to the releases page aforementioned.

How can I install the latest version of ros-crystal-rcl-interfaces to solve issue #159?

The commands I used:

docker run -it osrf/ros:melodic-desktop-full /bin/bash

then

apt-get update
dpkg -l | grep rcl-interfaces
apt-get update && apt-get install -y curl gnupg2 lsb-release git
curl http://repo.ros2.org/repos.key | apt-key add -
echo "deb [arch=amd64,arm64] http://packages.ros.org/ros2/ubuntu `lsb_release -cs` main" | tee /etc/apt/sources.list.d/ros2-latest.list
apt-get update
apt-get install ros-crystal-ros-base python3-colcon-common-extensions -y
dpkg -l | grep rcl-interfaces
apt-get install --upgrade ros-crystal-rcl-interfaces

I think the most relevant outputs are:

root@f2a3fd144497:/# apt-get install --upgrade ros-crystal-rcl-interfaces
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ros-crystal-rcl-interfaces is already the newest version (0.6.3-0bionic.20190817.173025).
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.

Expected behavior

When I install ros-crystal-ros-base on ROS Melodic Docker I have the version 0.7.4 of ros-crystal-rcl-interfaces

Actual behavior

The installed version is 0.6.3-0bionic.20190817.173025

@dirk-thomas dirk-thomas added the question Further information is requested label Aug 28, 2019
@dirk-thomas
Copy link
Member

According to the releases on https://github.com/ros2/rcl_interfaces/releases, version 0.7.4 was already released, but somehow apt-get only installs 0.6.3, and if you look carefully on the version details 0.6.3-0bionic.20190817.173025, it shows the date 20190817, but the version 0.7.4 was published on the 30th of May, according to the releases page aforementioned.

The latest version of rcl_interfaces released into Crystal is 0.6.3. The versions starting with 0.7.x are only released into ROS Dashing (currently 0.7.4). You can't install those on Crystal.

The problem you are facing is not addressed by a single PR. It required a new feature to be developed in #174 and then the following PR to use this for the Log message: ros2/rcl_interfaces#67.

It is unlikely that these changes will be backported to Crystal. I would recommend that you consider moving to Dashing instead in which this is resolved.

@rubenanapu
Copy link
Author

rubenanapu commented Aug 29, 2019

Thanks @dirk-thomas

I installed ros-dashing instead of ros-crystal as you suggested and I got the right version of rcl_interfaces. The problem described on #159 also has gone away.

I never understood very well the differences between the different ROS2 versions, but in summary, most recent versions basically have more recent versions of the individual packages, like what happened with rcl_interfaces, in addition to some packages that are removed and others that are added, right? Because the difference between ros-crystal-rcl-interfaces and ros-dashing-rcl-interfaces is basically the version of rcl_interfaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants