ros / rosdistro

This repo maintains a lists of repositories for each ROS distribution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libdc1394-22-dev not longer available for Debian and Ubuntu after version 21.10.

FranekStark opened this issue · comments

After Debian/Ubuntu Version 21.10. the libdc1394-22-dev package was replaced by libdc1394-dev. (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963924 and https://askubuntu.com/questions/1407580/unable-to-locate-package-libdc1394-22-dev)
However the entry in rosdep/base.yaml still reflects to the removed libdc1394-22-dev:

rosdistro/rosdep/base.yaml

Lines 3087 to 3099 in cfe6131

libdc1394-dev:
arch:
pacman:
packages: [libdc1394]
debian: [libdc1394-22-dev]
fedora: [libdc1394-devel]
gentoo: [media-libs/libdc1394]
nixos: [libdc1394]
openembedded: [libdc1394@meta-multimedia]
osx:
macports:
packages: [libdc1394]
ubuntu: [libdc1394-22-dev]

Therefore in ROS Humble (which uses Ubuntu 22 by default), using the rosdep dependency <depend>libdc1394-22-dev</depend> will lead to an issue:

E: Unable to locate package libdc1394-22-dev
ERROR: the following rosdeps failed to install
  apt: command [sudo -H apt-get install libdc1394-22-dev] failed
executing command [sudo -H apt-get install libdc1394-22-dev]

I'm not sure how to solve this issue. Because changing the base.yaml to the new version would probably lead to errors for older ROS Versions right?
I'm not that familiar with rosdep. Is there any possibility to create different entries for different Ubuntu/Debian Version?