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

Bug#149175: marked as done (gcdb: postinst dies on sed substitution)



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:30:48 +0000
>From wuth@castrov.cuug.ab.ca Wed Jun 05 23:30:48 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 17Fov9-00021o-00; Wed, 05 Jun 2002 23:30:48 -0500
Received: from wuth by matteo.castrov.cuug.ab.ca with local (Exim 3.35 #1 (Debian))
	id 17Fouy-0002X6-00; Wed, 05 Jun 2002 22:30:36 -0600
From: Brett Wuth <wuth@errant.castrov.cuug.ab.ca>
Subject: gcdb: postinst dies on sed substitution
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10.1
Message-Id: <E17Fouy-0002X6-00@matteo.castrov.cuug.ab.ca>
Sender: Brett Wuth <wuth@castrov.cuug.ab.ca>
Date: Wed, 05 Jun 2002 22:30:36 -0600
Delivered-To: submit@bugs.debian.org

Package: gcdb
Version: 1.1.5-2
Severity: important

With my choice of configuration options (which were the default), gcdb
fails to install.

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 ... 106654 files and directories currently installed.)
Unpacking gcdb (from .../archives/gcdb_1.1.5-2_all.deb) ...
Setting up gcdb (1.1.5-2) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Web installation seems ok...
Reloading apache modules.
/bin/sed: -e expression #1, char 140: Unknown option to 's'


The problem is in /var/lib/dpkg/info/gcdb.postinst

in the line
        /bin/sed -e "s#@dbpersistent@#$dbpersistent#; s#@dbname@#$dbname#; s#@dbserver@#$dbserver#; s#@dbuser@#$dbuser#; s#@dbpass@#$dbpass#; s#@brand@#$brand#; s#@topbar@#$topbar#; s#@background@#$background#; s#@tableborder@#$tableborder#; s#@innertable@#$innertable#" /etc/gcdb/gcdb-settings.php.in > /etc/gcdb/gcdb-settings.php 

In my case $topbar, etc. have a # in them so they cause the sed
substitution command to be malformed:

+ /bin/sed -e 's#@dbpersistent@#On#; s#@dbname@#gcdb#; s#@dbserver@#localhost#; s#@dbuser@#gcdbmgr#; s#@dbpass@#none#; s#@brand@#gcdb#; s#@topbar@##000088#; s#@background@##AAAAFF#; s#@tableborder@##000088#; s#@innertable@##7777FF#' /etc/gcdb/gcdb-settings.php.in 

One solution is to change the #'s to |'s.


-- 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 149175-done) by bugs.debian.org; 23 Apr 2003 00:23:25 +0000
>From tbm@cyrius.com Tue Apr 22 19:23:24 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: 149175-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: