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

Re: automatic security updates



Ron Johnson <ron.l.johnson@cox.net> writes:

> Well, he wants something automatic.  (btw, the semi-colon between
> your 2 apt-get commands is a bit scary.  Better to make the upgrade
> dependent on the update via "&&".)

If the update fails, how will the upgrade have anything to do?

> Slightly OT: since "apt-get upgrade" does not download packages
> that have new package dependencies, would it be better to do:
> "apt-get update && apt-get -d -u dist-upgrade" instead?

If you want something automatic and are running testing or unstable,
no, because -d will stop anything from actually happening
automatically, and because without -d dist-upgrade is quite capable of
removing all the packages you use in favor of something it thinks is
important.

If you're running stable, afaik the package dependencies rarely (if
ever) change.

-- 
Alan Shutko <ats@acm.org> - In a variety of flavors!
Miracles are great, but they are so damned unpredictable.



Reply to: