ROS2 Humble - Ubuntu 22 colcon installation

Hello All,

I need a small support here. I am trying to install ROS2 humble with Isaac sim with ROS bridge.
I am stuck at this step
https://docs.omniverse.nvidia.com/isaacsim/latest/installation/install_ros.html#setting-up-workspaces
When I ran apt install python3-colcon-common-extensions I got below output

python3-colcon-argcomplete : Depends: python3-colcon-core but it is not going to be installed
 python3-colcon-bash : Depends: python3-colcon-core (>= 0.12.0) but it is not going to be installed
 python3-colcon-cmake : Depends: python3-colcon-core (>= 0.5.6) but it is not going to be installed
 python3-colcon-common-extensions : Depends: python3-colcon-core but it is not going to be installed
                                    Depends: python3-colcon-devtools but it is not going to be installed
                                    Depends: python3-colcon-package-information but it is not going to be installed
                                    Depends: python3-colcon-python-setup-py but it is not going to be installed
                                    Depends: python3-colcon-ros but it is not going to be installed
                                    Depends: python3-colcon-cd but it is not going to be installed
                                    Recommends: python3-colcon-override-check but it is not going to be installed
 python3-colcon-defaults : Depends: python3-colcon-core (>= 0.12.0) but it is not going to be installed
 python3-colcon-library-path : Depends: python3-colcon-core but it is not going to be installed
 python3-colcon-metadata : Depends: python3-colcon-core but it is not going to be installed
 python3-colcon-notification : Depends: python3-colcon-core (>= 0.3.7) but it is not going to be installed
 python3-colcon-output : Depends: python3-colcon-core (>= 0.3.8) but it is not going to be installed
 python3-colcon-package-selection : Depends: python3-colcon-core (>= 0.3.19) but it is not going to be installed
 python3-colcon-parallel-executor : Depends: python3-colcon-core (>= 0.3.15) but it is not going to be installed
 python3-colcon-pkg-config : Depends: python3-colcon-core but it is not going to be installed
 python3-colcon-powershell : Depends: python3-colcon-core (>= 0.12.0) but it is not going to be installed
 python3-colcon-recursive-crawl : Depends: python3-colcon-core (>= 0.7.0) but it is not going to be installed
 python3-colcon-test-result : Depends: python3-colcon-core but it is not going to be installed
 python3-colcon-zsh : Depends: python3-colcon-core (>= 0.12.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
12:18

I tried apt --fix-broken install and apt --fix-missing install Nothing seem to be working.
I also checked ROS2 repositry URL deb [arch=amd64 signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu jammy main
Noting seems to be working. Any help would be appreciated.

Best Regards

Hey @raghav.nandwani Have you tried running sudo apt-get update before running sudo apt install...?

Yes tried everything. But now it is solved by installing ros as well as colcon and other packages from source.

1 Like