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

Bug#395274: marked as done (bashism in postinst breaks installation/upgrade)



Your message dated Wed, 25 Oct 2006 23:32:09 -0700
with message-id <E1Gcymf-0006sn-KP@spohr.debian.org>
and subject line Bug#395274: fixed in tex-common 0.37
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)

--- Begin Message ---
Package: tex-common
Version: 0.36
Severity: serious

My default shell is dash. An upgrade fails with the following message:

Setting up tex-common (0.36) ...
/var/lib/dpkg/info/tex-common.postinst: 91: Syntax error: Bad substitution
dpkg: error processing tex-common (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 tex-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Running checkbashisms /var/lib/dpkg/info/tex-common.postinst yields:
possible bashism in /var/lib/dpkg/info/tex-common.postinst line 91 (${parm/?/pat[/str]}):
      pattern=${pattern//\\/} # remove the slashes that escape the $ signs
possible bashism in /var/lib/dpkg/info/tex-common.postinst line 840 (brace expansion):
'\$TEXMF/{fonts/,}map//;\$TEXMF/dvips//|\.;\$TEXMF{/fonts/map,}{/\$progname,/pdftex,/dvips,}//'
possible bashism in /var/lib/dpkg/info/tex-common.postinst line 842 (brace expansion):
'\$TEXMF/{fonts/,}map//;\$TEXMF/dvips//|\.;\$TEXMF{/fonts/map,}{/\$progname,/pdftex,/dvips,}//'
possible bashism in /var/lib/dpkg/info/tex-common.postinst line 846 (brace expansion):
          '/usr/share/texmf-{tetex,texlive}|/usr/share/texmf-{texlive,tetex}'
possible bashism in /var/lib/dpkg/info/tex-common.postinst line 848 (brace expansion):
          '/usr/share/texmf-{tetex,texlive}|/usr/share/texmf-{texlive,tetex}'


Cheers,
Michael


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.19-rc3
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]         1.5.7      Debian configuration management sy
ii  ucf                           2.0016     Update Configuration File: preserv

tex-common recommends no packages.

Versions of packages tetex-base depends on:
ii  ucf                           2.0016     Update Configuration File: preserv

Versions of packages tetex-bin depends on:
ii  debconf [debconf-2.0]     1.5.7          Debian configuration management sy
ii  debianutils               2.17.3         Miscellaneous utilities specific t
ii  dialog                    1.0-20060221-1 Displays user-friendly dialog boxe
ii  dpkg                      1.13.24        package maintenance system for Deb
ii  ed                        0.2-20         The classic unix line editor
ii  libc6                     2.3.6.ds1-7    GNU C Library: Shared libraries
ii  libfontconfig1            2.4.1-2        generic font configuration library
ii  libfreetype6              2.2.1-5        FreeType 2 font engine, shared lib
ii  libgcc1                   1:4.1.1-17     GCC support library
ii  libice6                   1:1.0.1-2      X11 Inter-Client Exchange library
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG 
ii  libkpathsea4              3.0-23         path search library for teTeX (run
ii  libpaper1                 1.1.20         Library for handling paper charact
ii  libpng12-0                1.2.8rel-7     PNG library - runtime
ii  libpoppler0c2             0.4.5-5        PDF rendering library
ii  libsm6                    1:1.0.1-3      X11 Session Management library
ii  libstdc++6                4.1.1-17       The GNU Standard C++ Library v3
ii  libt1-5                   5.1.0-2        Type 1 font rasterizer library - r
ii  libx11-6                  2:1.0.3-2      X11 client-side library
ii  libxaw7                   1:1.0.2-4      X11 Athena Widget library
ii  libxext6                  1:1.0.1-2      X11 miscellaneous extension librar
ii  libxmu6                   1:1.0.2-2      X11 miscellaneous utility library
ii  libxpm4                   1:3.5.5-2      X11 pixmap library
ii  libxt6                    1:1.0.2-2      X11 toolkit intrinsics library
ii  mime-support              3.37-1         MIME files 'mime.types' & 'mailcap
ii  perl                      5.8.8-6.1      Larry Wall's Practical Extraction 
ii  sed                       4.1.5-1        The GNU sed stream editor
ii  tetex-base                3.0.dfsg.3-1   Basic TeX input files of teTeX
ii  ucf                       2.0016         Update Configuration File: preserv
ii  whiptail                  0.52.2-8       Displays user-friendly dialog boxe
ii  zlib1g                    1:1.2.3-13     compression library - runtime

Versions of packages tetex-extra depends on:
ii  tetex-base                  3.0.dfsg.3-1 Basic TeX input files of teTeX
ii  tetex-bin                   3.0-23       The teTeX programs
ii  ucf                         2.0016       Update Configuration File: preserv

-- debconf information:
  tetex-base/olddat: true
  tetex-base/fmtutil-failed:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:
  tex-common/singleuser: false
  tetex-base/oldupdm:
  tetex-base/updmap-failed:


--- End Message ---
--- Begin Message ---
Source: tex-common
Source-Version: 0.37

We believe that the bug you reported is fixed in the latest version of
tex-common, which is due to be installed in the Debian FTP archive:

tex-common_0.37.dsc
  to pool/main/t/tex-common/tex-common_0.37.dsc
tex-common_0.37.tar.gz
  to pool/main/t/tex-common/tex-common_0.37.tar.gz
tex-common_0.37_all.deb
  to pool/main/t/tex-common/tex-common_0.37_all.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 395274@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Küster <frank@debian.org> (supplier of updated tex-common 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: Thu, 26 Oct 2006 08:14:29 +0200
Source: tex-common
Binary: tex-common
Architecture: source all
Version: 0.37
Distribution: unstable
Urgency: low
Maintainer: Debian TeX maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Frank Küster <frank@debian.org>
Description: 
 tex-common - Common infrastructure for using and building TeX in Debian
Closes: 395274
Changes: 
 tex-common (0.37) unstable; urgency=low
 .
   * Fix bashism in postinst, thanks to Michael Biebl <biebl@teco.edu>
     (closes: #395274) [frank]
Files: 
 749f38f053e0ebf710cb29dc3f3f93e8 756 tex optional tex-common_0.37.dsc
 daf701d16881044532ac44d7cbb2d842 474060 tex optional tex-common_0.37.tar.gz
 8d6fac6c0530541cc76a60f65015cbf7 472088 tex optional tex-common_0.37_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFQFOp+xs9YyJS+hoRAmahAJ9cddlQMyUBYLcCGQetJlH79J5/6gCgmiDd
ZD9BTg7d3oPfW4l2XhqLnk0=
=P37H
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: