Don't use the bad way to update WSL anymore

This commit is contained in:
Mylloon 2021-12-30 10:36:35 +01:00
parent 12666a0c4a
commit f4bcd44353
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -104,8 +104,8 @@ then
echo -e "\nSU password removed! 🎉" echo -e "\nSU password removed! 🎉"
# Change LTS update to normal # Change LTS update to normal
sudo sed -i "16s#.*#Prompt=normal#" /etc/update-manager/release-upgrades # sudo sed -i "16s#.*#Prompt=normal#" /etc/update-manager/release-upgrades
echo -e "\nChannel update moved from \"LTS\" to \"normal\"! 🎉" # echo -e "\nChannel update moved from \"LTS\" to \"normal\"! 🎉"
# Remove snap for WSL because it block the 21.10 update (https://github.com/microsoft/WSL/issues/6942#issuecomment-879904997) # Remove snap for WSL because it block the 21.10 update (https://github.com/microsoft/WSL/issues/6942#issuecomment-879904997)
# sudo apt autoremove --purge snapd -y # sudo apt autoremove --purge snapd -y