Ask Your Question
0

E: Unable to locate package ros-humble-cv-camera

asked 2022-06-02 14:53:10 -0500

Orpiczy gravatar image

updated 2022-06-02 15:13:48 -0500

I tried solution from @javisshultz

https://answers.ros.org/question/3457...

echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/ros-latest.list

sudo apt update

but unfortunately, after last cmd I keep getting

The repository 'http://packages.ros.org/ros/ubuntu jammy Release' does not have a Release file.

What can I do more ?

My system : Ubuntu 22.04 Humble Hawksbill

What is my goal -> image recognition using this node https://github.com/qboticslabs/rosten...

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2022-06-03 02:07:42 -0500

gvdhoorn gravatar image

updated 2022-06-05 01:53:21 -0500

You appear to be trying to use the ROS 1 package repository to install a ROS 2 package.

That doesn't work.

According to ros2/rolling/Installation: Ubuntu (Debian), the ROS 2 repository would be http://packages.ros.org/ros2/ubuntu, not http://packages.ros.org/ros/ubuntu.

I would suggest to verify you've correctly setup the ROS 2 repositories and followed the installation tutorial.

This is the same problem as in your other #q399935.

I tried solution from @javisshultz #q345764

the Q&A you link discusses a ROS 1 problem. It's not applicable to ROS 2.

Additionally:

Unable to locate package ros-humble-cv-camera

According to status_page/ros_humble_default.html?q=camera, cv_camera is not available in ROS 2 Humble.

edit flag offensive delete link more
1

answered 2022-06-03 06:20:18 -0500

qilin_gundamenjoyer gravatar image

updated 2022-06-03 06:22:22 -0500

First, check the ROS Index or type apt search ros-distro in your linux terminal to determine whether the ros-package is available for your ros-distro. Then, type sudo apt-get install ros-distro-package_name to install that package. After that, you can verify that the package has been installed by typing sudo apt-get rospack list-names or sudo apt-get rospack listto show the directory of the installed package. To check if it's up-to-date, typesudo apt update`to download the latest version of the package.

In your case, package cv_camera is not supported for ros-humble yet.

~Gundam Out.`

edit flag offensive delete link more

Comments

The main problem reported by the OP is caused by the misconfiguration of the ROS package repositories.

You cannot install a ros-humble-... package from the ROS 1 package repositories. Regardless of whether it's released or not.

gvdhoorn gravatar image gvdhoorn  ( 2022-06-03 07:08:00 -0500 )edit

Yeah, I know that but when I typed this response, I was just trying to add on to your comment if the user ends up encountering an issue with installing a package even though the user installed from the correct ROS # package repository.

qilin_gundamenjoyer gravatar image qilin_gundamenjoyer  ( 2022-06-03 08:41:29 -0500 )edit

I'd at least mention #q320046 in that case.

gvdhoorn gravatar image gvdhoorn  ( 2022-06-03 08:43:23 -0500 )edit

Noted, I will keep in mind next time since I'm new to this community wiki. My bad.

qilin_gundamenjoyer gravatar image qilin_gundamenjoyer  ( 2022-06-03 08:47:36 -0500 )edit

There is no need to apologise.

gvdhoorn gravatar image gvdhoorn  ( 2022-06-04 01:10:51 -0500 )edit

this might not be the right place to ask, but do you have any tips on getting good at debugging? I get that it all comes down to being practical at the end of the day but I would like to know if there are other ways that would help too.

qilin_gundamenjoyer gravatar image qilin_gundamenjoyer  ( 2022-06-04 07:47:49 -0500 )edit

I'm not sure I understand your comment.

"Debugging" in what way specifically?

gvdhoorn gravatar image gvdhoorn  ( 2022-06-04 08:58:45 -0500 )edit

learning how to solve errors and knowing what error is the problem

qilin_gundamenjoyer gravatar image qilin_gundamenjoyer  ( 2022-06-04 16:57:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2022-06-02 14:53:10 -0500

Seen: 118 times

Last updated: Jun 05