Closed christianrauch closed 2 years ago
I ran into the same issue, this seems to be a bug in rospkg. I think it's related to this ticket https://github.com/ros-infrastructure/rospkg/issues/241
Did you ever get this set? I'm running into this issue too
You can override the OS with --os
:
rosdep install --from-paths src --ignore-src -y --os=debian:bullseye
Just got the above stack trace as well. My OS version is:
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
This was part of step 5 of this tutorial trying to do rosdep update
For now, I am using the following workaround as detailed in the rospkg code. The following command works export ROS_OS_OVERRIDE="debian" && rosdep update
. As mentioned by @christianrauch above, Buster or Bullseye from the Raspberry PI OS are 'flavours' of debian
https://github.com/ros-infrastructure/rospkg/pull/244 detects Raspbian distinct from Debian and https://github.com/ros-infrastructure/rosdep/pull/867 has rosdep treat Raspbian as Debian.
I am running rosdep on Raspberry Pi OS and got the following error:
The OS is:
The script may look for
ID
(raspbian
, which is not in the set above) where alternatively, it should also look forID_LIKE
(debian
, which is in the set above).