Open cmur opened 1 month ago
gpg-keys are handled in a new way on Debian 12 (and probably above) -> apt-key deprecated the same issue could happen on ubuntu 22/24, because apt-key is also deprecated (https://medium.com/@glegoux/ubuntu-22-04-jammy-jellyfish-apt-key-is-deprecated-2dbbee8aec84)
solution is the installation of the key in the keyrings - only tested on debian 12 - curl -sSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /usr/share/keyrings/microsoft-prod.gpg > /dev/null
gpg-keys are handled in a new way on Debian 12 (and probably above) -> apt-key deprecated the same issue could happen on ubuntu 22/24, because apt-key is also deprecated (https://medium.com/@glegoux/ubuntu-22-04-jammy-jellyfish-apt-key-is-deprecated-2dbbee8aec84)
Error on apt install
Err:7 https://packages.microsoft.com/debian/12/prod bookworm InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF Reading package lists... Done W: GPG error: https://packages.microsoft.com/debian/12/prod bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF E: The repository 'https://packages.microsoft.com/debian/12/prod bookworm InRelease' is not signed.
solution is the installation of the key in the keyrings - only tested on debian 12 - curl -sSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /usr/share/keyrings/microsoft-prod.gpg > /dev/null