[Bug 1641671] Re: Cronjob /etc/cron.daily/update-notifier-common sends too many e-mail messages

Julian Andres Klode 1641671 at bugs.launchpad.net
Thu Jun 21 09:31:00 UTC 2018


artful (3.186.2 -> 3.186.3) and xenial (3.168.8->3.189.9) too


$ bash rep artful
+ lxc launch -e ubuntu:artful lp1641671-artful
Creating lp1641671-artful
Starting lp1641671-artful
+ lxc exec lp1641671-artful -- sh -c 'add-apt-repository multiverse && sleep 10 && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -q -y install ttf-mscorefonts-installer'                                                                                                       
+ lxc exec lp1641671-artful -- sh -c 'apt-cache policy update-notifier-common | grep Installed && /etc/cron.daily/update-notifier-common'
  Installed: 3.186.2
ttf-mscorefonts-installer: processing...
+ lxc exec lp1641671-artful -- sh -c 'echo deb http://archive.ubuntu.com/ubuntu artful-proposed main >> /etc/apt/sources.list && apt-get update && apt-get install update-notifier-common'                                                                                                 
dpkg-preconfigure: unable to re-open stdin: No such file or directory
+ lxc exec lp1641671-artful -- sh -c 'apt-cache policy update-notifier-common | grep Installed && /etc/cron.daily/update-notifier-common'
  Installed: 3.186.3
+ lxc stop lp1641671-artful
$ bash rep xenial
+ lxc launch -e ubuntu:xenial lp1641671-xenial
Creating lp1641671-xenial
Starting lp1641671-xenial
+ lxc exec lp1641671-xenial -- sh -c 'add-apt-repository multiverse && sleep 10 && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -q -y install ttf-mscorefonts-installer'                                                                                                       
+ lxc exec lp1641671-xenial -- sh -c 'apt-cache policy update-notifier-common | grep Installed && /etc/cron.daily/update-notifier-common'
  Installed: 3.168.8
ttf-mscorefonts-installer: processing...
+ lxc exec lp1641671-xenial -- sh -c 'echo deb http://archive.ubuntu.com/ubuntu xenial-proposed main >> /etc/apt/sources.list && apt-get update && apt-get install update-notifier-common'
dpkg-preconfigure: unable to re-open stdin: No such file or directory
+ lxc exec lp1641671-xenial -- sh -c 'apt-cache policy update-notifier-common | grep Installed && /etc/cron.daily/update-notifier-common'
  Installed: 3.168.9
+ lxc stop lp1641671-xenial


** Tags removed: verification-needed verification-needed-artful verification-needed-xenial
** Tags added: verification-done verification-done-artful verification-done-xenial

-- 
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/1641671

Title:
  Cronjob /etc/cron.daily/update-notifier-common sends too many e-mail
  messages

Status in One Hundred Papercuts:
  Confirmed
Status in update-notifier package in Ubuntu:
  Fix Released
Status in update-notifier source package in Xenial:
  Fix Committed
Status in update-notifier source package in Artful:
  Fix Committed
Status in update-notifier source package in Bionic:
  Fix Committed

Bug description:
  [Impact]
  Noisy cron job for no-change processing

  [Test case]
  1. Install ttf-mscorefonts-installer, deny license
  2. Run /etc/cron.daily/update-notifier-common

  Should not show a processing message for it.

  [Regression potential]
  Error messages might be a bit harder to read.

  [Original bug report]
  I'm getting this over and over and over in email:

  Subject: Anacron job 'cron.daily' on [hostname]

  /etc/cron.daily/update-notifier-common:
  ttf-mscorefonts-installer: processing...

  That's the whole message.

  Please make it stop. ;-)

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: ttf-mscorefonts-installer 3.4+nmu1ubuntu2
  ProcVersionSignature: Ubuntu 4.4.0-47.68-generic 4.4.24
  Uname: Linux 4.4.0-47-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Nov 14 12:04:53 2016
  InstallationDate: Installed on 2016-01-16 (303 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  PackageArchitecture: all
  SourcePackage: msttcorefonts
  UpgradeStatus: Upgraded to xenial on 2016-04-28 (200 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1641671/+subscriptions



More information about the foundations-bugs mailing list