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

Ros indigo Re-installation problem

asked 2015-06-14 18:14:44 -0500

shervin gravatar image

Hi everyone,

I installed ROS indigo first and then I tried to install ROS jade as well. I could install both ROS and switch between them successfully, However installation of jade totally replaced gazebo2.2 by gazebo5. Consequently I could not do any simulation in indigo. I decided to remove both ROS and Gazebo and reinstall the indigo, but I receive the below error when I try “sudo apt-get install ros-indigo-desktop-full”

Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies:  ros-indigo-desktop-full : Depends: ros-indigo-simulators but it is not going to be installed E: Unable to correct problems, you have held broken packages.
edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2015-06-14 18:23:02 -0500

shervin gravatar image

Hi everyone,

I think I found the solution. If any one facing the same problem please fallow the below steps:

sudo apt-get remove gazeboX #X is the version of gazebo you installed in my case 5
sudo apt-get install libsdformat1

then you should be able to install indigo again


edit flag offensive delete link more


Worked like a charm

SMAN gravatar image SMAN  ( 2015-11-30 00:13:20 -0500 )edit

Thank you a lot! :)

ffsephirot gravatar image ffsephirot  ( 2016-07-26 04:07:19 -0500 )edit

Thanks a lot !!

Yuxi gravatar image Yuxi  ( 2016-08-25 13:05:18 -0500 )edit

Thank you!!

Teagan Li gravatar image Teagan Li  ( 2016-09-08 04:24:13 -0500 )edit

answered 2016-02-10 18:25:01 -0500

mereTeresa gravatar image

better using $ sudo apt-get remove gazebo*

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-06-14 18:14:44 -0500

Seen: 4,705 times

Last updated: Jun 14 '15