Sign in to follow this  
Followers 0
BINREV SPYD3R

HPR - HPR3277: Microsoft in my Debian repo

1 post in this topic

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

View the full article

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0