group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #44650
[Bug 2002168] Re: apt-check needs to consider the pro client's esm cache for updates when esm is disabled
This bug was fixed in the package update-notifier - 3.192.1.18
---------------
update-notifier (3.192.1.18) bionic; urgency=medium
* po/*.po: do no translate template variable needed for
package-data-downloader script (LP: #2003543)
* Bring generated autoconf files from the archive package (LP: #1999897)
update-notifier (3.192.1.16) bionic; urgency=medium
[ Renan Rodrigo Barbosa]
* Rely on the Pro Client apt esm cache to check for esm updates
(LP: #2002168)
-- Lucas Moura <lucas.moura@xxxxxxxxxxxxx> Fri, 20 Jan 2023 16:25:17
-0300
** Changed in: update-notifier (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/2002168
Title:
apt-check needs to consider the pro client's esm cache for updates
when esm is disabled
Status in update-notifier package in Ubuntu:
Fix Released
Status in update-notifier source package in Xenial:
Fix Released
Status in update-notifier source package in Bionic:
Fix Released
Status in update-notifier source package in Focal:
Fix Released
Status in update-notifier source package in Jammy:
Fix Released
Status in update-notifier source package in Lunar:
Fix Released
Bug description:
[ Impact ]
Currently, the Pro Client sets up ESM sources in the system's APT
configuration to advertise ESM updates even when the service is
disabled. This is undesired, as described in
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-
tools/+bug/1990378
The next version of ubuntu-advantage-client will not bring this
configuration anymore, and will remove it from systems where it
exists.
Update Notifier relies on those unauthenticated ESM sources. It needs
instead to rely on the Pro Client ESM apt cache to provide this
information.
If this is not changes, users will not see any ESM update or
advertisement if they don't have the services enabled.
The change in the reporting strategy will land in ubuntu-advantage-
tools and will be SRUed back to Xenial, Bionic, Focal and Jammy.
[ Test Plan ]
In a Ubuntu LTS system (Xenial for esm-infra, bionic/focal for esm-apps):
- Verify that the ubuntu-advantage-tools version installed is greater than 27.12
- Verify that no ESM updates are reported when running /usr/lib/update-notifier/apt-check --human-readable
- Install a version of update-notifier with the change (from -proposed, or from the MR branch if not uploaded yet)
- Verify that ESM updates are when running /usr/lib/update-notifier/apt-check --human-readable
[ Where problems could occur ]
In the event of the change being implemented in a wrong/incomplete
way, the side-effect is that users would not see the ESM updates, same
as not implementing the change. However, it is simple enough to verify
if this happens, and it is highly improbable that it does.
[ Other Info ]
Instead of reading the esm apt cache from the Pro Client, update-
notifier could query the 'packages' API provided in the Client itself.
However, for that to happen, it would make sense for the package to
depend (or at least recommend) ubuntu-advantage-tools.
Even using the esm apt cache would be a fair reason for update-
notifier to recommend ubuntu-advantage-tools - but it is the same kind
of coupling (relying on implementation) as reading the "never" pin
from esm repositories, so there is no hard requirement to add the soft
dependency.
There is no upload to Kinetic because there are no ESM packages there.
There is no report of ESM data today, and there will be no report even
if this lands there.
For future changes, we want to redesign how this interaction between
ubuntu-advantage-tools and update-notificer works, and then the
definitive solution should land on all supported releases.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/2002168/+subscriptions