Unable to install rosbag2
I'm following this installation guide: https://github.com/ros2/rosbag2/tree/...
$ export CHOOSE_ROS_DISTRO=crystal # rosbag2 is available starting from crystal
$ sudo apt-get install ros-$CHOOSE_ROS_DISTRO-ros2bag* ros-$CHOOSE_ROS_DISTRO-rosbag2*
The fact that I need to mention crystal instead of dashing seems suspicious to me.
I tried (without succes):
$ export CHOOSE_ROS_DISTRO=dashing
Error message:
The following packages have unmet dependencies:
ros-dashing-rosbag2-bag-v2-plugins : Depends: ros-dashing-ros1-bridge but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Is it possible to show me my mistake ?
Thanks in advance !
I have quickly tried the install and I also run into the same error. I'll see if I can resolve it on my end, otherwise look at the rosbag2 packages and see if you can skip the bag-v2-plugins one.
The real question is why the plugin depends on the ros1-bridge and why the ros1-bridge is broken. In case my previous comment was unclear, what I suggest you do is: type
into a terminal and quickly press tab twice to see the tab-completion. It will show all the rosbag2 related packages. Then manually install the ones you actually need one by one, instead of all of them (which is what the * will do). Hopefully this will suffice as a workaround for what you are trying to do.