[php-maint] Bug#717610: a second run of aptitude safe-upgrade clears it
Ondřej Surý
ondrej at sury.org
Tue Jul 23 10:02:42 UTC 2013
I am quite sure it's related to:
* Allow the use of apache2-maintscript-helper from a sub-function. We
rely
on dpkg's arguments supplied in $1, $2 etc. This clashes with function
arguments supplied to to sh sub-function. Allow manual override in such
cases.
And I would say it's a regression from apache2 2.4.4-6 to 2.4.6-1.
The only place I am using apache2 maintscript helper from "modified"
environment is:
php5_enable() {
if [ $(a2query -M) != 'prefork' ] ; then
if apache2_switch_mpm prefork ; then
return 0
else
apache2_msg err "Could not switch to prefork MPM, not
enabling php5"
return 1
fi
fi
return 0
}
And I don't think that the apache2 modules should be doing some extra work
to pass the arguments in php5_enable function.
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.
Ondrej
On Tue, Jul 23, 2013 at 11:36 AM, Andreas Beckmann <anbe at debian.org> wrote:
>
> Control: affects -1 + phpbb3 debian-edu-config-gosa-netgroups
>
> >> Processing triggers for libapache2-mod-php5 ...
> >> apache2-maintscript-helper invoked from a modified environment.
> Please hint required arguments manually
>
> On 2013-07-23 08:38, jidanni at jidanni.org wrote:
> > I get the same message. But then a second run of aptitude safe-upgrade
> > gives no more error. Perhaps there is a bug too in aptitude?
>
> So it's ordering related ... but not a fault in apt/aptitude
>
> Anyway, the same problem appears in piuparts tests of
>
> debian-edu-config-gosa-netgroups
> phpbb3
>
>
> Andreas
>
--
Ondřej Surý <ondrej at sury.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20130723/a716316f/attachment.html>
More information about the pkg-php-maint
mailing list