DEV Community

Discussion on: How to Upgrade to Fedora 37 In Place on Windows Subsystem for Linux (WSL)

Collapse
 
brnvrn profile image
Bruno Vernay

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

  • "sudo DNF_SYSTEM_UPGRADE_NO_REBOOT=1 dnf system-upgrade reboot"
  • or "sudo -E dnf system-upgrade reboot"
Collapse
 
bowmanjd profile image
Jonathan Bowman

Eureka! Thank you so much.

Collapse
 
bowmanjd profile image
Jonathan Bowman

I have updated the article according to your good instructions. Again, many thanks!