Re: apt-get dist-upgrade and cron

2005-09-25 Thread Andrew M.A. Cater
On Sun, Sep 25, 2005 at 09:31:26AM -0400, Arthur H. Johnson II wrote: > ... > I would NEVER do a dist-upgrade by itself. Use this instead: > If your run a dist-upgrade automatically, you might wake up to a broken > system ;) > I know :) Lots of other people posted this as well :) The poster

Re: apt-get dist-upgrade and cron

2005-09-25 Thread Arthur H. Johnson II
> 15 00 * * * apt-get update && apt-get dist-upgrade I would NEVER do a dist-upgrade by itself. Use this instead: 15 00 * * * apt-get update && apt-get -d -y dist-upgrade That will cache your packages and you can run the dist-upgrade in the morning when you get in, without downloading packages

Re: apt-get dist-upgrade and cron

2005-09-25 Thread Hugo Vanwoerkom
Robert Wolfe wrote: Hi folks. One question (which will really be my first question in the mailing list). I would like to run the following as a nightly cron job (in script format): apt-get update apt-get dist-upgrade And when there is something wrong with a replaced package. What then? Bad

Re: apt-get dist-upgrade and cron

2005-09-25 Thread Andrew M.A. Cater
On Sat, Sep 24, 2005 at 07:04:05PM -0400, Robert Wolfe wrote: > Hi folks. One question (which will really be my first question in the > mailing list). I would like to run the following as a nightly cron job (in > script format): > > apt-get update > apt-get dist-upgrade > > What would I need to

Re: apt-get dist-upgrade and cron

2005-09-24 Thread Robert Wolfe
- Original Message From: TreeBoy <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: Re: apt-get dist-upgrade and cron Date: 24/09/05 20:52 > I really would not recommend doing this just in case things go wrong. If you > are running anything other than

Re: apt-get dist-upgrade and cron

2005-09-24 Thread TreeBoy
On Sunday 25 Sep 2005 00:04, Robert Wolfe wrote: > Hi folks. One question (which will really be my first question in the > mailing list). I would like to run the following as a nightly cron job (in > script format): > > apt-get update > apt-get dist-upgrade > > What would I need to do to get this

apt-get dist-upgrade and cron

2005-09-24 Thread Robert Wolfe
Hi folks. One question (which will really be my first question in the mailing list). I would like to run the following as a nightly cron job (in script format): apt-get update apt-get dist-upgrade What would I need to do to get this to work? Mainly, how do I get the cron job to run as root? --