Comment 23 for bug 2048921

Revision history for this message
petski (petski) wrote (last edit ):

This change has some undesired side effects:

Our PXE installs, which use the autoinstall feature [1], were based on Ubuntu 22.04.0 (the initial release from April 2022).

This base image has ubuntu-advantage-tools 27.7~22.04.1 on board.

During installation, `unattended-upgrades -v` is executed by curtin, which wants to upgrade to ubuntu-advantage-tools 31.2~22.04

This process end with exitcode 1, probably because ubuntu-advantage-tools is `kept back because a related package is kept back or due to local apt_preferences(5)`.

Because `unattended-upgrades` exits with 1, the install bails out.

Ubuntu 22.04.4 - at this moment the latest point release - has a more modern version of ubuntu-advantage-tools (?), and we don't see that behavior there, .. but... The side effect is that a fresh install now results in an install that (still) needs to do a upgrade:

<snip>
The following NEW packages will be installed:
  ubuntu-pro-client
The following packages will be upgraded:
  ubuntu-advantage-tools ubuntu-pro-client-l10n
2 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
</snip>

[1] https://ubuntu.com/server/docs/install/autoinstall