You might be interested in this script I came up with upon reading this thread. I called it apt-show-versions and placed it in /etc/cron.daily (and made it executable via chmod +x).
[snip]
#!/bin/sh # /etc/cron.daily/apt-show-new: email alerts when new packages # are available # # 2003-03-10, Shaun Crossley, [EMAIL PROTECTED]
[EMAIL PROTECTED]
/usr/bin/apt-get update -qq
/usr/bin/apt-show-versions -u | /usr/bin/sort | /usr/bin/mail -e \ -s "`/bin/hostname`: updated packages available" $ADMINMAIL
Oops... if you don't run apt-get update first (as I've shown above) you won't get all the new good stuff. (I also changed it so that the output will be sorted.)
Most of you probably already figured that out, but I only just clued in.
Sorry!
--
Shaun Crossley mailto:[EMAIL PROTECTED] http://www.whatever.ca
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]