Re: script for security update notification
On Sat, May 25, 2002 at 12:46:50PM +0200, eim wrote:
> On Fri, 2002-05-24 at 20:48, Teun Vink wrote:
> > This can be simply done with the following statement:
> >
> > apt-get -qq update && apt-get -dqq upgrade && apt-get -sqq upgrade
> >
> > (assuming your machine is 24/7 connected to the internet and you have
> > securiy.debian.org in your /etc/apt/sources.list)
> >
> > This will update your packages list, and then simulate an
> > upgrade. Schedule it using a cron job, and you will only receive mail if
> > new packages are available. I use this to maintain a network of about 50
> > Debian servers (potato and woody).
>
> Very nice, but anyway it will 'only' notify you via mail
> about new packages, so in the end it's up too you executing
> apt-get upgrade, right ?
What would you rather have it do? If you are brave enough that you want the
upgrade executed automatically, just remove the '-s' flag. But a
notification about security updates was exactly what the discussion was
about.
--
- mdz
--
To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: