[Bug 1558270] Re: [Ubuntu 16.04] update-notifier motd doesn't update with apt full-upgrade
Brian Murray
brian at ubuntu.com
Fri Mar 18 20:09:36 UTC 2016
I wonder if this is due to the change in update-notifier version 3.165
which makes "NEED_UPDATE_CHECK=no".
https://launchpadlibrarian.net/235427143/update-
notifier_3.164_3.165.diff.gz
--
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/1558270
Title:
[Ubuntu 16.04] update-notifier motd doesn't update with apt full-
upgrade
Status in update-notifier package in Ubuntu:
New
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://help.ubuntu.com/
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/motd.dynamic
session optional pam_motd.so noupdate
I tried to comment the second line but nothing happened.
And I also tried to delete "/run/motd.dynamic", hoping that this file will be created again with updated information. But it does not.
== 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-notifier-common.
To get rid of these annoying messages just remove the package update-notifier-common, though it is designed to be used on desktop systems and is therefore not necessary on server systems like System z.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1558270/+subscriptions
More information about the foundations-bugs
mailing list