Merge ~edugomez/ubuntu-release-upgrader:no-restart-wsl into ubuntu-release-upgrader:ubuntu/main
Proposed by
Edu Gómez Escandell
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 14196b3143fbbbec9cc720234708b131efa2e05b | ||||
Proposed branch: | ~edugomez/ubuntu-release-upgrader:no-restart-wsl | ||||
Merge into: | ubuntu-release-upgrader:ubuntu/main | ||||
Diff against target: |
68 lines (+28/-3) 3 files modified
DistUpgrade/DistUpgradeController.py (+12/-3) DistUpgrade/DistUpgradeView.py (+10/-0) debian/changelog (+6/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Core Development Team | Pending | ||
Review via email: mp+425846@code.launchpad.net |
Commit message
DistUpgrade: No longer attempting to reboot in WSL (LP: #1958668).
Description of the change
On WSL, at the end of a do-release-upgrade, the upgrader proposes to reboot the machine and then fails to do so. This happens because it is not possible to reboot, due to the lack of systemd. This results in an error.
There is no clean way of restarting from within WSL, so the solution is to ask the user to close all other Ubuntu WSL instances before the current one, and signal the Launcher to restart after quitting. This will kill all instances of Ubuntu WSL, hence why the user is advised to close the others first.
To post a comment you must log in.