[Bug 1824862] Re: Enable upgrading from 12.04 to 14.04 while keeping ESM enabled
Launchpad Bug Tracker
1824862 at bugs.launchpad.net
Mon May 6 18:18:29 UTC 2019
This bug was fixed in the package ubuntu-release-upgrader - 1:0.220.11
---------------
ubuntu-release-upgrader (1:0.220.11) trusty; urgency=medium
* DistUpgradeController.py: Handle the transition of ESM during the release
upgrade. (LP: #1824862)
* DistUpgrade/build-tarball.sh: include ESM archive's gpg key.
* mirrors.cfg: add in esm.ubuntu.com as an official mirror, update mirrors.
-- Brian Murray <brian at ubuntu.com> Wed, 01 May 2019 15:09:41 -0700
** Changed in: ubuntu-release-upgrader (Ubuntu Trusty)
Status: Fix Committed => Fix Released
--
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/1824862
Title:
Enable upgrading from 12.04 to 14.04 while keeping ESM enabled
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
Status in ubuntu-release-upgrader source package in Trusty:
Fix Released
Bug description:
[Impact]
While it is possible to upgrade from 12.04 w/ ESM enabled to 14.04 the ESM archive is disabled thereby making customers vulnerable (since 14.04 is no long receiving security updates) until they reenable the ESM archive.
[Test Case]
1. run 'sudo ubuntu-advantage enable-esm $USER:$PASSWORD'
2. edit /etc/update-manager/release-upgrades set Prompt=lts
3. run 'do-release-upgrade'
4. observe "third party entries in your sources.list were disabled" message
also check /var/log/dist-upgrade/main.log for the following line:
2019-05-02 10:22:28,345 DEBUG examining: 'deb https://hidden-u:hidden-p@esm.ubuntu.com/ubuntu precise main'
2019-05-02 10:22:28,346 DEBUG entry '# deb https://hidden-u:hidden-p@esm.ubuntu.com/ubuntu trusty main # disabled on upgrade to trusty' was disabled (unknown mirror)
with the version of the release upgrader in -proposed you won't receive the disabled message and will see the following in main.log:
2019-05-02 11:56:58,856 DEBUG examining: 'deb https://hidden-u:hidden-p@esm.ubuntu.com/ubuntu precise-security main'
2019-05-02 11:56:58,856 DEBUG entry 'deb https://hidden-u:hidden-p@esm.ubuntu.com/ubuntu trusty-security main' updated to new dist
(Yes, that really says precise-security it's part of the hack to switch pockets.)
[Regression Potential]
Because the sources.list entries are manipulated to switch pockets from the precise release one to trusty -security and -updates is possible this change would persist if someone were to cancel the upgrade. So we should test that cancelling the upgrade doesn't modify (by switching pockets) your /etc/apt/sources.list.d/esm* file.
We now have an LTS to LTS where both have ESM. Therefore we should be
testing a system with ESM installed on Precise and then upgrade to
Trusty ESM.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1824862/+subscriptions
More information about the foundations-bugs
mailing list