[Bug 1876420] Re: do-release-upgrade -d does not work to upgrade to 20.04 LTS

Guillermo Gutiérrez 1876420 at bugs.launchpad.net
Fri May 22 11:00:51 UTC 2020


(In my case using -d is currently updating to focal ;-)

-- 
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/1876420

Title:
  do-release-upgrade -d does not work to upgrade to 20.04 LTS

Status in ubuntu-release-upgrader package in Ubuntu:
  Incomplete

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 at drapion:~$ cat /etc/lsb-release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=18.04
  DISTRIB_CODENAME=bionic
  DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
  ubuntu at drapion:~$ apt-cache policy ca-certificates
  ca-certificates:
    Installed: 20180409
    Candidate: 20180409
    Version table:
   *** 20180409 500
          500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
          500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
          100 /var/lib/dpkg/status
  ubuntu at 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-manager/release-upgrades.
  ubuntu at 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 at drapion:~$ sudo apt-get update && sudo apt-get dist-upgrade -y
  Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
  Hit:2 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
  Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-security InRelease
  Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
  Hit:5 http://archive.ubuntu.com/ubuntu bionic-proposed InRelease
  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-generic-hwe-18.04-edge linux-image-generic-hwe-18.04-edge thermald
  Use 'sudo apt autoremove' to remove them.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  ubuntu at drapion:~$ sudo do-release-upgrade
  Checking for a new Ubuntu release
  Please install all available updates for your release before upgrading.
  ubuntu at 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 at drapion:~$ sudo do-release-upgrade -p
  Checking for a new Ubuntu release
  Please install all available updates for your release before upgrading.

  ubuntu at drapion:~$ sudo dpkg -l |grep upgrade
  ii  python3-distupgrade                    1:18.04.37                                      all          manage release upgrades
  ii  ubuntu-release-upgrader-core           1:18.04.37                                      all          manage release upgrades
  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-release-upgrader-core 1:18.04.37
  ProcVersionSignature: User Name 5.3.0-51.44~18.04.2-generic 5.3.18
  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
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.update-manager.release-upgrades: [modified]
  mtime.conffile..etc.update-manager.release-upgrades: 2020-05-02T05:55:27.831107

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1876420/+subscriptions



More information about the foundations-bugs mailing list