[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

Package: apache2.2-common
Version: 2.2.22-12
Severity: serious
Justification: Policy 7.2

Installation fails like this:

Setting up apache2.2-common (2.2.22-12) ...
sh: 1: .: Can't open /etc/apache2/envvars
Could not read /etc/apache2/envvars
dpkg: error processing apache2.2-common (--configure):
 subprocess installed post-installation script returned error exit status 2

Seems that error comes from a2ensite call, so I suspect the cause might
be some dependency of that script has not yet been configured.

Perhaps apache2.2-common must pre-depend (not depend) on perl, to ensure
perl is fully configured before used.

The installation was done using multistrap which postpones more postinst
scripts than debootstrap and debian-installer.

 - Jonas

Reply to: