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

ChangZhuo Chen (=?UTF-8?Q?=E9=99=B3=E6=98=8C=E5=80=AC?=) czchen at debian.org
Thu Jun 23 11:16:54 UTC 2016


Control: tags -1 moreinfo

On Wed, Jun 22, 2016 at 01:10:51PM -0400, Chung-chieh Shan wrote:
> "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!

I cannot reprocedure the issue when doing flash install on
0.9.10+git20150916+dfsg1-4. The only way to reprocedure the issue is to
upgrade from 0.9.10+git20150916+dfsg1-3 to 0.9.10+git20150916+dfsg1-4.
Could you help to confirm that?


-- 
ChangZhuo Chen (陳昌倬) <czchen at debian.org>
Debian Developer (https://nm.debian.org/public/person/czchen)
Key fingerprint = EC9F 905D 866D BE46 A896  C827 BE0C 9242 03F4 552D
                  BA04 346D C2E1 FE63 C790  8793 CC65 B0CD EC27 5D5B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ime-devel/attachments/20160623/215f6945/attachment.sig>


More information about the Pkg-ime-devel mailing list