Score:0

Unable to use catkin in ROS2 humble with Ubuntu 22.04

td flag

I have installed ROS2 by following the guide in this document but when I tried to install catkin by the following command:

$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/src
$ catkin_init_workspace

It gives me this error

Command 'catkin_init_workspace' not found

I typed the command:

$ sudo apt install catkin

It gives me this kind of error :

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.
Simon Sudler avatar
us flag
Hi and welcome to AskUbuntu: I tried to beautify our questions. But there seams to be some logical error in our question - The installation of catkin failed - not the usage.
zwets avatar
us flag
The exact same question was asked [here](https://askubuntu.com/q/1413097/134479).
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.