Skip to content

Instantly share code, notes, and snippets.

Avatar
🏢
Working

coseos coseos

🏢
Working
View GitHub Profile
@Marwe
Marwe / block_msrepo_on_rpi.sh
Created Feb 7, 2021
Block MS repo on raspbian
View block_msrepo_on_rpi.sh
#!/bin/bash
# manual rasbian fix 2021-02-06 needed
# if added already, remove ms repos and prevent them being installed on PI with rasbian (done without consent or opt-in)
# https://www.reddit.com/r/rebhu/comments/lcos3c/microsoft_repo_installed_on_all_raspberry_pis/
# https://github.com/RPi-Distro/raspberrypi-sys-mods/issues/41#issuecomment-773220437
for i in /etc/apt/trusted.gpg.d/microsoft.gpg /etc/apt/sources.list.d/vscode.list
do
rm -vf "$i"