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

GPG Error on Ubuntu 18.04 #1

Open
mmowry-accuity opened this issue Jan 31, 2024 · 0 comments
Open

GPG Error on Ubuntu 18.04 #1

mmowry-accuity opened this issue Jan 31, 2024 · 0 comments

Comments

@mmowry-accuity
Copy link

Describe the bug

...
Failed to update apt cache: W:Updating from such a repository can't be done securely, and is therefore disabled by default

Playbook

---
---
- name: Install Docker and GitHub Actions Runner
  hosts: dpu
  become: yes
  roles:
    - role: robertdebock.bootstrap
    - role: robertdebock.epel
    - role: robertdebock.buildtools
    - role: robertdebock.python_pip
    - role: robertdebock.microsoft_repository_keys
    - role: robertdebock.azure_cli

Output

TASK [robertdebock.bootstrap : Install bootstrap packages (package)] *********************************************************************************************************************************************failed: [20.65.10.50] (item=python3) => {"ansible_loop_var": "item", "changed": false, "item": "python3", "msg": "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: https://packages.microsoft.com/repos/azure-cli bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF, E:The repository 'https://packages.microsoft.com/repos/azure-cli bionic InRelease' is not signed."}
failed: [20.65.10.50] (item=sudo) => {"ansible_loop_var": "item", "changed": false, "item": "sudo", "msg": "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: https://packages.microsoft.com/repos/azure-cli bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF, E:The repository 'https://packages.microsoft.com/repos/azure-cli bionic InRelease' is not signed."}
failed: [20.65.10.50] (item=gnupg) => {"ansible_loop_var": "item", "changed": false, "item": "gnupg", "msg": "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: https://packages.microsoft.com/repos/azure-cli bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF, E:The repository 'https://packages.microsoft.com/repos/azure-cli bionic InRelease' is not signed."}
failed: [20.65.10.50] (item=python3-apt) => {"ansible_loop_var": "item", "changed": false, "item": "python3-apt", "msg": "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: https://packages.microsoft.com/repos/azure-cli bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF, E:The repository 'https://packages.microsoft.com/repos/azure-cli bionic InRelease' is not signed."}

Environment

  • Control node OS: WSL on Windows
  • Control node Ansible version: 2.15.8
  • Managed node OS: Ubuntu 18.04

Please consider sponsoring me.

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

No branches or pull requests

1 participant