ros_tutorials icon indicating copy to clipboard operation
ros_tutorials copied to clipboard

rosdep fails to install

Open andanders opened this issue 1 year ago • 1 comments

Following the tutorial here: https://docs.ros.org/en/jazzy/Tutorials/Beginner-Client-Libraries/Creating-A-Workspace/Creating-A-Workspace.html

Command rosdep install -i --from-path src --rosdistro jazzy -y fails with:

executing command [sudo -H apt-get install -y libqt5core5a]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libqt5core5t64' instead of 'libqt5core5a'
libqt5core5t64 is already the newest version (5.15.13+dfsg-1ubuntu1).
libqt5core5t64 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
executing command [sudo -H apt-get install -y libqt5gui5]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libqt5gui5t64' instead of 'libqt5gui5'
libqt5gui5t64 is already the newest version (5.15.13+dfsg-1ubuntu1).
libqt5gui5t64 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ERROR: the following rosdeps failed to install
  apt: Failed to detect successful installation of [libqt5core5a]
  apt: Failed to detect successful installation of [libqt5gui5]

ROS2 Jazzy installed following the instructions here: https://docs.ros.org/en/jazzy/Installation/Ubuntu-Install-Debs.html

System details: Ubuntu 24.04

andanders avatar Jan 14 '25 14:01 andanders

Having a similar problem with Dashing and Ubuntu 18.04, using the dashing-devel branch, except it complains about libqt5core5t64:

$ rosdep install -i --from-path src --rosdistro dashing -y
executing command [sudo -H apt-get install -y libqt5core5t64]
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libqt5core5t64
ERROR: the following rosdeps failed to install
  apt: command [sudo -H apt-get install -y libqt5core5t64] failed

Was trying this out with the ros:dashing Docker image.

iliazeus avatar Sep 18 '25 11:09 iliazeus