group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #44051
[Bug 1990907] Re: do-release-upgrade fails when ESM packages are installed
This bug was fixed in the package ubuntu-advantage-tools -
27.11.2~22.10.1
---------------
ubuntu-advantage-tools (27.11.2~22.10.1) kinetic; urgency=medium
* New upstream release 27.11.2: (LP: #1991173)
- esm: add the --beta flag back to esm-apps
- messaging: show Ubuntu Pro beta message in apt output
- security-status: don't show esm-apps information when the service is not
enabled
- ros: add the --beta flag back to ros and ros-updates
ubuntu-advantage-tools (27.11.1~22.10.1) kinetic; urgency=medium
* New upstream release 27.11.1: (LP: #1990907)
- Fix release upgrade when ESM packages are installed
+ d/postinst: remove series information from the APT preferences template
+ esm: remove series information from the APT preferences file
-- Renan Rodrigo <renanrodrigo@xxxxxxxxxxxxx> Thu, 29 Sep 2022
16:20:42 -0300
** Changed in: ubuntu-advantage-tools (Ubuntu Kinetic)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1990907
Title:
do-release-upgrade fails when ESM packages are installed
Status in ubuntu-advantage-tools package in Ubuntu:
Fix Released
Status in ubuntu-advantage-tools source package in Xenial:
Fix Committed
Status in ubuntu-advantage-tools source package in Bionic:
Fix Committed
Status in ubuntu-advantage-tools source package in Focal:
Fix Committed
Status in ubuntu-advantage-tools source package in Jammy:
Fix Committed
Status in ubuntu-advantage-tools source package in Kinetic:
Fix Released
Bug description:
[Impact]
With u-a-t 27.11, currently on -proposed, upgrading from Xenial to Bionic fails when unattached.
The reason is: Bionic has some updates available in esm-apps, and the
repositories are present due to the postinst script seeing that the
service is not beta anymore.
However, the preferences file only pins esm for Xenial, and do-release-upgrade:
1. Sees the packages in the Bionic ESM repository
2. Ignores the pinning to 'never'
3. Fails to get those packages - all of them are 401ed
4. Fail to calculate the diffs and exits 1.
Although found and reproducible when upgrading from Xenial to Bionic,
this bug may affect any upgrade across releases where the system is
unattached, and has any given package installed which is present in
the ESM repository of the next release.
[Test Case]
This bug was caught by the ubuntu-advantage-tools integration test suite, once fully executed against the `27.11` version. Re-running using the version in -proposed shows no blockers to the unattached upgrade scenario.
The test case result is pasted as a comment to this bug. I am marking
this bug as verified.
[Regression Potential]
If the files related to Apps existed before, this fix would not be enough to fix those - we would need a postinst script to change them. But as those will only be created when ESM-Apps goes GA, the SRU will have it done before that happens.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1990907/+subscriptions