[SRU] ubuntu-advantage-tools (27.11.2 -> 27.11.3) Xenial, Bionic, Focal, Jammy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
This release includes both bug-fixes and new features and we would like to make sure all of our supported customers have access to these
improvements. The notable ones are:
* Changing the Ubuntu Pro beta banner in apt output to a generic "APT
news" announcement banner
* "APT news" will only appear when using `apt` (so it won't appear when
using `apt-get`)
* Adding a new command to permanently disable current and future "APT
news": `pro config set apt_news=false`
See the changelog entry below for a full list of changes and bugfixes.
[Test Case]
The following development and SRU process will be followed: https:/
The ubuntu-
[Regression Potential]
If anyone's scripts have changed in the past couple weeks to expect the Ubuntu Pro banner in the current location, they may break again.
Touching postinst is always a relatively risky change. In this case it is necessary to migrate the old banner to the new banner and to fix some file permissions. If we made a mistake somewhere, it could cause failures during an apt upgrade to this version.
[Discussion]
Unfortunately, this will still output APT news when -q/-qq/-qqq is passed to apt. This is because apt hooks aren't aware of what options are set. The apt bug for this is here https:/
Because we are now limiting APT news to only the `apt` binary, `apt-get` should be safe to use without worrying about extra messages.
APT news lines will always begin with "#" so it should hopefully be straightforward to parse out if necessary.
[Changelog]
- d/postinst: remove the Ubuntu Pro beta apt message and set up the
configurable flag for "APT news" instead
- collect-logs: do not fail if a file cannot be read (LP: #1991858)
- config: add a flag to disable "APT news" (LP: 1992026)
- messaging: add announcement of "APT news" to apt output
- messaging: only show "APT news" when using apt binary (GH: #2288)
- version: fix permissions on tmp version file (GH: #2294)
description: | updated |
description: | updated |
Hello Grant, or anyone else affected,
Accepted ubuntu- advantage- tools into jammy-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ ubuntu- advantage- tools/27. 11.3~22. 04.1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification- needed- jammy to verification- done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- jammy. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.