[Discuss] Debian 12 vs. WSL 1

Edward epp at null.net
Fri Jun 16 15:12:22 EDT 2023


On Friday 16 June 2023 10:05:54 AM (-04:00), Rich Pieri wrote:

 > Debian 12 was released last week(end). With it comes the mandatory
 > change to merged /usr.
 > 
 > https://wiki.debian.org/UsrMerge
 > 
 > This can break on WSL1 installs due to how WSL locks parts of the
 > filesystem. Debian's official recommendation is to reinstall the base
 > OS if you don't want to convert to WSL2. My workaround, tested on four
 > different machines, is to temporarily convert to WSL2 anyway:
 > 
 > * Install the usrmerge packages on Debian 11/WSL1 but don't execute.
 > * Convert the install to WSL2 (wsl --set-version Debian 2)
 > * Execute usrmerge (dpkg-reconfigure usrmerge)
 > * Revert to WSL1 (wsl --set-version Debian 1)
 > 
 > The full-upgrade should now work without tripping on usrmerge.

Should the average end-user be concerned about this change to /usr? The 
internal HDD/SSD installs are Debian Sid (unstable). originally installed 
with a Debian 11 image, then 'upgraded'.

TIA.







More information about the Discuss mailing list