I have been trying to make an Unbuntu 22.04 ROS2 Humble catkin workspace, but I have been unable to resolve the two command not found errors. Trying to reinstall the catkin package has not been much help either. I think catkin and catkin-tools are probably already installed anyway. I thought maybe it was a search PATH issue but not sure. As the code below shows, setup.bash is called by .bashrc to prepare the Env variables. I do not understand the command not found errors, but I need to resolve them. Please assist me if you can.
/home/.bashrc {this file (.bashrc) was edited so it includes line below
source /opt/ros/humble/setup.bash {no edits to the setup.bash file by user}
$ cd ~/catkin_ws
~/catkin_ws$ catkin_init_workspace
Command 'catkin_init_workspace' not found, but can be installed with:
sudo apt install catkin
~/catkin_ws$ sudo apt install catkin
[sudo] password for kennr:
Reading package lists... Done
Building dependency tree... Done
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:
python3-catkin-pkg : Conflicts: catkin but 0.8.10-7 is to be installed
python3-catkin-pkg-modules : Conflicts: catkin but 0.8.10-7 is to be installed
E: Unable to correct problems, you have held broken packages.
~/catkin_ws$ catkin_make
Command 'catkin_make' not found, but can be installed with:
sudo apt install catkin
~/catkin_ws$ catkin --version
catkin_tools 0.8.5 (C) 2014-2022 Open Source Robotics Foundation
catkin_tools is released under the Apache License, Version 2.0
(https://www.apache.org/licenses/LICENSE-2.0)
---
Using Python 3.10.4 (main, Apr 2 2022, 09:04:19) [GCC 11.2.0]