[Bug 1692092] Re: not possible to upgrade from Xenial and jump over an unsupported release

Brian Murray brian at ubuntu.com
Mon May 22 18:22:06 UTC 2017


I updated the meta-release-proposed file on the server to point at the
dist-upgrader in zesty-proposed and then ran through the test from the
test case. I had to modify the cached meta-release-proposed file (since
the we are verifying an SRU in -proposed) on my system to verify the SRU
but after that the test passed.

bdmurray at clean-xenial-amd64:~$ do-release-upgrade -p
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [836 B]
Get:2 Upgrade tool [1,265 kB]
Fetched 1,266 kB in 0s (0 B/s)
authenticate 'yakkety.tar.gz' against 'yakkety.tar.gz.gpg'
extracting 'yakkety.tar.gz'


[screen is terminating]
bdmurray at clean-xenial-amd64:~$ vi ~/.cache/update-manager-core/meta-release-proposed
bdmurray at clean-xenial-amd64:~$ do-release-upgrade -p
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [836 B]
Get:2 Upgrade tool [1,268 kB]  
Fetched 1,269 kB in 0s (0 B/s) 
authenticate 'zesty.tar.gz' against 'zesty.tar.gz.gpg'
extracting 'zesty.tar.gz'

Additionally, when using the zesty tarball I did not receive an error
about the upgrade path being unsupported.

** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  not possible to upgrade from Xenial and jump over an unsupported
  release

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Released
Status in ubuntu-release-upgrader source package in Zesty:
  Fix Committed

Bug description:
  With the changes to update-manager in bug 1497024 it should be
  possible to upgrade from Ubuntu 16.04 to 17.04 (provided 16.10 is End
  of Life). While update-manager will download the zesty.tar.gz file it
  will not run and will instead say "An upgrade from 'X' to 'Z' is not
  supported with this tool." This is because ubuntu-release-upgrader has
  not been configured to upgrade from 16.04 to 17.04.

  [Test Case]
  1) Run do-release-upgrade (notice it download yakkety.tar.gz)
  2) Set yakkety to unsupported in ~/.cache/update-manager-core/meta-release
  3) Run do-release-upgrade again (notice it download zesty.tar.gz)

  With the dist-upgrader tarball currently available you'll receive an
  error message about the upgrade path being unsupported. With the
  version of the dist-upgrader tarball in proposed (accessible by
  running do-release-upgrade -p and modifying meta-release-proposed in
  the cache folder) you will not receive that error message.

  [Regression Potential]
  It's possible the upgrade won't work for people, but I'll be watching out for issues and its better than we resolve upgrade issues now rather then when people are upgrading from LTS to LTS.

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



More information about the foundations-bugs mailing list