Skip to content
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

Install ca-certificates before processing repository keys #1062

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

j-rivero
Copy link
Contributor

Detected the problem while installing the packages.o.o key in testing for the Jammy distribution, not happening on Noble.

https://citest.build.osrfoundation.org/view/ci/job/ci__colcon_gpu_any-manual_ubuntu_jammy_amd64/4/console

....
 > [18/21] RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y git python3-apt python3-empy python3-yaml:
235.0 W: https://packages.osrfoundation.org/gazebo/ubuntu-stable/dists/jammy/InRelease: No system certificates available. Try installing ca-certificates.
235.0 W: http://repos.ros.org/repos/ros_bootstrap/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
235.0 W: https://packages.osrfoundation.org/gazebo/ubuntu-stable/dists/jammy/InRelease: No system certificates available. Try installing ca-certificates.
235.0 W: https://packages.osrfoundation.org/gazebo/ubuntu-stable/dists/jammy/InRelease: No system certificates available. Try installing ca-certificates.
235.0 W: https://packages.osrfoundation.org/gazebo/ubuntu-stable/dists/jammy/InRelease: No system certificates available. Try installing ca-certificates.
235.0 W: Failed to fetch https://packages.osrfoundation.org/gazebo/ubuntu-stable/dists/jammy/InRelease  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 52.52.171.73 443]

The certificate issuer is unknown for the vanilla Jammy system. I solved the problem by installing the ca-certificates before installing the packages.o.o repo.

Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
@j-rivero j-rivero merged commit a024014 into master Jul 26, 2024
24 checks passed
@j-rivero j-rivero deleted the jrivero/ca_certs branch July 26, 2024 20:40
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.

3 participants