Ask Your Question

boost version problem

asked 2012-01-17 13:38:13 -0500

tmullins gravatar image

I recently upgraded to Ubuntu 11.10, for which the default Boost version is 1.46. However, ROS seems to still depend on 1.42; if I want to install 1.46, it first wants to uninstall 1.42, but I can't uninstall 1.42 without uninstalling all of ROS. /opt/ros/electric/ros/rosdep.yaml lists a dependency on libboost1.46-all-dev for oneiric, though, which means rosmake refuses to build anything because of the unmet dependency.

Should I change rosdep.yaml to have libboost1.42-all-dev instead, or is there a better solution? Also, should I submit a bug report somewhere, or is this a problem only for me?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-01-17 14:10:04 -0500

ahendrix gravatar image

I think your system is in a weird state because you have the natty versions of the ROS packages installed on an oneiric system.

I would start with 'apt-get dist-upgrade'

If that doesn't work, install libboost1.46-all-dev, allow it to remove ROS, and then you should be able to reinstall ROS and keep the newer version of boost.

edit flag offensive delete link more


It looks like that (and Rohling's comment) worked, thanks! It was too bad I had to reinstall ROS, since that takes forever... but it works with no problems now.
tmullins gravatar image tmullins  ( 2012-01-22 12:44:26 -0500 )edit

answered 2012-01-19 00:22:24 -0500

In addition to ahendrix's post: Ubuntu disables all third-party repositories during a system upgrade, so the ROS packages will not upgrade at all until you fix the deb entry in /etc/apt/sources.list.d/ros-latest.list (un-comment if necessary and replace natty with oneiric).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-01-17 13:38:13 -0500

Seen: 1,355 times

Last updated: Jan 19 '12