Comment 0 for bug 1993006

Revision history for this message
Grant Orndorff (orndorffgrant) wrote :

[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://wiki.ubuntu.com/UbuntuAdvantageToolsUpdates

The ubuntu-advantage-tools team will be in charge of attaching the artifacts and console output of the appropriate run to the bug. ubuntu-advantage-tools team members will not mark ‘verification-done’ until this has happened.

[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://bugs.launchpad.net/ubuntu/+source/apt/+bug/1992472

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]

Incoming...