[Bug 1842159] Re: Please suggest running apt update & apt upgrade in MOTD when list of available packages is old

Kenneth Kolano 1842159 at bugs.launchpad.net
Wed Sep 18 15:43:11 UTC 2019


It seems the update counts generally may not be populated correctly on
initial login.

Under 19.04 I'm currently seeing these counts on initial login...

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

...but then immediately after login...

sudo cat /var/lib/update-notifier/updates-available

66 updates can be installed immediately.
8 of these updates are security updates.

-- 
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  when 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