gforge fails to install due to bashisms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gforge (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: gforge
Kubuntu 7.04 on AMD64, fully updated.
I used Adept Manager to request an install of gforge.
The install failed on dpkg configure.
Remove fails on dpkg configure.
dpkg --configure -a fails:
root@pc:~# dpkg --configure -a
Setting up apache (1.3.34-4.1) ...
* Configuration syntax error detected, not starting/
Syntax error on line 33 of /etc/apache/
Invalid command 'php_admin_value', perhaps mis-spelled or defined by a module not included in the server configuration
invoke-rc.d: initscript apache, action "start" failed.
dpkg: error processing apache (--configure):
subprocess post-installation script returned error exit status 1
Setting up gforge-
Calculating defaults
Reading defaults from /etc/gforge/
[: 104: ==: unexpected operator
Creating /etc/gforge/
[: 107: ==: unexpected operator
[: 107: ==: unexpected operator
[: 107: ==: unexpected operator
Creating /etc/gforge/
Creating /etc/gforge/
Creating /etc/gforge/
Creating other includes
Found /etc/apache/
Fixing past damage in mailing-lists...
DBI connect(
Is the server running on host "192.168.0.101" and accepting
TCP/IP connections on port 5432?
at /usr/lib/
Uncaught exception from user code:
Cannot connect to database: at /usr/lib/
at /usr/lib/
dpkg: error processing gforge-
subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of gforge-web-apache:
gforge-web-apache depends on libapache2-mod-php5 | apache (>= 1.3.26) | apache-ssl (>= 1.3.26) | apache-perl (>= 1.3.26); however:
Package libapache2-mod-php5 is not installed.
Package apache is not configured yet.
Package apache-ssl is not installed.
Package apache-perl is not installed.
dpkg: error processing gforge-web-apache (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache
gforge-
gforge-web-apache
root@pc:~# apt-get remove gforge
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gforge is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache (1.3.34-4.1) ...
* Configuration syntax error detected, not starting/
Syntax error on line 33 of /etc/apache/
Invalid command 'php_admin_value', perhaps mis-spelled or defined by a module not included in the server configuration
invoke-rc.d: initscript apache, action "start" failed.
dpkg: error processing apache (--configure):
subprocess post-installation script returned error exit status 1
Setting up gforge-
Calculating defaults
Reading defaults from /etc/gforge/
[: 104: ==: unexpected operator
Creating /etc/gforge/
[: 107: ==: unexpected operator
[: 107: ==: unexpected operator
[: 107: ==: unexpected operator
Creating /etc/gforge/
Creating /etc/gforge/
Creating /etc/gforge/
Creating other includes
Found /etc/apache/
Fixing past damage in mailing-lists...
DBI connect(
Is the server running on host "192.168.0.101" and accepting
TCP/IP connections on port 5432?
at /usr/lib/
Uncaught exception from user code:
Cannot connect to database: at /usr/lib/
at /usr/lib/
dpkg: error processing gforge-
subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of gforge-web-apache:
gforge-web-apache depends on libapache2-mod-php5 | apache (>= 1.3.26) | apache-ssl (>= 1.3.26) | apache-perl (>= 1.3.26); however:
Package libapache2-mod-php5 is not installed.
Package apache is not configured yet.
Package apache-ssl is not installed.
Package apache-perl is not installed.
dpkg: error processing gforge-web-apache (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache
gforge-
gforge-web-apache
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pc:~#
Stuck in a perpetual loop of
install, dpkg configure, remove dpkg configure, etc.
I did end up to this same problem with HardyHeron,