Fedora Remix for WSL 40 Released
Fedora Remix for WSL 40 comes with the following improvements:
Fedora Remix for WSL has been upgraded to Fedora 40, which brings many updates and enhancements.
Mesa has been upgraded to 24.0.5, and the Microsoft D3D12 driver now supports OpenGL 4.6.
We hope you enjoy using Fedora Remix for WSL 40.0.1 and find it helpful for your work and projects. If you have any questions or feedback, please feel free to contact us through our GitHub page. Thank you for your support!
Upgrade Fedora Remix for WSL to 40
You can upgrade your existing installation of Fedora 39 with the following steps.
First, backup your installation:
wsl --export fedoraremix fedoraremix39_backup.tar.gz
Then proceed:
NOTE: DO NOT PERFORM THE UPGRADE STARTING FEDORA REMIX WITH SYSTEMD; IT WILL RUIN YOUR INSTALLATION
#Be sure that systemd is disabled
[ "$(grep -c "^systemd.*=.*true$" /etc/wsl.conf)" -ne 0 ] && sudo sed -i "s/^systemd.*=.*true$/systemd=false/" /etc/wsl.conf && wsl.exe --terminate ${WSL_DISTRO_NAME}
update.sh
sudo dnf -y upgrade --refresh
sudo dnf -y install dnf-plugin-system-upgrade
sudo rpm --import https://src.fedoraproject.org/rpms/fedora-repos/raw/rawhide/f/RPM-GPG-KEY-fedora-40-primary
sudo dnf -y install distribution-gpg-keys
sudo dnf -y system-upgrade --allowerasing --skip-broken download --releasever=40
sudo dnf -y system-upgrade reboot
At this point, it will raise an error, ignore it, and execute the following commands:
sudo dnf -y system-upgrade upgrade
sudo dnf -y autoremove
sudo dnf -y clean all
sudo mandb
sudo dnf -y system-upgrade clean
update.sh
cat /etc/fedora-release
exit
You can then reenable or start with SystemD if you were using it.