Public bug reported:
When logging into a system where the package list is not updated for
long time (for example because is offline) I may see:
...
0 updates can be installed immediately.
0 of these updates are security updates.
..
Which is true, but the user may think that there are no available
updates released.
Also, if the /var/lib/update-notifier/updates-available is missing
(which can happen due to network connectivity issues of due to bugs)
there is no mention of updates in MOTD.
If the /var/lib/update-notifier/updates-available is older than a few
days (weeks?) or it is missing and the packages list is older than a few
days (weeks?) please recommend running apt update & upgrade in the MOTD
snippet:
...
The list of available updates is not refreshed in N days.
Please run "sudo apt update" and then "sudo apt upgrade" to
keep your system up to date.
...
** Affects: update-notifier (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1842159
Title:
Please suggest running apt update & apt upgrade in MOTD, list of
available packages is old
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1842159/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs