do-release-upgrade -d does not work to upgrade to 20.04 LTS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I am not able to upgrade a server running 18.04.4 (HWE stack) to 20.04 LTS. There was some discussion about this on the ubuntu-server mailing list and a suggestion was made to update/install ca-certificates as a workaround, referencing lp:1796940, however that does not resolve the issue.
Interestingly, last Friday, the day after release, I was able to start an upgrade from Bionic to Focal on a NUC at home but I was forced to use -d as do-release-upgrade recognized Focal as a development release the day AFTER release. BUT, now a week later, I am completely unable to upgrade to Focal at all using do-release-upgrade.
To verify, I did a fresh deployment of 18.04.4, fully updated it and then attempted to upgrade to focal using do-release-upgrade.
ubuntu@drapion:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
ubuntu@drapion:~$ apt-cache policy ca-certificates
ca-certificates:
Installed: 20180409
Candidate: 20180409
Version table:
*** 20180409 500
500 http://
500 http://
100 /var/lib/
ubuntu@drapion:~$ sudo do-release-upgrade
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS develoment release
set Prompt=normal in /etc/update-
ubuntu@drapion:~$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
I also tried setting Prompt=normal and that didn't make a difference either:
ubuntu@drapion:~$ sudo apt-get update && sudo apt-get dist-upgrade -y
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Hit:5 http://
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
amd64-microcode intel-microcode iucode-tool libdbus-glib-1-2 linux-headers-
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@drapion:~$ sudo do-release-upgrade
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
ubuntu@drapion:~$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Upgrades to the development release are only
available from the latest supported release.
ubuntu@drapion:~$ sudo do-release-upgrade -p
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
ubuntu@drapion:~$ sudo dpkg -l |grep upgrade
ii python3-distupgrade 1:18.04.37 all manage release upgrades
ii ubuntu-
ii unattended-upgrades 1.1ubuntu1.18.04.14 all automatic installation of security upgrades
ii update-manager-core 1:18.04.11.12 all manage release upgrades
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.3.0-51-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.14
Architecture: amd64
CrashDB: ubuntu
Date: Sat May 2 06:00:38 2020
PackageArchitec
ProcEnviron:
TERM=screen-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-
Symptom: ubuntu-
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
To clarify, I think this summarizes my expectation once a new LTS is released:
I would expect -d to still upgrade to Focal as a "development" release when 'Prompt=lts' is set.
On the day AFTER release (Apr 24), I was able to initiate an 18.04 -> 20.04 upgrade using 'do-release-upgrade -d' and today, I am unable to do so meaning if I WANT to update my bionic systems to focal now, I have no mechanism to do so at all. I should be allowed to hang myself, accepting the risks of using -d in this context.
In other words,
Prompt=normal: `do-release-upgrade -d` should upgrade me from my release to the next development release (as soon as the development release is open for upgrading and testing).
Prompt=lts: `do-release-upgrade -d` should upgrade me from the last LTS to the current LTS in the GA to .1 window, and once the .1 release is done, then `do-release- upgrade` and `do-release-upgrade -d` should function identically.