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

Re: [php-maint] Bug#791902: libapache2-mod-php5.postinst: 291: [: !=: unexpected operator



El 28/08/15 a las 08:02, Ondřej Surý escribió:
Control: reassign -1 apache2
Control: affects -1 libapache2-mod-php5

I think this:

There is more than one MPM loaded. Do not proceed due to undefined
results
should not happen...  But as I said the pulled code comes from apache2,
so apache2 maintainers might have some ideas why is this happening.

There is more than one MPM...
This is present using libapache2-mpm-itk that on /etc/apache2/mods-enabled/mpm_itk.load line: 1 says:
# Depends: mpm_prefork

# a2dismod mpm_prefork
ERROR: The following modules depend on mpm_prefork and need to be disabled first: mpm_itk

For testing (on my stretch machine) I disabled mpm_itk and reinstall libapache2-mod-php5, in this case this does not show any trouble.

Enabling again mpm_itk and reinstalling libapache2-mod-php5, in this case this show:
Setting up libapache2-mod-php5 (5.6.11+dfsg-1) ...
There is more than one MPM loaded. Do not proceed due to undefined results
There is more than one MPM loaded. Do not proceed due to undefined results
There is more than one MPM loaded. Do not proceed due to undefined results
/var/lib/dpkg/info/libapache2-mod-php5.postinst: 291: [: !=: unexpected operator
apache2_switch_mpm prefork: No action required
apache2_invoke: Enable module php5

The problem sould be on /usr/share/apache2/apache2-maintscript-helper

Ondřej Surý, thanks for reassign this bug to apache2



Cheers,
Ondrej




Reply to: