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

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



On Nov 12 2000, Jeronimo Pellegrini wrote:
> 1) Use "apt-get -d upgrade", so the files will be downloaded but not
>    installed. So you can run an apt-get upgrade in the morning while
>    disconnected, since all files were fetched, and then you'll bne
>    able to interact with dpkg.

	That would be my preferred option, indeed, for I would be in
	complete control of the situation...

> 2) Use "apt-get -y upgrade", in which case a "yes" will be assumed in
>    all questions... But I think there are situations in which a yes
>    won't help, and then apt-get will abort (but you'll still have all
>    files downloaded an will be able to install whatever was missing in
>    the morning).

	Well, why doable, that wouldn't be as nice as your earlier
	proposed solution, since not all packages interact by means of
	debconf yet (and even if they all did, it wouldn't be nice to
	have the computer adopt a default solution and then, months
	later, this default option come to haunt you...)

	Anyway, comments are welcome.


	[]s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - rbrito@iname.com - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Reply to: