You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue happened on my Ubuntu nobel servers
the fix is straightforward: adding signed-by=/etc/apt/keyrings/docker.asc to apt source file
Error:
Failed to update apt cache:
W:Updating from such a repository can't be done securely, and is therefore disabled by default.,
W:See apt-secure(8) manpage for repository creation and user configuration details.,
W:GPG error: http://nexus.local:8081/repository/docker-linux/ubuntu noble InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8,
E:The repository 'http://nexus.local:8081/repository/docker-linux/ubuntu noble InRelease' is not signed.
Fix:
# in vars
docker_apt_repository: "deb [arch={{ docker_apt_arch }}{{' signed-by=/etc/apt/keyrings/docker.asc' if add_repository_key is not failed}}] {{ docker_repo_url }}/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} {{ docker_apt_release_channel }}"
The text was updated successfully, but these errors were encountered:
FMotalleb
added a commit
to FMotalleb/ansible-role-docker
that referenced
this issue
Dec 3, 2024
This issue happened on my Ubuntu nobel servers
the fix is straightforward: adding
signed-by=/etc/apt/keyrings/docker.asc
to apt source fileError:
Fix:
The text was updated successfully, but these errors were encountered: