Here are the commands to remove Microsoft’s repo and GPG key from your Pi:

sudo rm /etc/apt/sources.list.d/vscode.list
sudo rm /etc/apt/trusted.gpg.d/microsoft.gpg
sudo apt update

I can see why the Raspberry Pi Foundation chose to do this, but I don’t like it.

Support me on Patreon: https://www.patreon.com/geerlingguy
Sponsor me on GitHub: https://github.com/sponsors/geerlingguy

#RaspberryPi #Microsoft #OpenSource

Contents:

00:00 – So I was updating apt…
00:38 – What happened?
01:23 – VSCode concerns
02:07 – VSCodium
03:09 – Why so angry?
05:35 – Mountains and molehills
07:18 – Remove Microsoft from your Pi
07:38 – Who do we trust?
08:40 – Bloopers

source