Turtlebot Error [closed]
raghu@Raghu:~$ sudo apt-get install ros-hydro-turtlebot ros-hydro-turtlebot-apps ros-hydro-turtlebot-viz ros-hydro-turtlebot-simulator ros-hydro-kobuki-ftdi
Reading package lists... Done
Building dependency tree
Reading state information... Done
ros-hydro-kobuki-ftdi is already the newest version.
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-hydro-turtlebot : Depends: ros-hydro-turtlebot-bringup but it is not going to be installed
ros-hydro-turtlebot-apps : Depends: ros-hydro-turtlebot-actions but it is not going to be installed
Depends: ros-hydro-turtlebot-calibration but it is not going to be installed
Depends: ros-hydro-turtlebot-core-apps but it is not going to be installed
Depends: ros-hydro-turtlebot-follower but it is not going to be installed
Depends: ros-hydro-turtlebot-navigation but it is not going to be installed
Depends: ros-hydro-turtlebot-panorama but it is not going to be installed
Depends: ros-hydro-turtlebot-teleop but it is not going to be installed
ros-hydro-turtlebot-simulator : Depends: ros-hydro-turtlebot-gazebo but it is not going to be installed
ros-hydro-turtlebot-viz : Depends: ros-hydro-turtlebot-interactive-markers but it is not going to be installed
Depends: ros-hydro-turtlebot-rviz-launchers but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
When I try to run the turtlebot package I am facing the above errors and solution is highly appreciated.
Does your PC have both groovy and hydro for turtlebot? and Lately you try to install hydro? Which distribution does your terminal point if you execute
roscd kobuki_ftdi
?/opt/ros/hydro/share/kobuki_ftdi
or/opt/ros/groovy/share/kobuki_ftdi
?/opt/ros/groovy/share/kobuki_ftdi
@Raghu Parvatha, Do you want to use hydro? Did you execute setup.bash in
/opt/ros/hydro/setup.bash
?raghu@Raghu:~$ source /opt/ros/hydro/setup.bash ROS_DISTRO was set to 'groovy' before. Please make sure that the environment does not mix paths from different distributions. How to change it
@Raghu Parvatha, Did you look at your .bashrc? In .bashrc, Both groovy and hydro are written. So, you should comment out groovy. After that, I think that you should execute
. ~/.bashrc
.