[Bug 1990450] Re: Show potential Ubuntu Pro updates
Sebastien Bacher
1990450 at bugs.launchpad.net
Fri Sep 22 15:50:02 UTC 2023
Sharing some tip to try the news feature if there isn't a news available
on the server
$ sudo apt install nginx
$ sudo sed -i "s/gzip on;/gzip on;\n\tgzip_min_length 1;\n\tgzip_types application\/json;\n/" /etc/nginx/nginx.conf
$ sudo systemctl restart nginx
$ sudo pro config set apt_news_url=http://localhost:80/aptnews.json
$ sudo editor /var/www/html/aptnews.json
using the content
{
"messages": [
{
"begin": "2023-09-03T00:00:00Z",
"lines": [
"You can verify the status of security fixes using the `pro fix` command.",
"E.g., a recent Ruby vulnerability can be checked with: `pro fix USN-6219-1`",
"For more detail see: https://ubuntu.com/security/notices/USN-6219-1"
]
}
]
}
** Description changed:
[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
+
[Test Case]
- 1. Do fresh install of Ubuntu.
+ 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.
3. Open update-manager
- Expected result:
- Updates from step 2 are shown as available.
+ -> 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 should could be enable
+ if pro was enabled
- Check also the UI layout, Ubuntu Pro widgets should not collide and be
- aligned with the other sections
+ 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
+
[Regression Potential]
Possibility of introducing new bugs.
The new livepatch->ubuntu pro string change will not be translated until
the next language pack refresh
** Description changed:
[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
[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.
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 should could be enable
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
--
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:
In Progress
Status in update-manager source package in Bionic:
In Progress
Status in update-manager source package in Focal:
In Progress
Status in update-manager source package in Jammy:
In Progress
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.
There is also a new section 'News' showing the apt-news messages if
there are any available
[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.
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 should could
be enable 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