ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Even though the error is slightly different, this is the same error as mentioned in this recent question. You are right, a change was pushed to Ubuntu and OSRF apt repositories that introduced this issue. Here are a few related bug reports:

  • https://github.com/ros-perception/perception_pcl/issues/318
  • https://github.com/tfoote/vtk6-release/issues/1
  • https://bugs.launchpad.net/ubuntu/+source/vtk6/+bug/1573234

Current recommended fix is to pin your apt repos to prefer the versions of VTK packages on OSRF's repositories over the ones on Ubuntu's repositories (as mentioned in this answer). To do this, create a file called /etc/apt/preferences.d/ros-pin with the following content

Package: *
Pin: origin packages.ros.org
Pin-Priority: 1000

Then apt-get update and apt-get upgrade can be used to switch you to the OSRF versions. Also note, that you may need to manually install libproj-dev. Hopefully this is a temporary issue that is fixed soon.

Even though the error is slightly different, this is the same error as mentioned in this recent question. You are right, a change was pushed to Ubuntu and OSRF apt repositories that introduced this issue. Here are a few related bug reports:

  • https://github.com/ros-perception/perception_pcl/issues/318
  • https://github.com/tfoote/vtk6-release/issues/1
  • https://bugs.launchpad.net/ubuntu/+source/vtk6/+bug/1573234

Current recommended fix is to pin your apt repos to prefer the versions of VTK packages on OSRF's repositories over the ones on Ubuntu's repositories (as mentioned in this answer). To do this, create a file called /etc/apt/preferences.d/ros-pin with the following content

Package: *
Pin: origin packages.ros.org
Pin-Priority: 1000

Then apt-get update and apt-get upgrade can be used to switch you to the OSRF versions. Also note, that you may need to manually install libproj-dev. Hopefully this is a temporary issue that is fixed soon.

UPDATE As mentioned on this ROS discourse thread, an update to the ROS Kinetic packages that depend on VTK was just released to the package repositories. Users should be able to unpin any pinned packages (e.g. delete file created above), and then run apt-get update/upgrade to install the latest packages, and this error should disappear.

Even though the error is slightly different, this is the same error as mentioned in this recent question. You are right, a change was pushed to Ubuntu and OSRF apt repositories that introduced this issue. Here are a few related bug reports:

  • https://github.com/ros-perception/perception_pcl/issues/318
  • https://github.com/tfoote/vtk6-release/issues/1
  • https://bugs.launchpad.net/ubuntu/+source/vtk6/+bug/1573234

Current recommended fix is to pin your apt repos to prefer the versions of VTK packages on OSRF's repositories over the ones on Ubuntu's repositories (as mentioned in this answer). To do this, create a file called /etc/apt/preferences.d/ros-pin with the following content

Package: *
Pin: origin packages.ros.org
Pin-Priority: 1000

Then apt-get update and apt-get upgrade can be used to switch you to the OSRF versions. Also note, that you may need to manually install libproj-dev. Hopefully this is a temporary issue that is fixed soon.

UPDATE

As mentioned on this ROS discourse thread, an update to the ROS Kinetic packages that depend on VTK was just released to the package repositories. Users should be able to unpin any pinned packages (e.g. delete file created above), and then run apt-get update/upgrade to install the latest packages, and this error should disappear.