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

Bug#149173: marked as done (gcdb: install fails mysteriously without mysql)



Your message dated Wed, 23 Apr 2003 10:22:48 +1000
with message-id <20030423002247.GA12497@regression.cyrius.com>
and subject line Removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Jun 2002 04:00:28 +0000
>From wuth@castrov.cuug.ab.ca Wed Jun 05 23:00:28 2002
Return-path: <wuth@castrov.cuug.ab.ca>
Received: from h24-66-213-224.lb.shawcable.net (matteo.castrov.cuug.ab.ca) [24.66.213.224] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17FoRn-00010u-00; Wed, 05 Jun 2002 23:00:27 -0500
Received: from wuth by matteo.castrov.cuug.ab.ca with local (Exim 3.35 #1 (Debian))
	id 17FoRc-0001kI-00; Wed, 05 Jun 2002 22:00:16 -0600
From: Brett Wuth <wuth@errant.castrov.cuug.ab.ca>
Subject: gcdb: install fails mysteriously without mysql
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10.1
Message-Id: <E17FoRc-0001kI-00@matteo.castrov.cuug.ab.ca>
Sender: Brett Wuth <wuth@castrov.cuug.ab.ca>
Date: Wed, 05 Jun 2002 22:00:16 -0600
Delivered-To: submit@bugs.debian.org

Package: gcdb
Version: 1.1.5-2
Severity: normal

If during configuration the mysql database is declared to be on
"localhost", but is not in fact installed, the installation of gcdb
will fail mysteriously, without any information on what went wrong or
how to fix it.

root@matteo# apt-get install gcdb
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  gcdb 
0 packages upgraded, 1 newly installed, 0 to remove and 1  not upgraded.
Need to get 0B/48.7kB of archives. After unpacking 397kB will be used.
Preconfiguring packages ...
Selecting previously deselected package gcdb.
(Reading database ... 106378 files and directories currently installed.)
Unpacking gcdb (from .../archives/gcdb_1.1.5-2_all.deb) ...
Setting up gcdb (1.1.5-2) ...
dpkg: error processing gcdb (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 gcdb
E: Sub-process /usr/bin/dpkg returned an error code (1)

The problem is with lines like:
                 /usr/bin/mysql -f --password=$mysql_pass < /etc/gcdb/mysql-create.sql >/dev/null 2>&1 

in /var/lib/dpkg/info/gcdb.postinst

The script will terminate if there is an error (set -e), but the error
message will be discarded.

One possible solution would be to direct the error output to a
temporary file and only display it if mysql produces an error.


-- System Information
Debian Release: 3.0
Kernel Version: Linux matteo 2.2.19 #1 Sun Dec 16 01:52:45 MST 2001 i686 unknown

Versions of the packages gcdb depends on:
ii  debconf        1.0.32         Debian configuration management system
ii  mysql-client   3.23.49-8      mysql database client binaries
ii  php4           4.1.2-4        A server-side, HTML-embedded scripting langu
ii  php4-mysql     4.1.2-4        MySQL module for php4
ii  apache         1.3.24-3       Versatile, high-performance HTTP server
	^^^ (Provides virtual package httpd)

---------------------------------------
Received: (at 149173-done) by bugs.debian.org; 23 Apr 2003 00:23:27 +0000
>From tbm@cyrius.com Tue Apr 22 19:23:25 2003
Return-path: <tbm@cyrius.com>
Received: from bangpath.uucico.de [195.71.9.197] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 19882c-0002yb-00; Tue, 22 Apr 2003 19:23:14 -0500
Received: by bangpath.uucico.de (Postfix, from userid 10)
	id C6F4726BC5; Wed, 23 Apr 2003 02:23:13 +0200 (CEST)
Received: by regression.cyrius.com (Postfix, from userid 1000)
	id 116C123D43; Wed, 23 Apr 2003 10:22:48 +1000 (EST)
Date: Wed, 23 Apr 2003 10:22:48 +1000
From: Martin Michlmayr <tbm@cyrius.com>
To: 144139-done@bugs.debian.org, 149173-done@bugs.debian.org,
	149175-done@bugs.debian.org, 151664-done@bugs.debian.org,
	171015-done@bugs.debian.org, 179955-done@bugs.debian.org
Subject: Removed
Message-ID: <20030423002247.GA12497@regression.cyrius.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Delivered-To: 149173-done@bugs.debian.org
X-Spam-Status: No, hits=-0.9 required=4.0
	tests=SIGNATURE_SHORT_DENSE,SPAM_PHRASE_02_03,USER_AGENT,
	      USER_AGENT_MUTT,VERY_SUSP_RECIPS
	version=2.44
X-Spam-Level: 

This package was removed from Debian unstable because it had no
maintainer for a long time and has release criticasl bugs.

-- 
Martin Michlmayr
tbm@cyrius.com



Reply to: