When I ssh into my Ubuntu 18.04 box I get the motd
1 update could not be installed automatically
Which goes on to tell me to check the unattended-upgrades log.
The log shows no problems. How can I clear this bogus message?
When I ssh into my Ubuntu 18.04 box I get the motd
1 update could not be installed automatically
Which goes on to tell me to check the unattended-upgrades log.
The log shows no problems. How can I clear this bogus message?
OK, it wasn't bogus.
Turns out the script
/etc/update-motd.d/92-unattended-upgrades
produces this message at login.
This script references
/usr/share/unattended-upgrades/update-motd-unattended-upgrades
which in turn looks at the contents of
/var/lib/unattended-upgrades/kept-back
In my case this last file was non-blank because
unattended-upgrades
tried to updatevino
, which I have pinned to an old version on this Lubuntu box, because the latest version removes the options dialog.Deleting
/var/lib/unattended-upgrades/kept-back
made the message go away - but only till the next timeunattended-upgrades
ran.But there was nothing in the logs that it told me to reference about it!!