Re: apt-get in scripts

2002-08-05 Thread Dale Amon
On Sun, Aug 04, 2002 at 11:50:42PM -0400, John Bazik wrote: We set priority=low and frontend=noninteractive and wrap apt-get in an expect script, and add the right answers for the packages that just won't shut up. We've been doing this since before most packages were debconf'd. For all

Re: apt-get in scripts

2002-08-04 Thread John Bazik
On Thu, Aug 01, 2002 at 09:31:05PM +0100, Dale Amon wrote: What sort of solution do other use for running an apt-get from a script? I use cfengine and pre-prepared site configs, but there are some apps on which apt-get simply won't work because even -y won't force it to shut up and just

Re: apt-get in scripts

2002-08-03 Thread Andres Salomon
I've crontabbed `DEBIAN_FRONTEND=noninteractive apt-get -q dist-upgrade`. I've not yet had any problems w/ it; debconf questions should use the default, and config files should not be overwritten. Of course, this is w/ stable; I wouldn't trust this w/ testing/unstable. On Thu, Aug 01, 2002

Re: apt-get in scripts

2002-08-03 Thread Dale Amon
On Sat, Aug 03, 2002 at 07:17:43AM -0400, Andres Salomon wrote: I've crontabbed `DEBIAN_FRONTEND=noninteractive apt-get -q dist-upgrade`. I've not yet had any problems w/ it; debconf questions should use the default, and config files should not be overwritten. Of course, this is w/

apt-get in scripts

2002-08-01 Thread Dale Amon
What sort of solution do other use for running an apt-get from a script? I use cfengine and pre-prepared site configs, but there are some apps on which apt-get simply won't work because even -y won't force it to shut up and just default to something. Is there some way on a case by case basis to