Code review comment for lp:~rbalint/update-notifier/motd-stale-pkglist

Revision history for this message
Balint Reczey (rbalint) wrote :

Now the output looks like this:

---
root@ee-motd:~# update-motd
Welcome to Ubuntu Eoan Ermine (development branch) (GNU/Linux 5.0.0-27-generic x86_64)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/advantage

  System information as of Thu Sep 19 15:12:29 UTC 2019

  System load: 3.13 Processes: 28
  Usage of /home: unknown Users logged in: 0
  Memory usage: 0% IP address for eth0: 10.84.73.224
  Swap usage: 93%

0 updates can be installed immediately.
0 of these updates are security updates.

root@ee-motd:~# touch -t 01010101 /var/lib/update-notifier/updates-available
root@ee-motd:~# update-motd
Welcome to Ubuntu Eoan Ermine (development branch) (GNU/Linux 5.0.0-27-generic x86_64)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/advantage

  System information as of Thu Sep 19 15:12:55 UTC 2019

  System load: 2.89 Processes: 28
  Usage of /home: unknown Users logged in: 0
  Memory usage: 0% IP address for eth0: 10.84.73.224
  Swap usage: 93%

0 updates can be installed immediately.
0 of these updates are security updates.

The list of available updates is more than a week old.
To check for new updates run: sudo apt update

root@ee-motd:~# rm /var/lib/update-notifier/updates-available
root@ee-motd:~# update-motd
Welcome to Ubuntu Eoan Ermine (development branch) (GNU/Linux 5.0.0-27-generic x86_64)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/advantage

  System information as of Thu Sep 19 15:13:16 UTC 2019

  System load: 2.35 Processes: 28
  Usage of /home: unknown Users logged in: 0
  Memory usage: 0% IP address for eth0: 10.84.73.224
  Swap usage: 93%

The list of available updates is more than a week old.
To check for new updates run: sudo apt update

---

« Back to merge proposal