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

[Bug] Iciniga Debian 11 Repo Key #89

Open
Shizzlebix opened this issue Oct 1, 2024 · 1 comment
Open

[Bug] Iciniga Debian 11 Repo Key #89

Shizzlebix opened this issue Oct 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Shizzlebix
Copy link

Description

if using icinga with debian 11 the gpg key is no more valid. so you have to install icinga-archive-keyring

Reproduction steps

apt update with icinga enabled on debian 11

Current Behavior

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.icinga.com/debian icinga-bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CC116F55AA7F2382
W: Failed to fetch https://packages.icinga.com/debian/dists/icinga-bullseye/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CC116F55AA7F2382
W: Some index files failed to download. They have been ignored, or old ones used instead.

Expected Behavior

.

Additional information

No response

@Shizzlebix Shizzlebix added the bug Something isn't working label Oct 1, 2024
@Shizzlebix
Copy link
Author

Shizzlebix commented Oct 1, 2024

roles/icinga_agent/molecule/default/prepare.yml
35a36,44

- name: Add icinga-archive-keyring repo
  ansible.builtin.apt:
    name: icinga-archive-keyring
    state: present
    update_cache: true
  when:
    - ansible_facts['distribution'] == 'Debian'
    - ansible_facts['distribution_major_version'] == "11"

42,43c51
< - deb http://packages.icinga.com/debian icinga-bullseye main
< - deb-src http://packages.icinga.com/debian icinga-bullseye main

    - deb [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/debian icinga-bullseye main

roles/icinga_plugins/molecule/default/prepare.yml
51a52,60

- name: Add icinga-archive-keyring repo
  ansible.builtin.apt:
    name: icinga-archive-keyring
    state: present
    update_cache: true
  when:
    - ansible_facts['distribution'] == 'Debian'
    - ansible_facts['distribution_major_version'] == "11"

58,59c67
< - deb http://packages.icinga.com/debian icinga-bullseye main
< - deb-src http://packages.icinga.com/debian icinga-bullseye main

     - deb [signed-by=/usr/share/keyrings/icinga-archive-keyring.gpg] https://packages.icinga.com/debian icinga-bullseye main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant