ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I had the same problem. For me, I ran sudo apt-get install ros-desktop-full
before I realized that is not Melodic. I removed that afterwards but I had the same error when I tried to install with sudo apt-get install ros-melodic-desktop-full
.
I think the error came from the fact that I had rospkg 1.1.4 instead of 1.1.7 when I installed ros_desktop_full
. I did
sudo apt-get remove gazebo9* catkin python-rospkg python-rospkg-modules
(Here, I also removed gazebo9
related packages and catkin
that were installed with ros-desktop-full
.) Afterwards, I tried to install the melodic desktop full version again and it worked for me.