How to disable release upgrade notification emails? - Ask Ubuntu


i have ubuntu 14.04 server installation consistently sends weekly email, root user, following content:

/etc/cron.weekly/update-notifier-common: new release '16.04.1 lts' available. run 'do-release-upgrade' upgrade it. 

how stop these emails, without upgrading 16.04? there method doesn't involve disabling script mentioned in first line of email?

ideally i'd allow /etc/cron.weekly/update-notifier-common continue run, calling /usr/lib/ubuntu-release-upgrader/release-upgrade-motd , /usr/lib/ubuntu-release-upgrader/check-new-release scripts, stop new release messages. useful these scripts still warn if current release becomes eol.

by default cron sends mail email address mentioned in mailto environment variable on crontab, presumably have set email address, stdout/stderr cron job sent email address.

the output /usr/lib/ubuntu-release-upgrader/release-upgrade-motd script (run weekly job /etc/cron.weekly/update-notifier-common) checks new version, , dump content of /var/lib/ubuntu-release-upgrader/release-upgrade-available file.

you have few options:

  • disable job

  • redirect stdout/stderr script /dev/null

  • set mailto="" no mail sent. /usr/sbin/anacron exists script run anacron, setting in /etc/anacrontab too.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User