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

Install ROS lunar on fedora

asked 2017-09-24 13:28:02 -0500

ahmedadelhekal gravatar image

updated 2017-09-24 13:46:24 -0500

I am trying install ROS on Fedora

rosdep install --from-paths src --ignore-src --rosdistro lunar -y

but i got this error

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
gazebo_dev: No definition of [libgazebo7-dev] for OS version [26]

I try this command

[ahmedadel@192 ros_catkin_ws]$ rosdep install -ay --os=fedora:26

and got this result

#All required rosdeps installed successfully
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-04-20 00:42:57 -0500

Rufus gravatar image
sudo dnf install --skip-broken python-empy console-bridge console-bridge-devel poco-devel boost boost-devel eigen3-devel pyqt4 qt-devel gcc gcc-c++ python-devel sip sip-devel tinyxml tinyxml-devel qt-devel qt5-devel python-qt5-devel sip sip-devel python3-sip python3-sip-devel qconf curl curl-devel gtest gtest-devel lz4-devel urdfdom-devel assimp-devel qhull-devel qhull uuid uuid-devel uuid-c++ uuid-c++-devel libuuid libuuid-devel gazebo gazebo-devel collada-dom collada-dom-devel yaml-cpp yaml-cpp-devel python2-defusedxml python-netifaces pyparsing pydot python-pyqtgraph python2-matplotlib

This tends to install everything needed to build ROS on Fedora

edit flag offensive delete link more

Comments

1

It would be really great if you could contribute some rules to the database so we can use rosdep to manage dependencies on Fedora again.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-20 03:37:31 -0500 )edit
0

answered 2017-09-25 03:02:12 -0500

gvdhoorn gravatar image

updated 2017-09-25 03:05:39 -0500

Looking at the rosdistro libgazebo7-dev rules (here) it appears that Fedora keys are only available up till version 25, which is the reason that you get this error.

This error means that rosdep is not aware of a binary release of Gazebo 7 for Fedora 26, and since you specify --ignore-src it will also not be able to satisfy that dependency with any package in your catkin workspace that provides it.

Searching a bit leads me to fedora packages - gazebo (linked from Install Gazebo on Linux distributions (non Ubuntu)) which shows that there are RPMs available of Gazebo 7, however I don't know of those pkgs are in an actual Fedora distribution, or are user provided pkgs (like in an Ubuntu PPA)).

If the former, then you could submit a PR to rosdistro which adds the 26 key to libgazebo7-dev pointing to the correct Fedora pkg.

If the latter: rosdep rules typically don't point to user contributed packages / repositories, so adding the key would not be acceptable in that case. The easiest is then probably to install the Gazebo 7 pkgs from fedora packages - gazebo and invoke rosdep with the --skip-keys="libgazebo7-dev [..]" argument, which will make it ignore that key. As you already have Gazebo 7 installed at that point, packages depending on it should still work.


Note: I didn't find (but also didn't search for) any binaries for gazebo_ros_pkgs for Gazebo 7 on Fedora 26, so you may have to build those from source in your Catkin workspace to make this all work together.


Note2: there appear to be multiple keys for Gazebo 7 in the rosdep database: libgazebo7-dev is only one of them (search for gazebo and gazebo7). The gazebo7 key does map to gazebo on Fedora (without any specific version spec) and looking at fedora packages - gazebo that could map to Gazebo 7 (or 8, I'm not sure - not a Fedora user).

edit flag offensive delete link more

Comments

Any reason why https://apps.fedoraproject.org/packag... is broken?

Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Apache Server at apps.fedoraproject.org Port 443
RobbieTheK gravatar image RobbieTheK  ( 2020-09-08 10:05:35 -0500 )edit

I have no idea.

I do not maintain that service.

gvdhoorn gravatar image gvdhoorn  ( 2020-09-08 10:07:32 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-09-24 13:28:02 -0500

Seen: 1,198 times

Last updated: Sep 25 '17