Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


HPR3277: Microsoft in my Debian repo

Hosted by Archer72 on 2021-02-23 00:00:00
Download or Listen

Raspberry pi foundation added vscode repo to raspberry OS.

Raspberry Pi OS's tried:

To try later:

sudo apt install dkms

cd rtl8812au

sudo make dkms_install

References.

The following code snippet was edited for readability.

#Hold raspberrypi-sys-mods package
sudo apt-mark hold raspberrypi-sys-mods

#Redirect calls to packages.microsoft.com to localhost
sudo echo "0.0.0.0 packages.microsoft.com" >> /etc/hosts

#remove MS Key file
sudo rm -vf /etc/apt/trusted.gpg.d/microsoft.gpg

#create empty dummy key file
sudo touch /etc/apt/trusted.gpg.d/microsoft.gpg

#lock the dummy key file
sudo chattr +i /etc/apt/trusted.gpg.d/microsoft.gpg

#comment out vscode.list
sudo sed -i 's/deb/#deb/' /etc/apt/sources.list.d/vscode.list

#lock the vscode.list file
sudo chattr +i /etc/apt/sources.list.d/vscode.list

Comments



More Information...


Copyright Information

Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.

The HPR Website Design is released to the Public Domain.