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 >>


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

general.

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.

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 ?