ros2 bag tool is not preinstalled in ade and can not be installed
Description
Recording a rosbag in ade used to work out of the box, but currently it doesn't work and manually installing the missing packages is not possible (at least without digging deep).
How to Reproduce
$ ade --rc .aderc-lgsvl start --enter --update
<a lot of stuff being printed>
Entering ade with following images:
ade | 58bfff06da69 | master | registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto/ade:master
autowareauto | 914ff12553bd | master | registry.gitlab.com/autowarefoundation/autoware.auto/autowareauto:master
ade-lgsvl | 2020.08-native-bridge | 2020.08-native-bridge | registry.gitlab.com/apexai/ade-lgsvl:2020.08-native-bridge
$ ros2 topic pub /hello std_msgs/String "data: world" # output omitted
# In another terminal
$ ade enter # output omitted
$ source /opt/ros/dashing/setup.bash # just in case, doesn't make a difference
$ ros2 bag -h
usage: ros2 [-h] Call `ros2 <command> -h` for more detailed usage. ...
ros2: error: argument Call `ros2 <command> -h` for more detailed usage.: invalid choice: 'bag' (choose from 'action', 'component', 'daemon', 'extension_points', 'extensions', 'launch', 'lifecycle', 'msg', 'multicast', 'node', 'param', 'pkg', 'run', 'security', 'service', 'srv', 'test', 'topic')
$ sudo apt install -y ros-dashing-ros2bag # output omitted
$ ros2 bag -h # output omitted, but this works now
$ ros2 bag record /hello
[ERROR] [rosbag2_storage]: Could not load/open plugin with storage id 'sqlite3'.
[ERROR] [rosbag2_transport]: Failed to record: No storage could be initialized. Abort
I looked for relevant packages and the most relevant seems to be ros-dashing-rosbag2-bag-v2-plugins
.
Current Behavior
$ sudo apt install ros-dashing-rosbag2-bag-v2-plugins
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
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.
$ sudo apt install ros-dashing-ros1-bridge
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ros-dashing-ros1-bridge : Depends: python-rospkg but it is not going to be installed
Depends: ros-melodic-actionlib-msgs but it is not installable
Depends: ros-melodic-catkin but it is not installable
Depends: ros-melodic-common-msgs but it is not installable
Depends: ros-melodic-gazebo-msgs but it is not installable
Depends: ros-melodic-geometry-msgs but it is not installable
Depends: ros-melodic-nav-msgs but it is not installable
Depends: ros-melodic-rosbash but it is not installable
Depends: ros-melodic-roscpp but it is not installable
Depends: ros-melodic-roscpp-tutorials but it is not installable
Depends: ros-melodic-roslaunch but it is not installable
Depends: ros-melodic-rosmsg but it is not installable
Depends: ros-melodic-rospy-tutorials but it is not installable
Depends: ros-melodic-sensor-msgs but it is not installable
Depends: ros-melodic-std-msgs but it is not installable
Depends: ros-melodic-std-srvs but it is not installable
Depends: ros-melodic-stereo-msgs but it is not installable
Depends: ros-melodic-tf2-msgs but it is not installable
Depends: ros-melodic-trajectory-msgs but it is not installable
Depends: ros-melodic-visualization-msgs but it is not installable
E: Unable to correct problems, you have held broken packages.
Expected behavior
I can install ros-dashing-rosbag2-bag-v2-plugins
, or something else that allows me to record and play rosbags.