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

Bug#717693: Bug#720591: apache2_invoke: configuration phpbb3 not supported in postinst



Control: block 720591 by 717693

Hi,

On Fri, Aug 23, 2013 at 11:57:56AM -0400, Brian Minton wrote:

> I tried to install / configure phpbb3, but get an error on the
> configuration phase.
> 
> Setting up phpbb3 (3.0.11-5) ...
> dbconfig-common: writing config to /etc/dbconfig-common/phpbb3.conf
> Replacing config file /etc/phpbb3/database.inc.php with new version
> dbconfig-common: flushing administrative password
> apache2_invoke: configuration phpbb3 not supported in postinst
> dpkg: error processing phpbb3 (--configure):
>  subprocess installed post-installation script returned error exit
>  status 1

Seems like I’m able to reproduce this issue on upgrade too. If I’m not
mistaken, it seems related to #717693 ([im]possible to use
"apache2_invoke disconf" in postinst). That looks like a new behaviour.
apache2 maintainers, can you please confirm the issue? Should I look
into a workaround (any guidance is welcome)?

Bellow is the log of an upgrade attempt with APACHE2_MAINTSCRIPT_DEBUG
enabled:

LANG=C APACHE2_MAINTSCRIPT_DEBUG=1 dpkg -i /var/cache/pbuilder/result//phpbb3*3.0.12-1_all.deb
(Reading database ... 411918 files and directories currently installed.)
Preparing to replace phpbb3 3.0.12-1 (using ...//phpbb3_3.0.12-1_all.deb) ...
Unpacking replacement phpbb3 ...
Preparing to replace phpbb3-l10n 3.0.12-1 (using ...//phpbb3-l10n_3.0.12-1_all.deb) ...
Unpacking replacement phpbb3-l10n ...
Setting up phpbb3 (3.0.12-1) ...
dbconfig-common: writing config to /etc/dbconfig-common/phpbb3.conf
Replacing config file /etc/phpbb3/database.inc.php with new version
creating database backup in /var/cache/dbconfig-common/backups/phpbb3_3.0.11-5.mysql.
applying upgrade script for 3.0.11-5 -> 3.0.12.
+ [ -z phpbb3 ]
+ APACHE2_MAINTSCRIPT_NAME=postinst
+ [ postinst ]
+ APACHE2_MAINTSCRIPT_PACKAGE=phpbb3
+ [ -z phpbb3 ]
+ [ -z configure ]
+ [ -z 3.0.11-5 ]
+ apache2_invoke disconf phpbb3
+ local CMD=disconf
+ local CONF=phpbb3
+ local RCD_ACTION=
+ local invoke_rcd=0
+ local check_switch=
+ local invoke_string=
+ [ -x /usr/sbin/a2disconf ]
+ [ -x /usr/sbin/a2query ]
+ check_switch=-c
+ invoke_string=configuration
+ rcd_action=reload
+ local a2query_ret=0
+ a2query -c phpbb3
+ [ 0 -eq 0 ]
+ [ postinst = postrm ]
+ [ postinst = postrm ]
+ [ postinst = prerm ]
+ apache2_msg error apache2_invoke: configuration phpbb3 not supported in postinst
+ local PRIORITY=error
+ local MSG=apache2_invoke: configuration phpbb3 not supported in postinst
+ [ -z  ]
+ echo apache2_invoke: configuration phpbb3 not supported in postinst
apache2_invoke: configuration phpbb3 not supported in postinst
+ [ -x /usr/bin/logger ]
+ PRIORITY=warning
+ local LOGGER=/usr/bin/logger -p daemon.warning -t phpbb3 
+ /usr/bin/logger -p daemon.warning -t phpbb3 apache2_invoke: configuration phpbb3 not supported in postinst
+ return 1
dpkg: error processing phpbb3 (--install):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of phpbb3-l10n:
 phpbb3-l10n depends on phpbb3; however:
  Package phpbb3 is not configured yet.

dpkg: error processing phpbb3-l10n (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 phpbb3
 phpbb3-l10n

Thanks in advance

Regards

David

Attachment: signature.asc
Description: Digital signature


Reply to: