How to install just one stack?
I am trying to install the qt-ros stack using:
turtlebot@turtlebot-0131:~$ sudo apt-get install ros-electric-qt-ros
But a lot of extra packages are installed even though they are not dependencies of qt-ros.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-2.6.32-28 linux-headers-2.6.32-28-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
ros-electric-assimp ros-electric-bond-core ros-electric-bullet
ros-electric-common ros-electric-common-msgs ros-electric-common-rosdeps
ros-electric-diagnostics ros-electric-diagnostics-monitors
ros-electric-driver-common ros-electric-eigen ros-electric-executive-smach
ros-electric-executive-smach-visualization ros-electric-filters
ros-electric-geometry ros-electric-geometry-experimental
ros-electric-geometry-visualization ros-electric-image-common
ros-electric-image-pipeline ros-electric-image-transport-plugins
ros-electric-joystick-drivers ros-electric-laser-pipeline
ros-electric-multimaster-experimental ros-electric-navigation
ros-electric-nodelet-core ros-electric-openni-kinect
ros-electric-orocos-kinematics-dynamics ros-electric-perception-pcl
ros-electric-pluginlib ros-electric-robot-model
ros-electric-robot-model-visualization ros-electric-ros
ros-electric-ros-comm ros-electric-rx ros-electric-slam-gmapping
ros-electric-turtlebot ros-electric-turtlebot-apps
ros-electric-turtlebot-robot ros-electric-vision-opencv
ros-electric-visualization ros-electric-visualization-common
ros-electric-xacro
The following NEW packages will be installed:
ros-electric-qt-ros
The following packages will be upgraded:
ros-electric-assimp ros-electric-bond-core ros-electric-bullet
ros-electric-common ros-electric-common-msgs ros-electric-common-rosdeps
ros-electric-diagnostics ros-electric-diagnostics-monitors
ros-electric-driver-common ros-electric-eigen ros-electric-executive-smach
ros-electric-executive-smach-visualization ros-electric-filters
ros-electric-geometry ros-electric-geometry-experimental
ros-electric-geometry-visualization ros-electric-image-common
ros-electric-image-pipeline ros-electric-image-transport-plugins
ros-electric-joystick-drivers ros-electric-laser-pipeline
ros-electric-multimaster-experimental ros-electric-navigation
ros-electric-nodelet-core ros-electric-openni-kinect
ros-electric-orocos-kinematics-dynamics ros-electric-perception-pcl
ros-electric-pluginlib ros-electric-robot-model
ros-electric-robot-model-visualization ros-electric-ros
ros-electric-ros-comm ros-electric-rx ros-electric-slam-gmapping
ros-electric-turtlebot ros-electric-turtlebot-apps
ros-electric-turtlebot-robot ros-electric-vision-opencv
ros-electric-visualization ros-electric-visualization-common
ros-electric-xacro
41 upgraded, 1 newly installed, 0 to remove and 75 not upgraded.
Need to get 217MB/250MB of archives.
After this operation, 5,419kB of additional disk space will be used.
Do you want to continue [Y/n]?
Is there a way to install only the stack I want? "--no-install-recommends" flag for apt-get does not seem to help. (EDIT: "--no-upgrade" also does not work, the same list of extra packages shows)
I also tried to "git clone" the source into /opt/ros/electric/stacks, but I will get an error at "rosbuild_include(qt_build qt-ros)" during rosmake. (Update:As pointed out by joq and snorri, git clone gets the fuerte version, which is irrelevant to the problem here since I'm looking at the electric version)
(EDIT: This does not happen on another machine with same Electric on Lucid ie I get to install only the stack I want. But, it could also be that this machine is regularly updated, while I've freezed the updates for the turtlebot machine)
Sorry I missed this for so long. I'll look into it and see if I can reproduce the issues. It really shouldn't be pulling in laser, image or perception stacks, only the message stacks. It may be that some of them are messily dragging in rather unnecessary dependencies.
Git cloning the tag, so long as you ensure that your stack is cloned somewhere in your ROS_PACKAGE_PATH. What kind of error were you getting?
it seems the error (if I do git clone) arises from the catkin. I'm still trying to understand what this means though. Rosmakes fine if I copy over the old Cmakelist
Catkin is causing trouble because you checked out the latest (Fuerte) sources. The Electric sources should work correctly.
There is actually a fuerte branch for fuerte. The master, as to be expected is quite experimental, and because of catkin, quite likely to be broken at any given time.