Public bug reported:
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:
[EMAIL PROTECTED]:~# dpkg --configure -a
Setting up apache (1.3.34-4.1) ...
* Configuration syntax error detected, not starting/reloading...
Syntax error on line 33 of /etc/apache/conf.d/gforge.httpd.conf:
Invalid command 'php_admin_value', perhaps mis-spelled or defined by a module
not included in the server configuration
[fail]
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-lists-mailman (4.5.14-22ubuntu1.1) ...
Calculating defaults
Reading defaults from /etc/gforge/gforge.conf
[: 104: ==: unexpected operator
Creating /etc/gforge/gforge.conf
[: 107: ==: unexpected operator
[: 107: ==: unexpected operator
[: 107: ==: unexpected operator
Creating /etc/gforge/httpd.conf
Creating /etc/gforge/httpd.secrets
Creating /etc/gforge/local.inc
Creating other includes
Found /etc/apache/conf.d/gforge.httpd.conf
Fixing past damage in mailing-lists...
DBI connect('dbname=gforge;host=192.168.0.101','gforge',...) failed: could not
connect to server: Connection refused
Is the server running on host "192.168.0.101" and accepting
TCP/IP connections on port 5432?
at /usr/lib/gforge/lib/include.pl line 38
Uncaught exception from user code:
Cannot connect to database: at /usr/lib/gforge/lib/include.pl line 40.
at /usr/lib/gforge/lib/include.pl line 40
main::db_connect called at /usr/lib/gforge/bin/fix-mailing-lists.pl
line 22
dpkg: error processing gforge-lists-mailman (--configure):
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-lists-mailman
gforge-web-apache
[EMAIL PROTECTED]:~# 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/reloading...
Syntax error on line 33 of /etc/apache/conf.d/gforge.httpd.conf:
Invalid command 'php_admin_value', perhaps mis-spelled or defined by a module
not included in the server configuration
[fail]
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-lists-mailman (4.5.14-22ubuntu1.1) ...
Calculating defaults
Reading defaults from /etc/gforge/gforge.conf
[: 104: ==: unexpected operator
Creating /etc/gforge/gforge.conf
[: 107: ==: unexpected operator
[: 107: ==: unexpected operator
[: 107: ==: unexpected operator
Creating /etc/gforge/httpd.conf
Creating /etc/gforge/httpd.secrets
Creating /etc/gforge/local.inc
Creating other includes
Found /etc/apache/conf.d/gforge.httpd.conf
Fixing past damage in mailing-lists...
DBI connect('dbname=gforge;host=192.168.0.101','gforge',...) failed: could not
connect to server: Connection refused
Is the server running on host "192.168.0.101" and accepting
TCP/IP connections on port 5432?
at /usr/lib/gforge/lib/include.pl line 38
Uncaught exception from user code:
Cannot connect to database: at /usr/lib/gforge/lib/include.pl line 40.
at /usr/lib/gforge/lib/include.pl line 40
main::db_connect called at /usr/lib/gforge/bin/fix-mailing-lists.pl
line 22
dpkg: error processing gforge-lists-mailman (--configure):
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-lists-mailman
gforge-web-apache
E: Sub-process /usr/bin/dpkg returned an error code (1)
[EMAIL PROTECTED]:~#
Stuck in a perpetual loop of
install, dpkg configure, remove dpkg configure, etc.
** Affects: gforge (Ubuntu)
Importance: Undecided
Status: New
--
gforge install/remove failure loop w/ broken dpkg
https://bugs.launchpad.net/bugs/154199
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs