[Bug 1990450] Re: Show potential Ubuntu Pro updates and apt news messages

Sebastien Bacher 1990450 at bugs.launchpad.net
Thu Nov 23 22:50:34 UTC 2023


@Andreas, sorry for the confusion, let me see if I can help making
things a bit easier to understand

We are trying to land the Pro update feature for a while now. Bug
#2043425 is a problem reported with the current implementation of the
feature. Our PM asked us to not move the current version of the SRU to
-updates but to fix 2043425 first, which is why we tagged the current
bug as verification-failed (to avoid having it moved to updates).

We can't reuse the same revision with new content so we are adding a new
changelog entry with a reference to the issue fixed but that new
revision. Since the current version isn't in -updates we built the
update with -v$current_updates_version since that's technically the
content of what needs to be verified (and the bug here should be
verified again to make sure we didn't introduce a regression since the
fix was verified in the previous revision), I thought that was common
practice?

Since 2043425 is a problem with the changeset of the current -proposed
version we could probably have re-used the same bug number here rather
than listing an extra reference...

Let me know if the explanations are enough to move forward or if you
would prefer to see things changed somehow

-- 
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 and apt news messages

Status in update-manager package in Ubuntu:
  Fix Committed
Status in update-manager source package in Xenial:
  In Progress
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
Status in update-manager source package in Lunar:
  Won't Fix
Status in update-manager source package in Mantic:
  Won't Fix
Status in update-manager source package in Noble:
  Fix Committed

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.

  There is also a new section 'News' showing the apt-news messages if
  there are any available and some layout changes to accommodate for the
  new section

  [Test Case]
  1. Do fresh install of Ubuntu with available updates
  2. Check there are updates available by running:
  $ pro security-status
  Note that updates are only available for older LTS releases.
  If there are no Pro specific updates available, install any package listed in https://esm.ubuntu.com/apps/ubuntu/dists/jammy-apps-security/main/binary-amd64/Packages (without attaching your machine!)
  3. Open update-manager

  -> There should be a 'Ubuntu Pro security updates (Enable in
  Settings...)' section at the bottom of the updates list showing
  disabled and including under it the name of the packages that would be
  available if pro was enabled

  4. start software-properties, go to the ubuntu pro tab and attach to a pro account
  5. close software-properties and restart update-manager

  -> There should be a 'Ubuntu Pro security updates' section at the
  bottom of the updates list showing enabled and including under it
  packages updated provided by pro that can be installed

  6. Check the top of the update-manager dialog

  If there is a message available on the server
  $ curl https://motd.ubuntu.com/aptnews.json
  with a timestamp older than one month

  then a 'news' section should be displayed including the message

  if there isn't a recent post on the server it can be tested locally
  with the steps from #31

  [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