Ask Your Question
2

foxy rosdep error on pop-os

asked 2020-07-13 16:28:40 -0500

firefox365 gravatar image

I am currently working on Pop-OS utilizing ros2 foxy. I am using the latest version of Pop-OS which is based off of ubuntu 20.04. I was working through the "Creating a workspace" portion of the tutorial without issue when I reached and error when I ran the following command in the dev_ws directory.

 rosdep install -i --from-path src --rosdistro foxy -y

Which produced the error:

ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: turtlesim: Unsupported OS [pop]

The closest I found to this issue is posted here. Where the user is running arch and the solution recommended is to run the following command:

rosdep install --from-paths ./robot_ws/src --ignore-src -r -y --os="arch:"

Which I changed to:

rosdep install --from-paths ./dev_ws/src --ignore-src -r -y --os="pop:"

and provided me the error

ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: turtlesim: Unsupported OS [pop] Continuing to install resolvable dependencies...

All required rosdeps installed successfully

I greatly appreciate any information someone can provide me with and any time taken to assist me. please let me know if more information is needed.

edit retag flag offensive close merge delete

Comments

3

Try --os="ubuntu:focal"?

robotsean gravatar image robotsean  ( 2020-07-14 02:35:38 -0500 )edit

So after using the change you recommended I got that all rosdeps installed successfully. But I still get the same error when I run:

rosdep install -i --from-path src --rosdistro foxy -y
firefox365 gravatar image firefox365  ( 2020-07-14 08:33:46 -0500 )edit

Use the same option --os="ubuntu:focal" if you see the error. I didn't install ros2 on pop, so I don't know whether you will encounter other problems.

robotsean gravatar image robotsean  ( 2020-07-14 15:40:44 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-05-09 06:40:51 -0500

sanjo gravatar image

To solve this globally, simply change in /etc/os-release

ID=pop

for

ID=ubuntu

I have been working with pop_OS! and ROS for a while and never had an OS related error, so I think it is safe to change it.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-07-13 16:28:40 -0500

Seen: 313 times

Last updated: Jul 13 '20