[Bug 1842159] [NEW] Please suggest running apt update & apt upgrade in MOTD, list of available packages is old
Balint Reczey
balint.reczey at canonical.com
Fri Aug 30 23:20:40 UTC 2019
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
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/1842159
Title:
Please suggest running apt update & apt upgrade in MOTD, list of
available packages is old
Status in update-notifier package in Ubuntu:
New
Bug description:
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.
...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1842159/+subscriptions
More information about the foundations-bugs
mailing list