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

Bug#169752: marked as done (libc6.postinst script has a little bug)



Your message dated Sun, 05 Jan 2003 15:29:28 +0900
with message-id <80ptrc3y9j.wl@oris.opensource.jp>
and subject line Bug#169752: libc6.postinst script has a little bug
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; 19 Nov 2002 14:56:23 +0000
>From ferdinand@telegraafnet.nl Tue Nov 19 08:56:14 2002
Return-path: <ferdinand@telegraafnet.nl>
Received: from smtp0.telegraaf.net [217.196.45.130] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18E9nR-0006jr-00; Tue, 19 Nov 2002 08:56:13 -0600
Received: from server9.telegraafnet.nl (server9.telegraafnet.nl [192.168.1.9])
	by smtp0.telegraaf.net (Postfix) with ESMTP id 60FF2439D2
	for <submit@bugs.debian.org>; Tue, 19 Nov 2002 15:56:11 +0100 (CET)
Received: from c22601.ws.tem.nl (c22601.ws.tem.nl [192.168.1.61])
	by server9.telegraafnet.nl (8.11.1/8.11.1/Debian 8.11.0-6) with ESMTP id gAJEuBE30864
	for <submit@bugs.debian.org>; Tue, 19 Nov 2002 15:56:11 +0100
From: Ferdinand Smit <ferdinand@telegraafnet.nl>
To: submit@bugs.debian.org
Subject: libc6.postinst script has a little bug
Date: Tue, 19 Nov 2002 15:56:11 +0100
User-Agent: KMail/1.4.3
MIME-Version: 1.0
Content-Type: Multipart/Mixed;
  boundary="------------Boundary-00=_N5WTJGARN9PG0XVJJD4E"
Message-Id: <200211191556.11092.ferdinand@telegraafnet.nl>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-1.4 required=5.0
	tests=PATCH_CONTEXT_DIFF,SPAM_PHRASE_00_01,USER_AGENT,
	      USER_AGENT_KMAIL
	version=2.41
X-Spam-Level: 


--------------Boundary-00=_N5WTJGARN9PG0XVJJD4E
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 8bit

Package: libc6
Version: 2.3.1-4

The upgrade op libc6 gives the folowing errors:

Setting up libc6 (2.3.1-4) ...
Checking for services that may need to be restarted...Package `smail' is not 
installed and no info is available.
Package `ssh-nonfree' is not installed and no info is available.
Package `postfix-tls' is not installed and no info is available.
Package `slapd' is not installed and no info is available.
Package `logind' is not installed and no info is available.
Package `ssh-krb5' is not installed and no info is available.
Package `apache2' is not installed and no info is available.
Package `courier-authdaemon' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
sed: can't read exim: No such file or directory
sed: can't read ssh: No such file or directory
sed: can't read netbase: No such file or directory
sed: can't read cron: No such file or directory
sed: can't read snmpd: No such file or directory
dpkg: error processing libc6 (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of locales:
 locales depends on glibc-2.3.1-4; however:
  Package glibc-2.3.1-4 is not installed.
  Package libc6 which provides glibc-2.3.1-4 is not configured yet.
dpkg: error processing locales (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6
 locales
E: Sub-process /usr/bin/dpkg returned an error code (1)


----
The problem is a little typo/bug in the libc6.postinst.
See the attachement for a patch.

Yours,
Ferdinand Smit
--------------Boundary-00=_N5WTJGARN9PG0XVJJD4E
Content-Type: text/x-diff;
  charset="us-ascii";
  name="libc6.postinst.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="libc6.postinst.diff"

*** libc6.postinst.new	Tue Nov 19 15:47:12 2002
--- /var/lib/dpkg/info/libc6.postinst	Tue Nov 19 15:46:30 2002
***************
*** 172,178 ****
  	    check=$(dpkg -s $check | awk 'BEGIN{RS="\n\n";FS="\n"}{if ( $2 ~ /Status: .* installed$/ ) { print $1 } }' | cut -f 2 -d ' ')
  	    # apache2 ships its init script in apache2-common, but the
  	    # script is apache2
! 	    check=$(echo $check | sed 's/apache2-common/apache2/')
  	    # We have to list inetd explicitly, because the package is a
  	    # different name from it's init script
  	    check="$check inetd"
--- 172,178 ----
  	    check=$(dpkg -s $check | awk 'BEGIN{RS="\n\n";FS="\n"}{if ( $2 ~ /Status: .* installed$/ ) { print $1 } }' | cut -f 2 -d ' ')
  	    # apache2 ships its init script in apache2-common, but the
  	    # script is apache2
! 	    check=$(sed 's/apache2-common/apache2/' $check)
  	    # We have to list inetd explicitly, because the package is a
  	    # different name from it's init script
  	    check="$check inetd"

--------------Boundary-00=_N5WTJGARN9PG0XVJJD4E--


---------------------------------------
Received: (at 169752-done) by bugs.debian.org; 5 Jan 2003 06:29:35 +0000
>From gotom@debian.or.jp Sun Jan 05 00:29:34 2003
Return-path: <gotom@debian.or.jp>
Received: from oris.opensource.jp (oris.opensource.gr.jp) [218.44.239.73] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18V4Ht-0000hp-00; Sun, 05 Jan 2003 00:29:33 -0600
Received: from oris.opensource.jp (oris.opensource.jp [218.44.239.73])
	by oris.opensource.gr.jp (Postfix) with ESMTP id 3AF85C351C
	for <169752-done@bugs.debian.org>; Sun,  5 Jan 2003 15:29:28 +0900 (JST)
Date: Sun, 05 Jan 2003 15:29:28 +0900
Message-ID: <80ptrc3y9j.wl@oris.opensource.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: 169752-done@bugs.debian.org
Subject: Re: Bug#169752: libc6.postinst script has a little bug
In-Reply-To: <20021119175833.GB7345@systemhalted>
References: <200211191556.11092.ferdinand@telegraafnet.nl>
	<20021119175833.GB7345@systemhalted>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: 169752-done@bugs.debian.org
X-Spam-Status: No, hits=-9.3 required=5.0
	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,
	      USER_AGENT
	version=2.41
X-Spam-Level: 

It's already fixed. I close this bug.

Regards,
-- gotom

At Tue, 19 Nov 2002 12:58:33 -0500,
Carlos O'Donell wrote:
> Patch was posted yesterday and the bug is fixed in -5.
> 
> c.
> 
> On Tue, Nov 19, 2002 at 03:56:11PM +0100, Ferdinand Smit wrote:
> > Package: libc6
> > Version: 2.3.1-4
> > 
> > The upgrade op libc6 gives the folowing errors:
> > 
> > Setting up libc6 (2.3.1-4) ...
> > Checking for services that may need to be restarted...Package `smail' is not 
> > installed and no info is available.
> > Package `ssh-nonfree' is not installed and no info is available.
> > Package `postfix-tls' is not installed and no info is available.
> > Package `slapd' is not installed and no info is available.
> > Package `logind' is not installed and no info is available.
> > Package `ssh-krb5' is not installed and no info is available.
> > Package `apache2' is not installed and no info is available.
> > Package `courier-authdaemon' is not installed and no info is available.
> > Use dpkg --info (= dpkg-deb --info) to examine archive files,
> > and dpkg --contents (= dpkg-deb --contents) to list their contents.
> > sed: can't read exim: No such file or directory
> > sed: can't read ssh: No such file or directory
> > sed: can't read netbase: No such file or directory
> > sed: can't read cron: No such file or directory
> > sed: can't read snmpd: No such file or directory
> > dpkg: error processing libc6 (--configure):
> >  subprocess post-installation script returned error exit status 2
> > dpkg: dependency problems prevent configuration of locales:
> >  locales depends on glibc-2.3.1-4; however:
> >   Package glibc-2.3.1-4 is not installed.
> >   Package libc6 which provides glibc-2.3.1-4 is not configured yet.
> > dpkg: error processing locales (--configure):
> >  dependency problems - leaving unconfigured
> > Errors were encountered while processing:
> >  libc6
> >  locales
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > 
> > 
> > ----
> > The problem is a little typo/bug in the libc6.postinst.
> > See the attachement for a patch.



Reply to: