
The time has once again arrived to upgrade Fedora. As detailed in another article, I installed Fedora on WSL 2. Now I want to upgrade to Fedora ver...
For further actions, you may consider blocking this person and/or reporting abuse
For further actions, you may consider blocking this person and/or reporting abuse
Good article. Has worked for the upgrade to F41 for me. However, it seems not to work for the upgrade to F42.
With dnf5 the upgrade changed:
New command is:
Thank you for noting this!
the upgrade from 41 to 42 needs a little different commands to succeed as dnf system-upgrade upgrade is no longer available. Instead run
sudo -E dnf offline _execute
after thesudo -E dnf system-upgrade reboot
. I successfully upgraded to fedora 42. You may also usesudo -E dnf offline reboot
instead ofsudo -E dnf system-upgrade reboot
. However I would like to point out that Fedora 42 comes with a preconfigured WSL image that integrates with wslg out of the box and rather consider using that image than upgrading from an earlier version:kojipkgs.fedoraproject.org/package... - Download that one, rename it to .wsl instead of .tar.xz and run it as an app. or run
wsl --import Fedora C:\distro\fedora Fedora-WSL-Base-42-1.1.x86_64.tar.xz
or even simpler runwsl --install FedoraLinux-42
(add--name F42
to give it another name than Fedora if You like to keep Your former installation) that downloads the Fedora image automatically and installs it.Hi
I suspect your variable "DNF_SYSTEM_UPGRADE_NO_REBOOT=1" is not taken into account when running sudo.
This is all I have running these:
➜ dnf system-upgrade reboot
Reboot turned off, not rebooting.
I did not have your error message. Anyway, I upgraded, thanks :-)
Could have used
I have updated the article according to your good instructions. Again, many thanks!
Eureka! Thank you so much.
Hello how are you!
I really liked the post about installing fedora on windows 10 wsl. I did the latest update of windows w on Fedora 36 as well as your guidance on the post. I noticed the amount of applications linked to linux fedora is quite large. I'm not a big fan of command line SW all the time. as is the case from linux fedora to wsl. Question: Is there a way to enter the Fedora GUI through wsl2? Thanks for everything!
Hug,
Great question! This is definitely possible, but I confess I have never done it. I would suspect that it would be similar to Ubuntu setups, but I am unsure. Perhaps others here will respond.
I have followed the instructions presented here to upgrade from a working fedora 40 wsl to fedora 41.
Upgrade was fine...the only issue I have now is probably not important..still, when I launch wsl fedora I get the following error message :
Failed to connect to bus: No such file or directory
Any hint on how to solve this?
I have to add that, if I run 'dnf reinstall dbus' the problem disappears temporarily...then, after a few logins it reappears again.
Thank you very much
Hmmm... unsure off the top of my head. Have you had any more progress on this?
Thank you @bowmanjd , this is a great article. It really helped me!
Just a fyi, this also works for 34 to 35.