Repository navigation
Closed
Labels
documentationImprovements or additions to documentation
Description
Description
# lsb_release -a
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
# sudo curl -fsSL -o /etc/apt/keyrings/salt-archive-keyring-2023.gpg https://repo.saltproject.io/salt/py3/debian/11/amd64/SALT-PROJECT-GPG-PUBKEY-2023.gpg
echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023.gpg arch=amd64] https://repo.saltproject.io/salt/py3/debian/11/amd64/latest bullseye main" | sudo tee /etc/apt/sources.list.d/salt.list
deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023.gpg arch=amd64] https://repo.saltproject.io/salt/py3/debian/11/amd64/latest bullseye main
# aptitude update
Get: 1 https://repo.saltproject.io/salt/py3/debian/11/amd64/latest bullseye InRelease [1,585 B]
Err https://repo.saltproject.io/salt/py3/debian/11/amd64/latest bullseye InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 64CBBC8173D76B3F
(...)
W: GPG error: https://repo.saltproject.io/salt/py3/debian/11/amd64/latest 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/latest bullseye InRelease' is not signed.
E: Failed to download some files
W: Failed to fetch https://repo.saltproject.io/salt/py3/debian/11/amd64/latest/dists/bullseye/InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 64CBBC8173D76B3F
E: Some index files failed to download. They have been ignored, or old ones used instead
Is there a step I am missing?
Type of documentation
Salt Install Guide
Location or format of documentation
https://docs.saltproject.io/salt/install-guide/en/latest/topics/install-by-operating-system/debian.html
Reacted by Hans Strijker
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentation
Activity
welcome commentedon Jun 22, 2023
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!
HStry commentedon Jun 26, 2023
@HomerThreepwood
I don't know why, but it didn't work before, and I got the same message as you had. Did some things through
gpg, and now it seems to work. I'm using Debian 12 for this container, and using the new apt sources config format:What I did:
The keys generated through this method were exactly the same as pulled from saltproject.io, so I guess somewhere in this method I must've fixed a typo I overlooked. I see - for my situation - no other reason why this would have worked. Everything seems the same.
OrangeDog commentedon Jun 26, 2023
Can you please add some details as to what the documentation problem is, including a title for the issue.
barbaricyawps commentedon Jun 26, 2023
@HomerThreepwood , I agree with @OrangeDog : can you add some details around what the documentation problem is and what fix you'd like to see. It sounds like you were having some problems with your GPG keys on Debian.
Did you follow the steps to add the Salt GPG key to your repository? Is there anything about those steps that needs some clarification? For example, did you see the note on the Debian 11 install instructions:
Can you tell me if you were upgrading or running a fresh install?
arnoldasb commentedon Aug 1, 2023
For some reason we had 0750 permissions on /etc/apt/keyrings folder, it took us hours of searching for solutions.
Following apt update error:
So make sure you check permissions:
[-][DOCS][/-][+][DOCS] Update Salt Install Guide to include instructions to check permissions on keyrings[/+]BlackMetalz commentedon Sep 13, 2023
This is the solution. It may be affected by some policy for hardening
petrows commentedon Jun 3, 2025
For everyone who spend a time trying to resolve this issue: documentation is wrong, it has missing
gpg --dearmorcall, if you will try to use steps from Saltstack installation guide, it will throw an error:Correct command to provide
Signed-byfile option is:(Documentation has missing
gpg --dearmorpart)Fix issues with APT installation with wrong key handling
Fix issues with APT installation with wrong key handling