Comment 21 for bug 1888916

Revision history for this message
Brian Murray (brian-murray) wrote : Re: upgrade from bionic to focal a server with molly-guard moves back sources.list to bionic entries

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@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@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