ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Unable to install catkin, Ubuntu 22.04

asked 2022-09-29 14:54:03 -0500

swqtt gravatar image

I tried to follow the installation guide to make a catkin ws but then it said i needed to install it first. Then i tried to install it but i got this error. https://imgur.com/a/M7GkE2T

edit retag flag offensive close merge delete

Comments

Please don't use screenshots, copy the raw text so it's searchable and highlightable.

ALso please provide more context as to how your system is setup and what you've done before getting to the current command. As it stands there's a lot of guesses that can be made and you are likely mixing Upstream Packages

tfoote gravatar image tfoote  ( 2022-09-29 17:55:36 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-09-29 17:59:58 -0500

ljaniec gravatar image

ROS1 uses catkin, not ROS2 - which tutorial are you trying to follow?

In Ubuntu 22.04 you have to use upstream packages to have ROS1 Noetic installed:

For ROS2 Humble you should use colcon to build packages in your ros2_ws/dev_ws/...

edit flag offensive delete link more

Comments

1

@ljaniec: could we please always make it very clear the upstream packages you refer to are not the same packages hosted by packages.ros.org, but packages maintained, built and distributed by a 3rd party?

I notice people starting to "recommend" using those when users ask "how to install Noetic on Jammy?". In a way, that's ok, but there are subtle differences between those packages and the official Noetic binary packages which could lead to them running into "strange things" later (the upstream packages wiki page has a few good examples).

Using those packages is ok if you have a bit of experience, but for newcomers, which the OP appears to be, I'm not sure recommending their use is a good idea -- at least not without a warning.

gvdhoorn gravatar image gvdhoorn  ( 2022-09-30 00:49:49 -0500 )edit

@gvdhoorn Thank you for your comment, you are right. This will be a potential source of errors in the future. I will always add this information and perhaps recommend other approaches that would be more suitable for OP needs.

ljaniec gravatar image ljaniec  ( 2022-09-30 06:16:04 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2022-09-29 14:54:03 -0500

Seen: 2,497 times

Last updated: Sep 29 '22