wsl --shutdown
wsl
Inspired from here
sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
sudo apt-get update && sudo apt-get dist-upgrade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Removing old keys" | |
sudo rm -rf /etc/pacman.d/gnupg | |
echo "Init new keys" | |
sudo pacman-key --init | |
echo "Init ArcoLinux specific keys" | |
sudo pacman-key --populate arcolinux |