Bug#195604: marked as done (tetex-bin: broken guard for tetex-bin/cnf_name)
Your message dated Sun, 01 Jun 2003 07:17:37 -0400
with message-id <E19MQqH-0002xc-00@auric.debian.org>
and subject line Bug#195604: fixed in tetex-bin 2.0.2-4.1
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; 31 May 2003 21:45:34 +0000
>From amu@ucko.debian.net Sat May 31 16:45:33 2003
Return-path: <amu@ucko.debian.net>
Received: from smtp03.mrf.mail.rcn.net [207.172.4.62]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 19MEAP-0006GR-00; Sat, 31 May 2003 16:45:33 -0500
Received: from 216-15-37-107.c3-0.161-ubr3.lnh-161.md.cable.rcn.com ([216.15.37.107] helo=tux.internal.ucko.debian.net)
by smtp03.mrf.mail.rcn.net with esmtp (Exim 3.35 #4)
id 19MEAP-0004yc-00; Sat, 31 May 2003 17:45:33 -0400
Received: from amu by tux.internal.ucko.debian.net with local (Exim 4.20)
id 19MEAO-0003XY-BP; Sat, 31 May 2003 17:45:32 -0400
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Aaron M. Ucko" <ucko@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tetex-bin: broken guard for tetex-bin/cnf_name
X-Mailer: reportbug 2.10.1
Date: Sat, 31 May 2003 17:45:31 -0400
Message-Id: <E19MEAO-0003XY-BP@tux.internal.ucko.debian.net>
Sender: "Aaron M. Ucko" <amu@ucko.debian.net>
X-SA-Exim-Mail-From: amu@ucko.debian.net
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-9.2 required=4.0
tests=BAYES_01,HAS_PACKAGE,QUOTED_EMAIL_TEXT
version=2.53-bugs.debian.org_2003_05_24
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_24 (1.174.2.15-2003-03-30-exp)
Package: tetex-bin
Version: 2.0.2-4
Severity: grave
Tags: sid
Justification: renders package unusable
> Preparing to replace tetex-bin 2.0.2-3 (using .../tetex-bin_2.0.2-4_i386.deb) ...
> dpkg: error processing /var/cache/apt/archives/tetex-bin_2.0.2-4_i386.deb (--unpack):
> subprocess pre-installation script returned error exit status 1
The problem seems to be with
flag=`ls /etc/texmf/texmf.d/*[^\.cnf$] 2> /dev/null | egrep -v '(.dpkg-.*|~)$'`
if [ X"${flag}" != X ]; then
db_input high tetex-bin/cnf_name || true
db_go || true
fi
in particular, if egrep doesn't find anything, then the assignment to
flag returns false (!). Your shell globbing is also a bit off; I'd
suggest something like
if ls /etc/texmf/texmf.d 2>/dev/null | egrep -vq '(\.cnf|\.dpkg-.*|~)$'; then
db_input high tetex-bin/cnf_name || true
db_go || true
fi
Please test whatever code you end up using before releasing it, both
with and without non-.cnf files!
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux tux 2.4.20 #1 Tue Mar 25 21:04:15 EST 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages tetex-bin depends on:
ii debconf 1.2.37 Debian configuration management sy
ii debianutils 2.5.2 Miscellaneous utilities specific t
ii dpkg 1.10.10 Package maintenance system for Deb
ii ed 0.2-20 The classic unix line editor
ii libc6 2.3.1-17 GNU C Library: Shared libraries an
ii libgcc1 1:3.3-2 GCC support library
ii libkpathsea3 2.0.2-4 shared libkpathsea for teTeX
ii libpng12-0 1.2.5.0-3 PNG library - runtime
ii libstdc++5 1:3.3-2 The GNU Standard C++ Library v3
ii libwww-ssl0 [libwww0] 5.4.0-6 The W3C-WWW library (SSL support)
ii libxaw7 4.2.1-6 X Athena widget set library
ii perl 5.8.0-17 Larry Wall's Practical Extraction
ii t1lib1 1.3.1-1 Type 1 font rasterizer library - r
ii tetex-base 2.0.2-3 basic teTeX library files
ii xlibs 4.2.1-6 X Window System client libraries
ii zlib1g 1:1.1.4-12 compression library - runtime
-- debconf information:
* tetex-bin/upd_map: true
* tetex-bin/cnf_name:
* tetex-bin/fmtutil: true
* tetex-bin/userperm: false
* tetex-bin/texmf: true
* tetex-bin/hyphen: latin, russian
tetex-bin/oldcfg: true
* tetex-bin/use_debconf: true
* tetex-bin/groupname: users
* tetex-bin/groupperm: true
* tetex-bin/lsr-perms: true
---------------------------------------
Received: (at 195604-close) by bugs.debian.org; 1 Jun 2003 11:23:24 +0000
>From katie@auric.debian.org Sun Jun 01 06:23:24 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 19MQvs-0000jd-00; Sun, 01 Jun 2003 06:23:24 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
id 19MQqH-0002xc-00; Sun, 01 Jun 2003 07:17:37 -0400
From: Atsuhito KOHDA <kohda@debian.org>
To: 195604-close@bugs.debian.org
X-Katie: $Revision: 1.34 $
Subject: Bug#195604: fixed in tetex-bin 2.0.2-4.1
Message-Id: <E19MQqH-0002xc-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Sun, 01 Jun 2003 07:17:37 -0400
Delivered-To: 195604-close@bugs.debian.org
We believe that the bug you reported is fixed in the latest version of
tetex-bin, which is due to be installed in the Debian FTP archive:
libkpathsea-dev_2.0.2-4.1_i386.deb
to pool/main/t/tetex-bin/libkpathsea-dev_2.0.2-4.1_i386.deb
libkpathsea3_2.0.2-4.1_i386.deb
to pool/main/t/tetex-bin/libkpathsea3_2.0.2-4.1_i386.deb
tetex-bin_2.0.2-4.1.diff.gz
to pool/main/t/tetex-bin/tetex-bin_2.0.2-4.1.diff.gz
tetex-bin_2.0.2-4.1.dsc
to pool/main/t/tetex-bin/tetex-bin_2.0.2-4.1.dsc
tetex-bin_2.0.2-4.1_i386.deb
to pool/main/t/tetex-bin/tetex-bin_2.0.2-4.1_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 195604@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Atsuhito KOHDA <kohda@debian.org> (supplier of updated tetex-bin package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 1 Jun 2003 09:07:15 +0900
Source: tetex-bin
Binary: libkpathsea3 tetex-bin libkpathsea-dev
Architecture: source i386
Version: 2.0.2-4.1
Distribution: unstable
Urgency: low
Maintainer: teTeX maintainers <debian-tetex-maint@lists.debian.org>
Changed-By: Atsuhito KOHDA <kohda@debian.org>
Description:
libkpathsea-dev - kpathsea.a and include files for teTeX
libkpathsea3 - shared libkpathsea for teTeX
tetex-bin - teTeX binary files
Closes: 195604 195621
Changes:
tetex-bin (2.0.2-4.1) unstable; urgency=low
.
* Fixed debian/config [kohda] (Closes: #195604, #195621)
Files:
29e53419550fd3f870a65ef61a40eeaa 978 tex optional tetex-bin_2.0.2-4.1.dsc
1b3837f2be5fd0d665e5aa98427b8289 57181 tex optional tetex-bin_2.0.2-4.1.diff.gz
7cbc7ebc3f1b10398da65f9d1b84f12c 3774406 tex optional tetex-bin_2.0.2-4.1_i386.deb
39ce83c159c189a36bf881bb62de2d6b 48816 libs optional libkpathsea3_2.0.2-4.1_i386.deb
16f5537e1b70032656ca91526fc8321c 64226 libdevel optional libkpathsea-dev_2.0.2-4.1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE+2cmz1IXdL1v6kOwRAkTwAJ9JuxQqaWFW27N1qQdmbv5TN2V8awCfUybX
obDmhYaYUIsu3YEJh7qkPGg=
=dToV
-----END PGP SIGNATURE-----
Reply to: