Attention: Answers.ros.org is deprecated as of August the 11th, 2023. Please visit robotics.stackexchange.com to ask a new question. This site will remain online in read-only mode during the transition and into the foreseeable future. Selected questions and answers have been migrated, and redirects have been put in place to direct users to the corresponding questions on Robotics Stack Exchange. Additional details are available here.
This post is a wiki.
Anyone with karma >75 is welcome to improve it.
stephanie@WorkTime:~$ sudo apt-get install ros-electric-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-electric-desktop-full : Depends: ros-electric-slam-gmapping (= 1.2.5-s1336543727~oneiric) but it is not going to be installed
Depends: ros-electric-vision-opencv (= 1.6.13-s1336531637~oneiric) but it is not going to be installed
Depends: ros-electric-perception-pcl (= 1.0.2-s1336532338~oneiric) but it is not going to be installed
Depends: ros-electric-image-pipeline (= 1.6.4-s1336532075~oneiric) but it is not going to be installed
Depends: ros-electric-simulator-gazebo (= 1.4.15-s1338549736~oneiric) but it is not going to be installed
Depends: ros-electric-image-transport-plugins (= 1.4.2-s1336531748~oneiric) but it is not going to be installed
Depends: ros-electric-navigation (= 1.6.5-s1336537141~oneiric) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
stephanie@WorkTime:~$ sudo apt-get install ros-electric-slam-gmapping ros-electric-vision-opencv ros-electric-image-pipeline ros-electric-simulator-gazebo ros-electric-image-transport-plugins ros-electric-navigation
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-electric-navigation : Depends: ros-electric-perception-pcl (= 1.0.2-s1336532338~oneiric) but it is not going to be installed
Depends: libsdl-image1.2-dev but it is not going to be installed
ros-electric-simulator-gazebo : Depends: ros-electric-perception-pcl (= 1.0.2-s1336532338~oneiric) but it is not going to be installed
ros-electric-vision-opencv : Depends: libopencv2.3-dev (= 2.3.1+svn6514+branch23-12~oneiric) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
stephanie@WorkTime:~$ sudo apt-get install libopencv2.3-dev
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:
libopencv2.3-dev : Depends: libtiff4-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
stephanie@WorkTime:~$ sudo apt-get install libopencv2.3-dev libtiff4-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libtiff4-dev is already the newest version.
libtiff4-dev set to manually installed.
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 ...
This post is a wiki.
Anyone with karma >75 is welcome to improve it.
It looks like someone upgraded your Ubuntu oneiric install to precise (12.04 LTS) while you weren't looking. Try installing fuerte's precise repo as described at http://www.ros.org/wiki/fuerte/Installation/Ubuntu.