[Bug 1990450] Re: Show potential Ubuntu Pro updates

Sebastien Bacher 1990450 at bugs.launchpad.net
Thu Jan 26 07:37:51 UTC 2023


I tested 1:18.04.11.15 on a xubuntu bionic system where I downgraded
ntfs3g to be able to see the 'update available' UI from update-manager

There is a cosmectic issue where the '>' sign is displayed over the
checkbox but more important, the items associated to the few updates
available in the esm-apps repository are displayed as empty lines and
selecting one displays those exceptions

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 289, in __getitem__
    return self._weakref[key]
  File "/usr/lib/python3.6/weakref.py", line 137, in __getitem__
    o = self.data[key]()
KeyError: ''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 292, in __getitem__
    rawpkg = self._cache[key]
KeyError: ''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/MyCache.py", line 371, in get_news_and_changelog
    self.get_changelog(name)
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/MyCache.py", line 426, in get_changelog
    origins = self[name].candidate.origins
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 294, in __getitem__
    raise KeyError('The cache has no package named %r' % key)
KeyError: "The cache has no package named ''"


apt displays the right information

The following security updates require Ubuntu Pro with 'esm-apps' enabled:
  libopenjp2-7 libzmq5 libopenmpt0 libsoundtouch1 libmysofa0
Learn more about Ubuntu Pro at https://ubuntu.com/pro


I'm marking the SRU verification as failed at least on bionic

** Tags removed: verification-needed-bionic
** Tags added: verification-failed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1990450

Title:
  Show potential Ubuntu Pro updates

Status in update-manager package in Ubuntu:
  Fix Released
Status in update-manager source package in Xenial:
  New
Status in update-manager source package in Bionic:
  Fix Committed
Status in update-manager source package in Focal:
  Fix Committed
Status in update-manager source package in Jammy:
  Fix Committed
Status in update-manager source package in Kinetic:
  Fix Released

Bug description:
  [Impact]
  Show the Ubuntu Pro (aka Ubuntu Advantage) updates that would be enabled if you attached this machine. This information is not currently shown.

  The new revision also update the reference to the Software Properties'
  Livepatch tab which doesn't exist anymore since bug #2003527 and was
  replaced by Ubuntu Pro.

  [Test Case]
  1. Do fresh install of Ubuntu.
  2. Check there are updates available by running:
  $ pro security-status
  Note that updates are only available for older LTS releases.
  3. Open update-manager

  Expected result:
  Updates from step 2 are shown as available.

  [Regression Potential]
  Possibility of introducing new bugs.

  The new livepatch->ubuntu pro string change will not be translated
  until the next language pack refresh

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1990450/+subscriptions




More information about the foundations-bugs mailing list