Your message dated Sun, 11 Dec 2011 01:17:24 +0000
with message-id <[email protected]>
and subject line Bug#651646: fixed in im-config 0.7
has caused the Debian Bug report #651646,
regarding im-config: package_status always return 1 with Russian locale
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
651646: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651646
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: im-config
Version: 0.6
Severity: important
Tags: patch
With Russian locale (LANG=ru_RU.UTF-8) dpkg-query -l has a bit different
header which breaks sed parsing. It always returns "||/", so function
returns 1 even if package is installed.
Executing dpkg-query with LANG=C fixes this problem.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-4.dmz.1-liquorix-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages im-config depends on:
ii dialog 1.1-20111020-1
ii zenity 3.2.0-1
Versions of packages im-config recommends:
ii dialog 1.1-20111020-1
ii x11-common 1:7.6+9
im-config suggests no packages.
-- Configuration Files:
/etc/X11/xinit/xinputrc [Errno 2] Нет такого файла или каталога:
u'/etc/X11/xinit/xinputrc'
-- no debconf information
diff --git a/share/xinputrc.common.in b/share/xinputrc.common.in
index 6f46707..d8fc287 100644
--- a/share/xinputrc.common.in
+++ b/share/xinputrc.common.in
@@ -37,7 +37,7 @@ run_im () {
# return TRUE if in properly installed
package_status () {
PACKAGE_NAME="$1"
- if [ "$( dpkg-query -l "$PACKAGE_NAME" 2>/dev/null | \
+ if [ "$( LANG=C dpkg-query -l "$PACKAGE_NAME" 2>/dev/null | \
sed -n '6s/\([^ ]*\) .*$/\1/p' )" = "ii" ]; then
# return TRUE
return 0
--- End Message ---
--- Begin Message ---
Source: im-config
Source-Version: 0.7
We believe that the bug you reported is fixed in the latest version of
im-config, which is due to be installed in the Debian FTP archive:
im-config_0.7.dsc
to main/i/im-config/im-config_0.7.dsc
im-config_0.7.tar.gz
to main/i/im-config/im-config_0.7.tar.gz
im-config_0.7_all.deb
to main/i/im-config/im-config_0.7_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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Osamu Aoki <[email protected]> (supplier of updated im-config 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 11 Dec 2011 09:29:43 +0900
Source: im-config
Binary: im-config
Architecture: source all
Version: 0.7
Distribution: unstable
Urgency: low
Maintainer: Osamu Aoki <[email protected]>
Changed-By: Osamu Aoki <[email protected]>
Description:
im-config - Input method configuration framework
Closes: 651646
Changes:
im-config (0.7) unstable; urgency=low
.
* Updated fcitx description.
* Added LANG=C for dpkg-query. Thanks Igor Urazov. Closes: #651646
Checksums-Sha1:
fb2a84073d6d23c9cf7e7aa145cc836fb8b9cd8a 873 im-config_0.7.dsc
60fe00a91264d7c2d3acc97b8a2b85e8238cd83d 15090 im-config_0.7.tar.gz
60740b7be4f9c3d47691d1d5bcc0d856bf5c12e7 18582 im-config_0.7_all.deb
Checksums-Sha256:
19869b72a958ff6e682ef730949a48d1240b0ce01f5fb18d58887223193f9d36 873
im-config_0.7.dsc
7e00b9d09706cd551ab1a8b9ae656a34b8eb1965fa280f971c5f0141f351d832 15090
im-config_0.7.tar.gz
a4e6eca6fc3adb19611265520c6e0c923b1ea5d3c9ddd8a406ce9ae3d032c641 18582
im-config_0.7_all.deb
Files:
ef0e144c469df1b8bf2455d6261fe3e5 873 x11 optional im-config_0.7.dsc
894f509b26b96beac541d0b8d8b3fb16 15090 x11 optional im-config_0.7.tar.gz
3160b3d7d681a9e502d228045dd5e782 18582 x11 optional im-config_0.7_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk7j+3EACgkQ6A/EwagGHzIf9wCeIfZN1BaoAmDqDaEdaD+DkZxC
CQUAnRQK0z6SuafJ7nlfwG9WKaZrQh2e
=kNmW
-----END PGP SIGNATURE-----
--- End Message ---