[Ubuntu 16.04] update-notifier motd doesn't update with apt full-upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
Unassigned | ||
update-notifier (Ubuntu) |
Fix Released
|
Undecided
|
Dimitri John Ledkov |
Bug Description
== Comment: #0 - Thorsten Winkler - 2016-03-16 06:59:10 ==
Logging in into Ubuntu shows the MOTD (message of the day) which again shows how many packages still could be updated.
---------
For example:
Welcome to Ubuntu Xenial Xerus (development branch) (GNU/Linux 4.4.0-11-generic s390x)
* Documentation: https:/
7 packages can be updated.
0 updates are security updates.
---------
After "apt-get update" and "apt-get upgrade", then rebooting the system, this message still appears although now no package is available to update. That is sometimes confusing a little bit.
Here the config of /etc/pam.d/login:
session optional pam_motd.so motd=/run/
session optional pam_motd.so noupdate
I tried to comment the second line but nothing happened.
And I also tried to delete "/run/motd.
== Comment: #1 - Thorsten Diehl - 2016-03-16 09:19:57 ==
After apt-get upgrade, apt-get dist-upgrade or aptitude the status of the number of updateable packages should be recalculated.
== Comment: #3 - Maxim Shchetynin - 2016-03-16 13:11:56 ==
These messages are generated by some Python script belonging to the package update-
To get rid of these annoying messages just remove the package update-
Related branches
- Dennis Kaarsemaker: Pending requested
- Diff: 0 lines
tags: | added: architecture-s39064 bugnameltc-139140 severity-low targetmilestone-inin--- |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → update-notifier (Ubuntu) |
Changed in update-notifier (Ubuntu): | |
assignee: | Skipper Bug Screeners (skipper-screen-team) → Dimitri John Ledkov (xnox) |
Changed in update-notifier (Ubuntu): | |
status: | New → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | New → In Progress |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Released |
importance: | Undecided → Medium |
This message is not cleared at the end of "apt fullinstall" but they are cleared when update notifier runs again. It is a cosmetic issue.
It is wrong to assume that update-notifier is not needed on the server, it implements reboot notifications, upgrade notifications, security notifications as well as propagates the data into landscape. canonical. com (or self-hosted instance) for remote monitoring and upgrades.