On Sun, Jan 20, 2013 at 18:12:54 +0100, Andreas Beckmann wrote: > Setting up varnish (3.0.2-2) ... > Installing new version of config file /etc/init.d/varnishncsa ... > Installing new version of config file /etc/init.d/varnish ... > Installing new version of config file /etc/init.d/varnishlog ... > Installing new version of config file /etc/varnish/default.vcl ... > Installing new version of config file /etc/default/varnishncsa ... > > Configuration file `/etc/default/varnish' > ==> Modified (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 : start a shell to examine the situation > The default action is to keep your current version. > *** varnish (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing varnish > (--configure): > EOF on stdin at conffile prompt > > This was observed on an upgrade from lenny to squeeze to wheezy. > So what happens is when upgrading from lenny, the varnish/squeeze postinst runs: upgrade_enable_varnishd() { sed -i '/^START=/s/no/yes/g' /etc/default/varnish } which thus modifies the conffile, and the upgrade to wheezy barfs on that.
This is icky, but I'm not sure we should consider this serious. Cheers, Julien
signature.asc
Description: Digital signature