Skip to content

Replace apt install with dpkg -i to install ros2-apt-source package #5752

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

ds196
Copy link
Contributor

@ds196 ds196 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.

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.
@ahcorde
Copy link
Contributor

ahcorde commented Jun 24, 2025

https://github.com/Mergifyio backport kilted jazzy rolling

Copy link
Contributor

mergify bot commented Jun 24, 2025

backport kilted jazzy rolling

✅ Backports have been created

@ahcorde ahcorde merged commit f2e9334 into ros2:humble Jun 24, 2025
5 checks passed
mergify bot pushed a commit that referenced this pull request Jun 24, 2025
…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)
mergify bot pushed a commit that referenced this pull request Jun 24, 2025
…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)
mergify bot pushed a commit that referenced this pull request Jun 24, 2025
…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)
ahcorde pushed a commit that referenced this pull request Jun 24, 2025
…5752) (#5755)

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)

Co-authored-by: David Sharpe <[email protected]>
ahcorde pushed a commit that referenced this pull request Jun 24, 2025
…5752) (#5754)

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)

Co-authored-by: David Sharpe <[email protected]>
ahcorde pushed a commit that referenced this pull request Jun 24, 2025
…5752) (#5753)

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)

Co-authored-by: David Sharpe <[email protected]>
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.

2 participants