[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: running apt-get update && apt-get upgrade as a cronjob?



:: kmself  writes:

> on Sun, Nov 12, 2000 at 03:27:40PM -0500, Walter Tautz (wtautz@math.uwaterloo.ca) wrote:
>> Just wondering if this is possible in view of the fact that
>> configuration is sometime done and so requires interaction.

> *DON'T* run a blind upgrade as a matter of course.  Particularly if
> you're tracking unstable.

> My preference:

>     apt-get update && apt-get upgrade --download-only

Maybe do an apt-get update first, then choose the wanted packages, and
put only an apt-get -y upgrade in the crontab? That way he'd have a
chance to see what he's upgrading first -- although there's still some
chance that things would break, I suppose...

I usually do a apt-get -d dist-upgrade at night (when connection time
is cheaper here), but I do the update and selection before.

J.

-- 
Jeronimo Pellegrini
Institute of Computing - Unicamp - Brazil
http://www.ic.unicamp.br/~jeronimo
mailto:jeronimo@ic.unicamp.br    mailto:pellegrini@iname.com



Reply to: