Installing python3-catkin-pkg uninstalls ros-melodic-desktop packages

asked 2020-04-06 01:20:01 -0500

Johann gravatar image

updated 2020-04-06 03:43:12 -0500

gvdhoorn gravatar image

This it the complementary behaviour to question #q345875: "Installing ros-melodic-desktop uninstalls python3-catkin-pkg".

I'm on Ubuntu 18.04 bionic, ROS melodic, Python 3.6 installed but Python 2 is the default on my system.

I tried sudo apt install python3-catkin-pkg as suggested in a github forum and elsewhere, and it succeeded by uninstalling apparently all the ROS packages that depend on Python 2!

I now realise python-catkin-pkg and python3-catkin-pkg conflict as explained in the answer to question above but, gosh, did it have to uninstall most of the ROS packages?

Perhaps the suggestion in Tutorial 1 "Installing and Configuring Your ROS Environment" should not suggest to gullible beginners to catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3 without explaining the danger if they try to make it work. :)

edit retag flag offensive close merge delete

Comments

did it have to uninstall most of the ROS packages?

actually, it's of course the package manager which does all of that. It's not the package itself.

Effect is the same of course.

Perhaps the suggestion in Tutorial 1 "Installing and Configuring Your ROS Environment"

could you please always link to tutorials or pages you refer to? Thanks.

gvdhoorn gravatar image gvdhoorn  ( 2020-04-06 03:43:57 -0500 )edit