moveit / moveit_resources

URDFs, meshes, and config packages for MoveIt testing
65 stars 118 forks source link

prbt-ikfast-manipulator-plugin (here) clash with prbt-ikfast-manipulator-plugin (pilz) #152

Closed gavanderhoorn closed 2 years ago

gavanderhoorn commented 2 years ago

I'm not a user of these packages, but during a scripted installation of all released ROS Noetic packages, I ran into the following problem:

Unpacking ros-noetic-prbt-ikfast-manipulator-plugin (0.6.0-1focal.20220515.071829) ...
dpkg: error processing archive /tmp/apt-dpkg-install-P8q7sZ/2909-ros-noetic-prbt-ikfast-manipulator-plugin_0.6.0-1focal.20220515.071829_amd64.deb (--unpack):
 trying to overwrite '/opt/ros/noetic/lib/libprbt_manipulator_moveit_ikfast_plugin.so', which is also in package ros-noetic-moveit-resources-prbt-ikfast-manipulator-plugin 0.8.2-1focal.20220515.071720

note the trying to overwrite '/opt/ros/noetic/lib/libprbt_manipulator_moveit_ikfast_plugin.so', which is also in package ros-noetic-moveit-resources-prbt-ikfast-manipulator-plugin 0.8.2-1focal.20220515.071720 part.

It appears two released packages are trying to install the same file, in the same location.

If users should not try to install both at the same time, perhaps a breaks relation should be declared, or if desirable, a conflicts relation.

gavanderhoorn commented 2 years ago

I'm guessing it would be easiest to add the breaks or conflicts stanza to the Debian control file for the package here, as, AFAIK, the Pilz repository is unmaintained.