[Bug 1888916] Re: upgrade from bionic to focal a server with molly-guard moves back sources.list to bionic entries
Brian Murray
1888916 at bugs.launchpad.net
Mon Aug 24 17:46:16 UTC 2020
Ah, thanks for that additional information! I was able to recreate this
issue by upgrading from bionic to focal and then running 'sudo ./focal
--frontend DistUpgradeViewText' in the folder in which the release
upgrader was extracted e.g. '/tmp/ubuntu-release-upgrader-nbgn2n5o'.
Perhaps the distribution upgrade process should remove the
sources.list.distUpgrade file after the release upgrade successfully
completes.
bdmurray at clean-bionic-amd64:/tmp/ubuntu-release-upgrader-nbgn2n5o$ ls -lh /etc/apt/
total 36K
drwxr-xr-x 2 root root 4.0K Aug 22 09:47 apt.conf.d
drwxr-xr-x 2 root root 4.0K Mar 11 2019 auth.conf.d
drwxr-xr-x 2 root root 4.0K Apr 20 2018 preferences.d
-rw-rw-r-- 1 root root 676 Aug 24 10:42 sources.list
drwxr-xr-x 2 root root 4.0K Aug 22 07:28 sources.list.d
-rw-rw-r-- 1 root root 676 Aug 22 07:28 sources.list.distUpgrade
-rw-rw-r-- 1 root root 2.9K Aug 13 2018 sources.list.ori
-rw-rw-r-- 1 root root 674 Aug 22 07:24 sources.list.save
drwxr-xr-x 2 root root 4.0K Aug 22 07:37 trusted.gpg.d
bdmurray at clean-bionic-amd64:/tmp/ubuntu-release-upgrader-nbgn2n5o$ md5sum /etc/apt/sources.list /etc/apt/sources.list.distUpgrade
1d22517b154947f8a818e36f6edf7c62 /etc/apt/sources.list
1d22517b154947f8a818e36f6edf7c62 /etc/apt/sources.list.distUpgrade
** Changed in: ubuntu-release-upgrader (Ubuntu Groovy)
Status: Incomplete => Confirmed
** Summary changed:
- upgrade from bionic to focal a server with molly-guard moves back sources.list to bionic entries
+ after upgrading running the upgrader again can restore your sources.list file to the previous release
--
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 upgrading running the upgrader again can restore your
sources.list file to the previous release
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