<div dir="ltr">I am quite sure it's related to:<br><br>   * Allow the use of apache2-maintscript-helper from a sub-function. We rely<br>     on dpkg's arguments supplied in $1, $2 etc. This clashes with function<br>

     arguments supplied to to sh sub-function. Allow manual override in such<br>     cases.<br><br>And I would say it's a regression from apache2 2.4.4-6 to 2.4.6-1.<div><br></div><div>The only place I am using apache2 maintscript helper from "modified" environment is:</div>

<div><br></div><div><div>    php5_enable() {</div><div>        if [ $(a2query -M) != 'prefork' ] ; then</div><div>            if apache2_switch_mpm prefork ; then</div><div>                return 0</div><div>            else</div>

<div>                apache2_msg err "Could not switch to prefork MPM, not enabling php5"</div><div>                return 1</div><div>            fi</div><div>        fi</div><div>        return 0</div><div>    }</div>

</div><div><br></div><div>And I don't think that the apache2 modules should be doing some extra work to pass the arguments in php5_enable function.</div><div><br></div><div>Also installing just libapache2-mod-php5 works, so I would say that it's probably bug in apache2-maintscript-helper and not in the php5, but I hope Arno will look at this soon enough.</div>

<div><div><br></div><div>Ondrej<br><br><br>On Tue, Jul 23, 2013 at 11:36 AM, Andreas Beckmann <<a href="mailto:anbe@debian.org">anbe@debian.org</a>> wrote:<br>><br>> Control: affects -1 + phpbb3 debian-edu-config-gosa-netgroups<br>

><br>> >>  Processing triggers for libapache2-mod-php5 ...<br>> >>  apache2-maintscript-helper invoked from a modified environment.<br>> Please hint required arguments manually<br>><br>> On 2013-07-23 08:38, <a href="mailto:jidanni@jidanni.org">jidanni@jidanni.org</a> wrote:<br>

> > I get the same message. But then a second run of aptitude safe-upgrade<br>> > gives no more error. Perhaps there is a bug too in aptitude?<br>><br>> So it's ordering related ... but not a fault in apt/aptitude<br>

><br>> Anyway, the same problem appears in piuparts tests of<br>><br>>   debian-edu-config-gosa-netgroups<br>>   phpbb3<br>><br>><br>> Andreas<br>><br><br><br><br>--<br>Ondřej Surý <<a href="mailto:ondrej@sury.org">ondrej@sury.org</a>><br>

</div></div></div>