....
> [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.
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
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.