Bug#717610: a second run of aptitude safe-upgrade clears it

2013-07-23 Thread jidanni
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?


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#717610: a second run of aptitude safe-upgrade clears it

2013-07-23 Thread Andreas Beckmann
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, jida...@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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#717610: a second run of aptitude safe-upgrade clears it

2013-07-23 Thread Ondřej Surý
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 a...@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, jida...@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ý ond...@sury.org


Bug#717610: a second run of aptitude safe-upgrade clears it

2013-07-23 Thread Arno Töll
On 23.07.2013 12:02, Ondřej Surý wrote:
 And I would say it's a regression from apache2 2.4.4-6 to 2.4.6-1.

If it is related, you are right. However, I did not change these things
fundamentally. Ondřej can you provide me an output of the bad behavior
with APACHE2_MAINTSCRIPT_DEBUG set in your environment?


-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D



signature.asc
Description: OpenPGP digital signature


Bug#717610: [php-maint] Bug#717610: a second run of aptitude safe-upgrade clears it

2013-07-23 Thread Ondřej Surý
Control: reassign -1 apache2
Control: retitle -1 apache2-maintscript-helper doesn't support dpkg triggers

Processing triggers for libapache2-mod-php5 ...
+ [ -z triggered ]
+ APACHE2_MAINTSCRIPT_NAME=postinst
+ [ postinst ]
+ APACHE2_MAINTSCRIPT_PACKAGE=libapache2-mod-php5
+ [ -z libapache2-mod-php5 ]
+ [ -z  ]
+ APACHE2_MAINTSCRIPT_METHOD=triggered
+ echo apache2-maintscript-helper invoked from a modified environment.
Please hint required arguments manually
apache2-maintscript-helper invoked from a modified environment. Please hint
required arguments manually
+ return 1

O.


On Tue, Jul 23, 2013 at 12:17 PM, Arno Töll a...@debian.org wrote:

 On 23.07.2013 12:02, Ondřej Surý wrote:
  And I would say it's a regression from apache2 2.4.4-6 to 2.4.6-1.

 If it is related, you are right. However, I did not change these things
 fundamentally. Ondřej can you provide me an output of the bad behavior
 with APACHE2_MAINTSCRIPT_DEBUG set in your environment?


 --
 with kind regards,
 Arno Töll
 IRC: daemonkeeper on Freenode/OFTC
 GnuPG Key-ID: 0x9D80F36D


 ___
 pkg-php-maint mailing list
 pkg-php-ma...@lists.alioth.debian.org
 http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint




-- 
Ondřej Surý ond...@sury.org


Bug#717610: [php-maint] Bug#717610: a second run of aptitude safe-upgrade clears it

2013-07-23 Thread Arno Töll
On 23.07.2013 12:29, Ondřej Surý wrote:
 Control: reassign -1 apache2
 Control: retitle -1 apache2-maintscript-helper doesn't support dpkg triggers

Yep, thanks. That is it. Did you recently enable triggers for your
maintainer script so that the 2.4.6-1 upload is just coincidence?


-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D



signature.asc
Description: OpenPGP digital signature


Bug#717610: [php-maint] Bug#717610: a second run of aptitude safe-upgrade clears it

2013-07-23 Thread Ondřej Surý
On Tue, Jul 23, 2013 at 12:32 PM, Arno Töll a...@debian.org wrote:

 On 23.07.2013 12:29, Ondřej Surý wrote:
  Control: reassign -1 apache2
  Control: retitle -1 apache2-maintscript-helper doesn't support dpkg
 triggers

 Yep, thanks. That is it. Did you recently enable triggers for your
 maintainer script so that the 2.4.6-1 upload is just coincidence?


Nope, the triggers are there for a long time. But it happens only if a
php5-module is installed on top if libapache2-mod-php5{,filter}.

O.
-- 
Ondřej Surý ond...@sury.org


Bug#717610: a second run of aptitude safe-upgrade clears it

2013-07-23 Thread jidanni
By the way, we here doing apt upgrades don't necessarily understand what
 apache2-maintscript-helper invoked from a modified environment.
 Please hint required arguments manually
is all about.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org