[Pkg-ime-devel] Bug#827927: hime: postinst fails due to "set -e" and "dpkg --compare-versions"

Chung-chieh Shan ccshan at post.harvard.edu
Wed Jun 22 17:10:51 UTC 2016


Package: hime
Version: 0.9.10+git20150916+dfsg1-4
Severity: serious
Tags: patch
Justification: Policy 6.4

"hime.postinst configure" fails because it performs "set -e" at the top
then tests "dpkg --compare-versions".  The lines

    dpkg --compare-versions $2 lt 0.9.10+git20150916+dfsg1-3~
    if [ $? ]; then

should instead read

    if dpkg --compare-versions $2 lt 0.9.10+git20150916+dfsg1-3~; then

Thanks!

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages hime depends on:
ii  hime-data            0.9.10+git20150916+dfsg1-4
ii  hime-tables          0.9.10+git20150916+dfsg1-4
ii  libappindicator1     0.4.92-4
ii  libc6                2.22-12
ii  libcairo2            1.14.6-1+b1
ii  libgdk-pixbuf2.0-0   2.34.0-1
ii  libglib2.0-0         2.48.1-1
ii  libgtk2.0-0          2.24.30-2
ii  libhime              0.9.10+git20150916+dfsg1-4
ii  libpango-1.0-0       1.40.1-1
ii  libpangocairo-1.0-0  1.40.1-1
ii  libx11-6             2:1.6.3-1
ii  libxtst6             2:1.2.2-1+b1

Versions of packages hime recommends:
ii  hime-gtk2-immodule  0.9.10+git20150916+dfsg1-4
ii  hime-gtk3-immodule  0.9.10+git20150916+dfsg1-4
ii  im-config           0.29-1.4

Versions of packages hime suggests:
pn  gcin-voice         <none>
ii  hime-anthy         0.9.10+git20150916+dfsg1-4
ii  hime-chewing       0.9.10+git20150916+dfsg1-4
ii  hime-qt4-immodule  0.9.10+git20150916+dfsg1-4
pn  hime-qt5-immodule  <none>

-- no debconf information

-- 
Edit this signature at http://conway.bostoncoop.net/~ccshan/cgi-bin/sig
Greens for Europe https://www.greenparty.org.uk/europe
Feel the Bern https://berniesanders.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 173 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ime-devel/attachments/20160622/86d2259e/attachment.sig>


More information about the Pkg-ime-devel mailing list