Bug#697465: apache2.2-common: initial install fails: Could not read /etc/apache2/envvars

2013-01-07 Thread Julien Cristau
On Mon, Jan 7, 2013 at 20:23:26 +0100, Jonas Smedegaard wrote: > Sorry if I was unclear earlier: I am talking about postinst too: > postinst calls a2ensite calls perl loads modules. > > Since those modules are not yet configured, postinst fails. > > Package needs to pre-depend on perl, not jus

Bug#697465: apache2.2-common: initial install fails: Could not read /etc/apache2/envvars

2013-01-07 Thread Stefan Fritsch
On Mon, 7 Jan 2013, Jonas Smedegaard wrote: Quoting Jean-Michel Vourgère (2013-01-07 16:58:08) On Sunday 06 January 2013 11:29:55 Arno Töll wrote: (...) Seems that error comes from a2ensite call, so I suspect the cause might be some dependency of that script has not yet been configured. a2e

Bug#697465: apache2.2-common: initial install fails: Could not read /etc/apache2/envvars

2013-01-07 Thread Jonas Smedegaard
Quoting Jean-Michel Vourgère (2013-01-07 16:58:08) > On Sunday 06 January 2013 11:29:55 Arno Töll wrote: > > (...) > > > Seems that error comes from a2ensite call, so I suspect the cause > > > might be some dependency of that script has not yet been > > > configured. > > > > a2ensite does not ca

Bug#697465: apache2.2-common: initial install fails: Could not read /etc/apache2/envvars

2013-01-07 Thread Arno Töll
On 07.01.2013 16:58, Jean-Michel Vourgère wrote: > Arno: > a2ensite reads /etc/apache2/envvars in function read_env_file on line 331: > env - sh -c '. /etc/apache2/envvars && env' I could have sworn I removed that code and replaced it by pure Perl. Sorry for the confusion. -- with kind regards,

Bug#697465: apache2.2-common: initial install fails: Could not read /etc/apache2/envvars

2013-01-07 Thread Jean-Michel Vourgère
On Sunday 06 January 2013 11:29:55 Arno Töll wrote: > (...) > > Seems that error comes from a2ensite call, so I suspect the cause might > > be some dependency of that script has not yet been configured. > > a2ensite does not call a shell to read /etc/apache2/envvars. Your output > makes me suspect