-
Notifications
You must be signed in to change notification settings - Fork 495
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
Missing apt public key in some Linux distros (but not all)? #1233
Comments
Some further info, I've even moved completely away from a custom docker image and I'm still unable to build the container as a bookworm environment: my devcontainer.json {
"name": "Debian Rust Dev Env",
"image": "mcr.microsoft.com/devcontainers/base:bookworm",
"runArgs": ["--privileged"],
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"configureZshAsDefaultShell": true,
"installOhMyZsh": true,
"installOhMyZshConfig": true,
"upgradePackages": true,
"username": "vscode",
"userUid": "1000",
"userGid": "1000"
},
"ghcr.io/devcontainers/features/git:1": {
"ppa": false,
"version": "latest"
},
"ghcr.io/devcontainers/features/rust:1": {
"targets": "thumbv6m-none-eabi"
}
},
"customizations": {
"vscode": {
"extensions": [
"marus25.cortex-debug",
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml"
]
}
} error logs
|
Okay, it looks like I was able to build it on my raspberry pi, but not on my windows machine. That is very strange, because I would have through the public keys would be part of the image, but it is potentially somehow being affected by the host OS? This is surely a bug right? It shouldn't matter which machine I use, it should build on both? My main pc was running windows 10, and my pi is running raspbian. |
For my dev environment I need to install openOCD and gbd-multiarch on a Debian image.
I started by running the following docker file which works in bullseye, but does not work in bookworm. Since I needed versions of the package (specifically openOCD I needed at least version 0.12 or higher, but bullseye only goes up to 0.11), I changed it to bookworm. However it didn't work on bookworm, for some reason there is a missing public key. Finding it odd, I then changed distros to ubuntu and used the noble version because I didn't want to solve the public key issue (because I know it can rotate regularly). I then also found that I couldn't install it with noble either.
I am really scratching my head on this, because bullseye installs things just fine (even if they aren't the version I need). But when I try to go to these newer versions, even switching to a different distro, I'm wondering if I'm just getting really unlucky with finding images where the public key isn't installed correctly or if I'm doing something wrong.
I'm pretty sure this has to be a bug tho
Broken output preventing me from completing the build:
Noble also doesn't work
But for some reason, the bullseye image seems to have the public key 🤷♂️
Can I please be advised what is happening here?
The text was updated successfully, but these errors were encountered: