2019-08-30 23:20:40 |
Balint Reczey |
bug |
|
|
added bug |
2019-08-30 23:33:54 |
Balint Reczey |
summary |
Please suggest running apt update & apt upgrade in MOTD, list of available packages is old |
Please suggest running apt update & apt upgrade in MOTD when list of available packages is old |
|
2019-08-31 12:44:10 |
Francis Ginther |
tags |
|
id-5ca609ba6cd52782e994a6e1 |
|
2019-09-02 08:10:30 |
Will Cooke |
bug |
|
|
added subscriber Will Cooke |
2019-09-12 08:13:14 |
Balint Reczey |
branch linked |
|
lp:~rbalint/update-notifier/motd-stale-pkglist |
|
2019-11-01 14:21:07 |
Balint Reczey |
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.
... |
[Impact]
* Users don't have up to date information about available updates when network connectivity or other issues prevented automated apt updates.
* It is desired to give the user accurate and up to date information about available updates or warn them if the information is outdated.
* The fix notifies user about stale updates information in MOTD
[Test Case]
* Install update-motd and the the fixed package.
* Observe the output of sudo update-motd printing the usual output
* "Date back" the updates information:
$ sudo touch -t 01010101 /var/lib/update-notifier/updates-available
* Observe the output of sudo update-motd printing warning about outdated update information.
* Remove the updates information:
$ sudo rm /var/lib/update-notifier/updates-available
* Observe the output of sudo update-motd printing warning about outdated update information.
[Regression Potential]
* An error may be printed in MOTD or the warning message may appear needlessly in case of making a mistake in implementing the fix.
[Original Bug Text]
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.
... |
|
2019-11-01 14:21:17 |
Balint Reczey |
nominated for series |
|
Ubuntu Bionic |
|
2019-11-01 14:21:17 |
Balint Reczey |
bug task added |
|
update-notifier (Ubuntu Bionic) |
|
2019-11-01 14:21:17 |
Balint Reczey |
nominated for series |
|
Ubuntu Xenial |
|
2019-11-01 14:21:17 |
Balint Reczey |
bug task added |
|
update-notifier (Ubuntu Xenial) |
|
2019-11-01 14:21:17 |
Balint Reczey |
nominated for series |
|
Ubuntu Eoan |
|
2019-11-01 14:21:17 |
Balint Reczey |
bug task added |
|
update-notifier (Ubuntu Eoan) |
|
2019-11-01 14:21:17 |
Balint Reczey |
nominated for series |
|
Ubuntu Disco |
|
2019-11-01 14:21:17 |
Balint Reczey |
bug task added |
|
update-notifier (Ubuntu Disco) |
|
2019-11-02 12:49:03 |
Francis Ginther |
tags |
id-5ca609ba6cd52782e994a6e1 |
id-5ca609ba6cd52782e994a6e1 id-5d78fc6cca6d1b77a77952cc |
|
2019-12-05 23:53:43 |
Launchpad Janitor |
update-notifier (Ubuntu): status |
New |
Fix Released |
|
2019-12-07 09:00:19 |
Balint Reczey |
tags |
id-5ca609ba6cd52782e994a6e1 id-5d78fc6cca6d1b77a77952cc |
id-5ca609ba6cd52782e994a6e1 id-5d78fc6cca6d1b77a77952cc wsl |
|
2019-12-09 17:33:27 |
Łukasz Zemczak |
update-notifier (Ubuntu Eoan): status |
New |
Fix Committed |
|
2019-12-09 17:33:29 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-12-09 17:33:32 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2019-12-09 17:33:36 |
Łukasz Zemczak |
tags |
id-5ca609ba6cd52782e994a6e1 id-5d78fc6cca6d1b77a77952cc wsl |
id-5ca609ba6cd52782e994a6e1 id-5d78fc6cca6d1b77a77952cc verification-needed verification-needed-eoan wsl |
|
2019-12-16 14:14:26 |
Balint Reczey |
tags |
id-5ca609ba6cd52782e994a6e1 id-5d78fc6cca6d1b77a77952cc verification-needed verification-needed-eoan wsl |
id-5ca609ba6cd52782e994a6e1 id-5d78fc6cca6d1b77a77952cc verification-done verification-done-eoan wsl |
|
2019-12-17 16:45:59 |
Launchpad Janitor |
update-notifier (Ubuntu Eoan): status |
Fix Committed |
Fix Released |
|
2019-12-17 16:46:09 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-07-02 19:57:54 |
Steve Langasek |
update-notifier (Ubuntu Disco): status |
New |
Won't Fix |
|