Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr3277 :: Microsoft in my Debian repo

microsoft, raspberry pi, bash, script

<< First, < Previous, Latest >>

Host Image
Hosted by Archer72 on 2021-02-23 is flagged as Clean and is released under a CC-BY-SA license.
Tags: microsoft, raspberry pi, bash, script.
Listen in ogg, spx, or mp3 format. | Comments (0)

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

Subscribe to the comments RSS feed.

<< First, < Previous, Latest >>

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?