So I was right in my assumption but I found some information about this problem and a fix by following the how to guide on ROS2 humble documentation website. This shows how to use ros1_bridge with ROS2 Humble in Ubuntu 22.04. Below is the link to the solution. I hope a neater approach will be made possible soon.
https://docs.ros.org/en/humble/How-To-Guides/Using-ros1_bridge-Jammy-upstream.html
Originally posted by jclinton830 with karma: 91 on 2022-06-13
This answer was ACCEPTED on the original site
Post score: 0
Original comments
Comment by qilin_gundamenjoyer on 2022-06-16:
I know this problem has been solved but I think this rosbag would be of use to you in the future! It's a pure python library that provides read-write access to both ros1 bags and ros2 bags during their conversion!
Comment by jclinton830 on 2022-06-16:
Yes that is exactly what I need. Thanks.
Comment by SimJon1 on 2023-05-09:
I did try to install ros1_bridge and ros2 humble following the docmentation you posted. However after building ros2 from source and removing packages.ros.org from the sources.list, the error that should be fixed by removing the file from the source.list still keeps occuring: "The following packages have unmet dependecies: ros-core-dev: Depends: catkin but it is not installabe E: Unable to correct problems, you have held broken packages."
How did you solve this?