GagA// 0n D nEt

It is currently Sat Feb 24, 2018 11:55 pm

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Debian / Ubuntu: Get email notifications for package updates
PostPosted: Tue Mar 24, 2009 11:08 am 

Joined: Wed Jul 18, 2007 1:14 am
Posts: 181
Debian/Ubuntu users might be aware of the use of apt-get for installing packages and applying critical server updates. However you may find a need to be updated about some security updates or any latest packages via email, when away from your desktop/server.

You can get this option available with the use of apticron.

Installing apticron

Install apticron via the apt-get sources:
[email protected]:~# apt-get install apticron

Configuring apticron to send email notifications

You can modify the configurations of apticron in the following file:
[email protected]:~# vim /etc/apticron/apticron.conf

Modify the EMAIL variable replacing the default address of 'root' with the one where you want the emails to be sent:

Sample configuration file given below:
# apticron.conf
# set EMAIL to a list of addresses which will be notified of impending updates
EMAIL="[email protected]"

# Set DIFF_ONLY to "1" to only output the difference of the current run
# compared to the last run (ie. only new upgrades since the last run). If there
# are no differences, no output/email will be generated. By default, apticron
# will output everything that needs to be upgraded.

# Set LISTCHANGES_PROFILE if you would like apticron to invoke apt-listchanges
# with the --profile option. You should add a corresponding profile to
# /etc/apt/listchanges.conf

# Set SYSTEM if you would like apticron to use something other than the output
# of "hostname -f" for the system name in the mails it generates

# Set IPADDRESSNUM if you would like to configure the maximal number of IP
# addresses apticron displays. The default is to display 1 address of each
# family type (inet, inet6), if available.

# Set IPADDRESSES to a whitespace seperated list of reachable addresses for
# this system. By default, apticron will try to work these out using the
# "ip" command
# IPADDRESSES=" 2001:db8:1:2:3::1"

There will be a cron scheduled under /etc/cron.daily/apticron which will be running daily and email you when the notifications are available.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group