[Gllug] Automatic apt-get dist-upgrade

Ben Fitzgerald ben_m_f at yahoo.co.uk
Mon Feb 13 12:40:03 UTC 2006


On Mon, Feb 13, 2006 at 01:00:25PM +0000, Richard Jones wrote:
> 
> Now we've got a small network of machines to run, all running
> Debian/stable, I'm wondering whether there are any tools for notifying
> me when there are updated packages that need to be installed.  This
> email: http://lists.debian.org/debian-user/2002/07/msg00077.html
> suggests writing shell scripts to download the packages and email the
> sysadmin, but I wonder if there are packages which already do this
> that I should know about ...

hi Rich,

I don't know about a package, but the following simple script does it
for me:

#!/bin/sh

# run dpkg update
# quiet + simulate

apt-get -qq update

apt-get -qq -s upgrade

#eof

hth,

ben.

-- 
Registered Linux user number 339435
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list