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

Revision history [back]

click to hide/show revision 1
initial version

You should be able to resolve this error by updating your installed versions of colcon packages to the latest for each version.

If you installed colcon via apt, an apt update && apt upgrade will bring your colcon packages up-to-date (although it will also apply all other pending updates on your system so if you are not already doing that regularly it may be worth it to check what will change).

If you installed colcon with pip there is not a system-wide upgrade command that I'm aware of. You may be able to upgrade colcon packages and their dependencies with pip install --upgrade --upgrade-strategy eager colcon-common-extensions but you may need to individually list and then upgrade each colcon package to make sure they are all using the latest version.

This problem was caused when the override check was split out into a separate package because the initial version of the functionality was provided by colcon core. As a result, installing colcon-override-check without updating colcon-core results in the argument being added twice, creating this conflict.