Ask Your Question
0

Ubuntu package for rosdep

asked 2020-07-23 13:58:07 -0600

rgov gravatar image

The documentation page (http://wiki.ros.org/rosdep) says to use sudo apt-get install python-rosdep but this package doesn't exist on Melodic, I'm referred to python-rosdep2.

Is this the correct version to install? The latest version of rosdep seems to be 0.19.0 so I'm wondering where the 2 comes from, which I can only find a reference to here: https://www.ros.org/reps/rep-0125.html

edit retag flag offensive close merge delete

Comments

Moreover the version in apt does not work because it is too old. There is a discussion happening on the rosdep issue tracker.

rgov gravatar image rgov  ( 2020-07-23 15:07:26 -0600 )edit

Please don't post your question in multiple places. Especially not without cross referencing them: https://github.com/ros-infrastructure...

Dirk Thomas gravatar image Dirk Thomas  ( 2020-07-23 15:13:21 -0600 )edit

this package doesn't exist on Melodic

This statement is incorrect. You likely just haven't added the ROS apt repository as described in the install instructions: http://wiki.ros.org/melodic/Installat...

Dirk Thomas gravatar image Dirk Thomas  ( 2020-07-23 15:16:25 -0600 )edit

Thanks Dirk. The question here is about the documentation, the bugs I filed on the issue tracker are because of an error thrown by the software. They had related root causes after investigation but it seems reasonable that a software error ("a Python exception happens") is not the same question as an installation question ("what is the name of the right Apt package").

rgov gravatar image rgov  ( 2020-07-23 15:33:17 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-07-23 15:35:57 -0600

rgov gravatar image

updated 2020-07-23 15:46:14 -0600

The correct package name is python-rosdep. For some reason this package was not shown to me even though I was configured with the Melodic apt sources, had run apt update, and had successfully installed dozens of other ROS Melodic packages including python-catkin-tools a few minutes earlier.

As meager evidence, consider that the ROS apt source was added 2 hours ago, an hour before I asked the question. Yet how would I have known python-rosdep2 exists if apt hadn't told me to install it?

$ ls -lt /etc/apt/sources.list.d/ros-latest.list
-rw-r--r-- 1 root root 51 Jul 23 17:52 /etc/apt/sources.list.d/ros-latest.list
$ date
Thu Jul 23 20:37:20 UTC 2020

I tried to reproduce on a completely fresh Ubuntu 18.04 Docker container but I could not.

So I'll chalk it up to a misconfiguration on my system. I wish I knew what state I got myself into (and it makes me question whether my other packages are up to date as well).

For posterity: Do not install python-rosdep2, it is outdated, and does not work anymore.

edit flag offensive delete link more

Comments

For posterity: Do not install python-rosdep2, it is outdated, and does not work anymore.

Actually, python-rosdep2 is part of the UpstreamPackages.

Regardless of whether it is outdated or not, you should not use those, unless you have a good reason to do so.

gvdhoorn gravatar image gvdhoorn  ( 2020-11-10 02:40:12 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-07-23 13:58:07 -0600

Seen: 64 times

Last updated: Jul 23 '20