Public bug reported: I have specified an email-address and MailOnlyOnError=true in /etc/apt/apt.conf.d/50unattended-upgrades. I have also a couple of packages blacklisted. However when unattended-upgrades are run (and the only packages eligible for upgrades are blacklisted) I still get an email (see below). I do not consider this situation as an error that warrants an email. Apticron will be used to notify that there are packages available for upgrades and that are not handled by unattended- upgrades.
I haven't yet been in the situation where there are both upgradeable packages and blacklisted packages, so I'm not sure if I will receive an email in that case. Email: Unattended upgrade returned: None Packages that are upgraded: Packages with upgradable origin but kept back: postgresql-client postgresql-client-common Unattended-upgrades log: Initial blacklisted packages: dcache sun- java6-jre sun-java6-jdk sun-java6-bin openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib openjdk-7-jdk openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib postgresql-common postgresql postgresql-8.3 postgresql-8.4 postgresql-9.0 postgresql-9.1 postgresql- client postgresql-client-8.3 postgresql-client-8.4 postgresql-client-9.0 postgresql-client-9.1 postgresql-contrib postgresql-contrib-8.3 postgresql-contrib-8.4 postgresql-contrib-9.0 postgresql-contrib-9.1 libpq5 Starting unattended upgrades script Allowed origins are: ['o=Ubuntu,a=precise-security', 'o=Ubuntu,a=precise-updates', 'o=HPC2N,a='] Packages that are auto removed: '' Packages that are upgraded: ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: unattended-upgrades 0.76 ProcVersionSignature: Ubuntu 3.2.0-31.50-generic 3.2.28 Uname: Linux 3.2.0-31-generic x86_64 NonfreeKernelModules: openafs ApportVersion: 2.0.1-0ubuntu13 Architecture: amd64 Date: Tue Sep 25 12:30:15 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1) PackageArchitecture: all ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_DK.UTF-8 SHELL=/bin/bash SourcePackage: unattended-upgrades UpgradeStatus: Upgraded to precise on 2012-03-02 (206 days ago) modified.conffile..etc.apt.apt.conf.d.50unattended.upgrades: [modified] mtime.conffile..etc.apt.apt.conf.d.50unattended.upgrades: 2012-03-12T20:05:57.072716 ** Affects: unattended-upgrades (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug precise running-unity -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1056104 Title: Sends mail when MailOnlyOnError=true and all upgradeable packages are blacklisted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1056104/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs