[Bug 1888916] Re: after the upgrade completes reattaching to the screen session can restore your sources.list file
Brian Murray
1888916 at bugs.launchpad.net
Tue Aug 25 01:23:15 UTC 2020
Actually, just choosing to resurrect the screen window will restart the
upgrade process which then will warn you about an upgrade not succeeding
and then if you exit that sources.list.distUpgrade will be restored.
I tried messing with screenrc and adding "onerror" to zombie
(https://www.gnu.org/software/screen/manual/html_node/Zombie.html) but
that did not help.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1888916
Title:
after the upgrade completes reattaching to the screen session can
restore your sources.list file
Status in ubuntu-release-upgrader package in Ubuntu:
Confirmed
Status in ubuntu-release-upgrader source package in Groovy:
Confirmed
Bug description:
I've upgraded a server via `do-release-upgrade` from Ubuntu Bionic to
Focal, with molly-guard installed on it - molly-guard configured to
always ask for the hostname.
After it has finished:
```
System upgrade is complete.
Restart required
To finish the upgrade, a restart is required.
If you select 'y' the system will be restarted.
Continue [yN] y
I: molly-guard: reboot is always molly-guarded on this system.
Please type in hostname of the machine to reboot:
Good thing I asked; I won't reboot bates ...
=== Command detached from window (Tue Jul 21 15:23:36 2020) ===
=== Command terminated normally (Tue Jul 21 15:23:46 2020) ===
```
It doesn't alert you it was restoring original state of sources.list.
After rebooting the system and it came back up showing `Welcome to Ubuntu 20.04 LTS`, I've just noticed it was pointing out to bionic instead of focal installing a package.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1888916/+subscriptions
More information about the foundations-bugs
mailing list