Is there any way to stop being prompted about the configuration file changes
when upgrading from sarge to etch. I use
exim4 in a very minimal way and I would gladly let the package upgrade/change
whatever it wants, but I can not determine
how to do this.
 
My goal is to create a ''push button'' upgrade from sarge to
etch, but exim4 is one of my sticking points. Here is an
example of one of the 20 or so prompts during the upgrade
 
Configuration file `/etc/exim4/conf.d/auth/30_exim4-config_examples''
 ==> Deleted (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer''s version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
 The default action is to keep your current version.
*** 30_exim4-config_examples (Y/I/N/O/D/Z) [default=N] ?
 
 
I do not care how this gets answered (or if it does) as long as I can prevent
the upgrade from stopping at these.
 
Thanks in advance
 
Tony
There is a way. I got it from the debian user''s list.
Daniel Burrows sent me a 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
theal at pace2020.com
 
> -----Original Message-----
> From: pkg-exim4-users-bounces+theal=pace2020.com at lists.alioth.debian.org
[mailto:pkg-exim4-users-
> bounces+theal=pace2020.com at lists.alioth.debian.org] On Behalf Of Tony
Heal
> Sent: Tuesday, July 03, 2007 5:02 PM
> To: pkg-exim4-users at lists.alioth.debian.org
> Subject: [Pkg-exim4-users] upgrading from sarge to etch
> 
> Is there any way to stop being prompted about the configuration file
changes when upgrading from
> sarge to etch. I use
> exim4 in a very minimal way and I would gladly let the package
upgrade/change whatever it wants, but
> I can not determine
> how to do this.
> 
> 
> 
> My goal is to create a ''push button'' upgrade from sarge
to etch, but exim4 is one of my sticking
> points. Here is an
> example of one of the 20 or so prompts during the upgrade
> 
> 
> 
> Configuration file
`/etc/exim4/conf.d/auth/30_exim4-config_examples''
> 
>  ==> Deleted (by you or by a script) since installation.
> 
>  ==> Package distributor has shipped an updated version.
> 
>    What would you like to do about it ?  Your options are:
> 
>     Y or I  : install the package maintainer''s version
> 
>     N or O  : keep your currently-installed version
> 
>       D     : show the differences between the versions
> 
>       Z     : background this process to examine the situation
> 
>  The default action is to keep your current version.
> 
> *** 30_exim4-config_examples (Y/I/N/O/D/Z) [default=N] ?
> 
> 
> 
> 
> 
> I do not care how this gets answered (or if it does) as long as I can
prevent the upgrade from
> stopping at these.
> 
> 
> 
> Thanks in advance
> 
> 
> 
> Tony
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Pkg-exim4-users mailing list
> Pkg-exim4-users at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
On Tue, Jul 03, 2007 at 05:02:20PM -0400, Tony Heal wrote:> Is there any way to stop being prompted about the configuration file > changes when upgrading from sarge to etch. I use exim4 in a very > minimal way and I would gladly let the package upgrade/change whatever > it wants, but I can not determine how to do this.That is a dpkg issue, and nothing that the exim4 packages can change. We might be able to change this once (and if) we migrate to ucf, but that''s still fiction.> My goal is to create a ''push button'' upgrade from sarge to etch, but > exim4 is one of my sticking points. Here is an example of one of the > 20 or so prompts during the upgradeYou need to talk to dpkg to suppress these prompts.> I do not care how this gets answered (or if it does) as long as I can > prevent the upgrade from stopping at these.How will you handle the configuration file changes? If you do not have any local changes, the questions should not be asked in the first place. If your conffiles have local changes, then you need to manually intervene anyway. We of course recommend taking our version of the conffiles, but that''ll make you lose any customizations. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
On Fri, Jul 06, 2007 at 08:46:42PM -0400, Tony Heal wrote:> 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";} > } > EOFIf you don''t expect exim (or any other package) to be operational during and after the upgrade, that is one way to go. But it is still not exim related. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190