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 role does not seem to know the aptkey false from pkgrepo.managed and does not download the key into /etc/apt/keyrings. apt-key itself is deprecated. Looking through the source cannot seem to find the option to set - aptkey: False in this role.
Steps to reproduce the bug
Use above pillar. See that it errors on the salt repo:
local:
----------
ID: deb salt
Function: pkgrepo.managed
Name: deb [ signed-by=/etc/apt/keyrings/SALT-PROJECT-GPG-PUBKEY-2023.gpg ] https://repo.saltproject.io/salt/py3/debian/11/amd64/3007 bullseye main
Result: True
Comment: Configured package repo 'deb [ signed-by=/etc/apt/keyrings/SALT-PROJECT-GPG-PUBKEY-2023.gpg ] https://repo.saltproject.io/salt/py3/debian/11/amd64/3007 bullseye main'
Started: 19:23:01.724969
Duration: 813.624 ms
Changes:
----------
repo:
deb [ signed-by=/etc/apt/keyrings/SALT-PROJECT-GPG-PUBKEY-2023.gpg ] https://repo.saltproject.io/salt/py3/debian/11/amd64/3007 bullseye main
----------
ID: apt.refresh_db
Function: module.run
Name: pkg.refresh_db
Result: False
Comment: Module function pkg.refresh_db threw an exception. Exception: W: GPG error: https://repo.saltproject.io/salt/py3/debian/11/amd64/3007 bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 64CBBC8173D76B3F
E: The repository 'https://repo.saltproject.io/salt/py3/debian/11/amd64/3007 bullseye InRelease' is not signed.
Started: 19:23:02.541283
Duration: 4257.558 ms
Changes:
Summary for local
--------------
Succeeded: 130 (changed=1)
Failed: 1
--------------
Total states run: 131
Total run time: 6.392 s
Expected behaviour
I'd like to use aptkey: False.
Attempts to fix the bug
Look through the documentation (pillar) and source code.
Additional context
The text was updated successfully, but these errors were encountered:
Your setup
Formula commit hash / release tag
I'm using the most recent master bea590b
Versions reports (master & minion)
master and minion is the same machine.
Pillar / config used
Bug details
Describe the bug
This role does not seem to know the
aptkey
false frompkgrepo.managed
and does not download the key into/etc/apt/keyrings
. apt-key itself is deprecated. Looking through the source cannot seem to find the option to set- aptkey: False
in this role.Steps to reproduce the bug
Use above pillar. See that it errors on the salt repo:
Expected behaviour
I'd like to use
aptkey: False
.Attempts to fix the bug
Look through the documentation (pillar) and source code.
Additional context
The text was updated successfully, but these errors were encountered: