-
Notifications
You must be signed in to change notification settings - Fork 8k
Key download for debian 12 does not work. This is a patch to fix it., #21012
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
Conversation
The instructions do not work. I believe the file need to be in gpg format. Tested on a fresh debian 12 install withn only htop and nvim installed.
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tested it? I mean locally?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this change is desirable. Can you explain the error you encountered?
|
I did change the URL for a With the change, one can install the docker source and then install locker on a fresh new debian install. |
|
pinging @thaJeztah @tianon for input here... Do either of you know why this is happening? We also have #20834 which looks like an attempt at a workaround. |
|
No idea what's happening there; I tried on a fresh install of Debian 12 on DigitalOcean, and using the steps from the docs, all works without issues; apt-get update
apt-get install ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-pluginIt's worth checking what your We have over a million weekly downloads of packages for Debian, so at least it's not a widespread issue, but it could be something specific in your environment (I have run into some cloud providers having some non-standard / minimalized setup) |
|
I still have the issue on my home server. If I follow the instructions, it does not work: 1 Removed the files in /etc/atp/keyring => apt should not workStep 2: follow the documentation to download the key and add it to the keyringThe file is there: |
|
If I use the proposed changes, it works: I can now install and maintain the docker packages |
|
This is a |
|
The PR with the current changes would fail, because it configures the repository with What does the content of your |
|
Good call. This is my source file. Let me double check with the It was not working when I installed initially following the instructions but I did debug on the machine itself. |
|
OK. This is really weird. But I can confirm 💯 % that it was not working during the initial install ;-( |
|
It looks like the default dir is nowe /usr/share/keyrings Also in this directory on my debian 12, you can see that all the files are in ls /usr/share/keyrings/ |
|
My proposal would be then to:
|
|
Why it may happen? It did now work while I was in the => Then after this, I did open new sessions (by SSH) and it is now a different session with updated env variable and all. |
|
I did update the file accordingly but I did not test by cut&pasting. I believe I need the deploy preview. Also I think we could use I don't know enough about the doc build system to know if it will break thinks for older versions of debian. |
Thanks! Yes, that is referring to
That looks to be outdated information; (IIUC) the The intent here is for "EPEL" repositories (like
Either
Not sure what happened there; wondering if you perhaps combined some "new" with "old" instructions, and used
We use Of course, you're welcome to adjust examples according to your preference / situation for your use. |
|
OK. I did another fresh I still don't know what went wrong, sorry for the noise. I think we can close the issue. |
The instructions do not work.
I believe the file need to be in gpg format.
Tested on a fresh debian 12 install withn only htop and nvim installed.
Description
Related issues or tickets
Reviews