Skip to content

Instantly share code, notes, and snippets.

@dk949
Last active September 23, 2022 00:44
Show Gist options
  • Select an option

  • Save dk949/5a34dc8d8084add5e118b60b88beecef to your computer and use it in GitHub Desktop.

Select an option

Save dk949/5a34dc8d8084add5e118b60b88beecef to your computer and use it in GitHub Desktop.
Debian testing on WSL

Upgrading to debian testing on WSL

Isntall Debian

Get latest from the store or here

upgrade to testing

https://wiki.debian.org/DebianTesting

Run the following as root. Change the value of LATEST to the latest stable codename

LATEST=bullseye
sed -i "s/$LATEST/testing/g; /security.debian.org/d; /-updates/d; /-backports/d" /etc/apt/sources.list
echo "deb http://security.debian.org testing-security main" >> /etc/apt/sources.list
apt update && apt upgrade
apt dist-upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment