autowarefoundation / autoware

Autoware - the world's leading open-source software project for autonomous driving
https://www.autoware.org/
Apache License 2.0
8.58k stars 2.88k forks source link

chore: add error handling for held packages during rmw installation #4781

Closed Naophis closed 1 month ago

Naophis commented 1 month ago

Description

This PR implements a similar fix to the one applied in PR #4585. The changes address the handling of the ROS RMW (ROS Middleware) installation process, specifically when packages are already pinned.

Tests performed

Premise

image ROS rmw packages are held.

before

image Errored in Install ros-humble-rmw-cyclonedds-cpp.

after (held packages)

image

after (not held packages)

image

Not applicable.

Effects on system behavior

Not applicable.

Interface changes

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

After all checkboxes are checked, anyone who has write access can merge the PR.