Thank you Daniel!!

You sent me the (REALLY BIG) hint and this is the 'how to'

cat > /etc/apt/apt.conf.d/etch-upgrade <<EOF
APT {
    Get {
        Assume-Yes "true";
        Fix-Broken "true";
        Force-Yes "true";
        };
    };
DPkg
{
  // Probably don't want to use force-downgrade..
  Options {"--force-confold";}
}
EOF

The syntax for this file can be found
/usr/share/doc/apt/examples/apt.conf  
/usr/share/doc/apt/examples/configure-index.gz


Tony Heal
Pace Systems Group, Inc.
800-624-5999
[EMAIL PROTECTED]
 

> -----Original Message-----
> From: Daniel Burrows [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 05, 2007 1:34 AM
> To: Tony Heal
> Cc: debian-user@lists.debian.org
> Subject: Re: upgrading to etch
> 
> On Wed, Jul 04, 2007 at 10:54:25PM -0400, Tony Heal <[EMAIL PROTECTED]> was 
> heard to say:
> > Does anyone know what function/package does the prompting for replacing 
> > configuration files during
> an upgrade? Any one
> > know how to automate the answers. Here is an example
> 
>   These prompts are issued by dpkg.  You can disable them by passing the
> --force-conf{new,old,def} options to dpkg, see dpkg(1); to get these flags
> when dpkg is called from apt, put them in dpkg.cfg or apt.conf.
> 
>   I don't think there's any way to automate the choice at the package level,
> although you could maybe do something horrible using expect.
> 
>   Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to