group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #44057
[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~16.04.1
---------------
ubuntu-advantage-tools (27.11.2~16.04.1) xenial; urgency=medium
* Backport new upstream release: (LP: #1991173) to xenial
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
ubuntu-advantage-tools (27.11~22.10.1) kinetic; urgency=medium
* d/control:
- Update VCS references
* d/links:
- add usr/bin/pro as an alias to ubuntu-advantage
* d/postinst:
- include root_mode parameter when creating UAConfig instances
- change calls to add_notice to notice_file.add
- create public machine-token file if it does not exist
* New upstream release 27.11 (LP: #1989279)
- api:
+ new `pro api` command to access the public client API
+ 'version' endpoint returning version information
+ 'should auto attach' endpoint informing if a system should run
auto-attach on startup
+ 'full auto attach' endpoint performing auto-attach
+ 'magic attach' endpoints for the Magic Attach flow
- auto-attach:
+ better errors for invalid pro images (GH: #2180, #1833)
+ don't detach on already auto-attached instances
+ no-op when ubuntu-advantage information is present on cloud-init
userdata
+ change systemd unit to run after cloud-config
- cli:
+ cli: better error message on unrecognized flags (GH: #672)
- collect-logs:
+ can now be executed as a non-root user
+ is executed automatically and result is appended when using apport to
report a bug
- docs: now formatted to be built with sphinx, and published in readthedocs
- enable:
+ new access-only flag for usecases where auto-install is undesired
+ fix apt auth line replacement (LP: #1985863)
- esm-apps: generally available as non-beta as part of Ubuntu Pro
- fix: check if livepatch has already fixed a CVE before attempting a fix
- jobs: new timer job to check if the release reached end of support
- pro:
+ Ubuntu Pro is released as a product
+ make `pro` the recommended executable for the client
+ client, apt and motd messages updated/rewritten to show Pro
information
+ base URL changed from /advantage to /pro
+ ESM services renamed as part of Pro
- ros: released as a non-beta entitlement
- security-status
+ does not require the --format flag anymore
+ human readable output added based on ubuntu-security-status
+ machine readable output contains CVEs fixed by Livepatch
+ package counts include all esm-infra and esm-apps repositories
- status:
+ don't show unavailable services by default (GH: #2156, #2159)
+ expiry date formatted based on timezone (GH: #695)
+ non-root users get the current status instead of a cached version
+ --wait flag now working for non-root users
- version: warn about new available versions of the client in CLI command
output and API calls
-- Renan Rodrigo <renanrodrigo@xxxxxxxxxxxxx> Thu, 29 Sep 2022
18:22:54 -0300
** Changed in: ubuntu-advantage-tools (Ubuntu Xenial)
Status: Fix Committed => 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 Released
Status in ubuntu-advantage-tools source package in Bionic:
Fix Released
Status in ubuntu-advantage-tools source package in Focal:
Fix Released
Status in ubuntu-advantage-tools source package in Jammy:
Fix Released
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