Ask Your Question
0

Turtlebot Error [closed]

asked 2014-06-24 10:08:57 -0600

Raghu Parvatha gravatar image
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.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2014-10-30 12:25:52.996550

Comments

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?

Ken_in_JAPAN gravatar imageKen_in_JAPAN ( 2014-06-24 18:00:19 -0600 )edit

/opt/ros/groovy/share/kobuki_ftdi

Raghu Parvatha gravatar imageRaghu Parvatha ( 2014-06-24 21:25:55 -0600 )edit

@Raghu Parvatha, Do you want to use hydro? Did you execute setup.bash in /opt/ros/hydro/setup.bash?

Ken_in_JAPAN gravatar imageKen_in_JAPAN ( 2014-06-24 21:32:38 -0600 )edit

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 gravatar imageRaghu Parvatha ( 2014-06-25 08:36:25 -0600 )edit

@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 .

Ken_in_JAPAN gravatar imageKen_in_JAPAN ( 2014-06-25 09:25:57 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2014-06-25 12:03:34 -0600

Ken_in_JAPAN gravatar image

Could you check your .bashrc? My PC for turtlebot has both groovy and hydro.
My .bashrc

export TURTLEBOT_BASE=kobuki
export TURTLEBOT_STACKS=hexagons
export TURTLEBOT_3D_SENSOR=kinect
export TURTLEBOT_SENSOR=hokuyo
source /opt/ros/hydro/setup.bash
export ROS_HOSTNAME=turlebot
export ROS_MASTER_URI=http://turtlebot:11311
export ROS_PACKAGE_PATH=/home/turtlebot/catkin_ws:/opt/ros/hydro/share/:$ROS_PACKAGE_PATH
source ~/catkin_ws/devel/setup.bash

if you don't have catkin_ws as working folder, please don't describe catkin_ws in your .bashrc. At least, I can move my turtlebot with this setting.

edit flag offensive delete link more

Comments

When I try installing using sudo apt-get install ros-hydro-turtlebot ros-hydro-turtlebot-apps ros-hydro-turtlebot-viz ros-hydro-turtlebot-simulator ros-hydro-kobuki-ftdi it gives me error message as stated above

Raghu Parvatha gravatar imageRaghu Parvatha ( 2014-06-25 16:15:13 -0600 )edit

@Raghu Parvatha: Does the error happen if you follow this page ( http://wiki.ros.org/hydro/Installation/Ubuntu )? I guess that you forget to setup sources.list.

Ken_in_JAPAN gravatar imageKen_in_JAPAN ( 2014-06-25 17:02:11 -0600 )edit

@Raghu Parvatha: Could you tell me which distribution of Ubuntu you use?

Ken_in_JAPAN gravatar imageKen_in_JAPAN ( 2014-06-25 17:16:47 -0600 )edit

I am unable to do for sudo apt-get install ros-hydro-desktop-full but can install sudo apt-get install ros-hydro-desktop

Raghu Parvatha gravatar imageRaghu Parvatha ( 2014-06-25 19:13:02 -0600 )edit

Why? I'm not sure. I thought you didn't set a key because E: Unable to correct problems was described. So, after that, you can install ros-hydro-turtlebot?

Ken_in_JAPAN gravatar imageKen_in_JAPAN ( 2014-06-25 19:28:53 -0600 )edit

@Raghu Parvatha: You can add 2D/3D simulator, navigation and so on after installing ros-hydro-desktop. I want to know if you can install ros-hydro-turtlebot package. Please execute initialize rosdep!

Ken_in_JAPAN gravatar imageKen_in_JAPAN ( 2014-06-25 19:33:11 -0600 )edit

raghu@Raghu:~$ rosdep init ERROR: default sources list file already exists: /etc/ros/rosdep/sources.list.d/20-default.list Please delete if you wish to re-initialize

Raghu Parvatha gravatar imageRaghu Parvatha ( 2014-06-25 20:07:53 -0600 )edit

raghu@Raghu:~$ sudo apt-get install ros-hydro-turtlebot [sudo] password for raghu: 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-hydro-turtlebot : Depends: ros-hydro-turtlebot-bringup but it is not going to be installed E: Unable to correct problems, you have held broken packages. raghu@Raghu:~$ sudo apt-get install ros-hydro-turtlebot-bringup 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 requi

Raghu Parvatha gravatar imageRaghu Parvatha ( 2014-06-25 20:09:06 -0600 )edit
0

answered 2014-06-24 16:36:38 -0600

ccapriotti gravatar image

Just out of curiosity, can you start by installing ros-hydro-turtlebot-simulator first ? There is a bunch of dependencies that are installed with it, including some of the ones you are trying to add manually.

Let apt-get do its magic and fetch all the deps for you.

Run apt-get install ros-hydro-turtlebot-simulator and after it is done, supposing it is, try the other ones, preferably one by one. Most of them will probably be already installed and the system will return a "nothing to do".

edit flag offensive delete link more
0

answered 2014-06-24 13:37:23 -0600

choog gravatar image

It's telling you that those particular dependencies are not ready for ROS- Hydro. I don't think there is much you can do for now. That is why I am still using groovy because I believe is more stable.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-06-24 10:08:57 -0600

Seen: 766 times

Last updated: Jun 25 '14