* Package built successfully, so motd output formatting is correct
* motd output is correct, wrt counting stuff:
(1) ESM disabled [will only happen with new ua client, so not that relevant right now]
root@tt:~# /usr/lib/update-notifier/apt-check --human-readable
Extended Security Maintenance (ESM) is not enabled.
2 updates can be installed immediately.
0 of these updates are security updates.
Enable ESM to receive 5 additional security updates.
See 'ua enable esm' or https://ubuntu.com/esm
(2) ESM enabled
root@tt:~# /usr/lib/update-notifier/apt-check --human-readable
Extended Security Maintenance (ESM) is enabled.
7 updates can be installed immediately.
5 of these updates are provided through ESM.
5 of these updates are security updates.
(3) ESM fully disabled (no sources.list entry)
root@tt:~# ubuntu-advantage disable-esm
Running apt-get update... OK
Ubuntu ESM repository disabled.
root@tt:~# /usr/lib/update-notifier/apt-check --human-readable
2 updates can be installed immediately.
0 of these updates are security updates.
Verified [...]ubuntu6
* Package built successfully, so motd output formatting is correct
* motd output is correct, wrt counting stuff:
(1) ESM disabled [will only happen with new ua client, so not that relevant right now]
root@tt:~# /usr/lib/ update- notifier/ apt-check --human-readable
Extended Security Maintenance (ESM) is not enabled.
2 updates can be installed immediately.
0 of these updates are security updates.
Enable ESM to receive 5 additional security updates. /ubuntu. com/esm
See 'ua enable esm' or https:/
(2) ESM enabled
root@tt:~# /usr/lib/ update- notifier/ apt-check --human-readable
Extended Security Maintenance (ESM) is enabled.
7 updates can be installed immediately.
5 of these updates are provided through ESM.
5 of these updates are security updates.
(3) ESM fully disabled (no sources.list entry)
root@tt:~# ubuntu-advantage disable-esm update- notifier/ apt-check --human-readable
Running apt-get update... OK
Ubuntu ESM repository disabled.
root@tt:~# /usr/lib/
2 updates can be installed immediately.
0 of these updates are security updates.