Debian Update Log
To be able to monitor what updates are waiting on my servers I thought I would share some scripts I use developed by BitFolk.
There are 2 scripts, one to tell cron what to do (local-apt.sh) and is saved in /etc/cron.daily/local-apt with the permissions 755 and the main file local-apt.pl is saved in /usr/local/sbin/ and needs to be executable (I use chmod 740).
Then each day the script runs and if there are any update you get a nicely formatted email like the one below:
Package Upgrades Available
Package Installed Available
—————————————————————————-
linux-image-2.6.26-2-xen-686 2.6.26-19lenny1 2.6.26-19lenny2
linux-modules-2.6.26-2-xen-686 2.6.26-19lenny1 2.6.26-19lenny2
The files have a .txt extension for download please remove them else they will not work.



