Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

sudo apt-key add – does not work anymore

Writer 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.key

I checked the file:

file usr/local/share/keyrings/microsoft_windows_defender.key

returns:

PGP public key block Public-Key (old)

then i created the source file

nano /etc/apt/sources.list.d/microsoft-prod.list

containing:

deb [arch=amd64,armhf,arm64 signed-by=/usr/share/keyrings/microsoft_windows_defender.gpg] jammy main

But when i run

apt update

It gives an error:

 jammy InRelease: NO_PUBKEY EB3E94ADBE1229CF

Can anyone help to fix this? Thank you.

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy