Some Notes on Upgrading WSL Debian to Trixie

This is how I upgraded my elderly WSL Debian install from Buster (version 10) to Trixie (version 13). This may only apply to Windows Subsystem for Linux (WSL) running Debian, although it may help with others like Ubuntu. For a smoother upgrade I worked through the versions: Bullseye > Bookworm > Trixie as Debian is really only happy updating one version at a time.

Upgrading from Buster to Bullseye:

As Buster is now out of support, no updates are available.

Going through each command, this changes the version in the sources.list file and after you update apt the database, we perform a full upgrade and then clean the old data. We then check the version with cat /etc/os-release.

Installing usrmerge resolves this error which can appear later:

Upgrading from Bullseye to Bookworm:

The intermediate step, if you are already at Bullseye then:

before embarking on the version upgrade.

Upgrading from Bookworm to Trixie:

And finally to Trixie using the same method as before, but with an update to how the sources are set out.

on one of my computers, the Nvidia drivers prevented the kernel upgrade:

to fix this I removed the Nvidia driver for reinstallation later:

The final installed version:

and the installed kernel:

Links and Sources

One thought on “Some Notes on Upgrading WSL Debian to Trixie”

  1. Thanks for information about upgrading to Trixie. I followed your Bullseye > Bookworm > Trixie path. The new LX desktop for Trixie is not wonderful. I found Wifi was not enabled after a reboot but, with ethernet connection, found Wifi was enabled immediately after launching NetworkManager. Edited /etc/rc.local and inserted: /usr/sbin/NetworkManager which will launch at run time. Problem solved. nmcli is not as convenient as /etc/dhcpcd.conf which is ignored by Trixie.

Comments are closed.