sudo apt-key add – does not work anymore
Andrew Henderson
I am trying to install (not by my choice) the Microsoft Windows Defender. For that i need to add a repository key:
curl | sudo apt-key add –But this does not work anymore. I made then this to get the file:
curl -o /usr/local/share/keyrings/microsoft_windows_defender.keyI checked the file:
file usr/local/share/keyrings/microsoft_windows_defender.keyreturns:
PGP public key block Public-Key (old)then i created the source file
nano /etc/apt/sources.list.d/microsoft-prod.listcontaining:
deb [arch=amd64,armhf,arm64 signed-by=/usr/share/keyrings/microsoft_windows_defender.gpg] jammy mainBut when i run
apt updateIt gives an error:
jammy InRelease: NO_PUBKEY EB3E94ADBE1229CFCan anyone help to fix this? Thank you.
Reset to default