fmrico / book_ros2

542 stars 112 forks source link

vcstools cannot find gazebo packages for humble #23

Closed phil123456 closed 1 year ago

phil123456 commented 1 year ago

Important!!!

Type of bug

I cannot install packages with the vcstools

mkdir -p bookros2_ws/src
cd bookros2_ws/
cd src/
git clone -b humble-devel https://github.com/fmrico/book ros2.git
sudo apt-get install python3-vcstool
vcs import . < book_ros2/third_parties.repos
rosdep install --from-paths src --ignore-src -r -y

...

executing command [sudo -H apt-get install -y ros-humble-gazebo-plugins]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
**E: Unable to locate package ros-humble-gazebo-plugins**
executing command [sudo -H apt-get install -y ros-humble-gazebo-ros]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
**E: Unable to locate package ros-humble-gazebo-ros**
executing command [sudo -H apt-get install -y ros-humble-gazebo-ros2-control]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
**E: Unable to locate package ros-humble-gazebo-ros2-control**
executing command [sudo -H apt-get install -y ros-humble-pal-gazebo-plugins]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
**E: Unable to locate package ros-humble-pal-gazebo-plugins**

...

ERROR: the following rosdeps failed to install
  **apt: command [sudo -H apt-get install -y ros-humble-gazebo-plugins] failed
  apt: command [sudo -H apt-get install -y ros-humble-gazebo-ros] failed
  apt: command [sudo -H apt-get install -y ros-humble-gazebo-ros2-control] failed
  apt: command [sudo -H apt-get install -y ros-humble-pal-gazebo-plugins] failed**
  apt: Failed to detect successful installation of [ros-humble-gazebo-plugins]
  apt: Failed to detect successful installation of [ros-humble-gazebo-ros]
  apt: Failed to detect successful installation of [ros-humble-gazebo-ros2-control]
  apt: Failed to detect successful installation of [ros-humble-pal-gazebo-plugins]

Expected behavior

I expect all packages to be available to follow the book tutorial

fmrico commented 1 year ago

I have just checked that all the requirements are obtained in Humble. Please try to build even with these messages. In other cases, I suspect something is wrong with your installation. Follow the instructions to install Desktop version.

Closing...