Skip to content

Replace apt install with dpkg -i to install ros2-apt-source package (backport #5752) #5755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 24, 2025

Description

When migrating to the updated installation method, apt install may ignore the installed deb file and pull from an old version of the ros repos, causing both ros2.list and ros2.source to be installed and apt update to return an error. dpkg -i will correctly install the curled deb file.

Fixes #5751

Did you use Generative AI?

No

Additional Information

Mainly applies to systems where ROS2 has been installed in the past, and keys/sources are being updated to the new method.


This is an automatic backport of pull request #5752 done by [Mergify](https://mergify.com).

…5752)

When migrating to the updated installation method, `apt install` may ignore the installed deb file and pull from an old version of the ros repos, causing both ros2.list and ros2.source to be installed and `apt update` to return an error. `dpkg -i` will correctly install the curled deb file.

(cherry picked from commit f2e9334)
Copy link

HTML artifacts: https://github.com/ros2/ros2_documentation/actions/runs/15854609909/artifacts/3393455804.

To view the resulting site:

  1. Click on the above link to download the artifacts archive
  2. Extract it
  3. Open html-artifacts-5755/index.html in your favorite browser

@ahcorde ahcorde merged commit 48fa2bc into rolling Jun 24, 2025
5 checks passed
@ahcorde ahcorde deleted the mergify/bp/rolling/pr-5752 branch June 24, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

📝 New ros2-sources deb should use dpkg, not apt install
2 participants