Bug#348963: pkgsel: perl warning can be disabled by using PERL_BADLANG

2006-01-23 Thread Joey Hess
Kenshi Muto wrote:
 But strangely, first tasksel screen still won't show translation; At
 the moment, only the core of Debian is... and Choose software to
 install:.
 All of processes derived from tasksel use a translation.
 
 I tried:
 - Run tasksel on target chroot. It works correctly.
 - Uncomment LANG=C of pkgsel. No effect.
 - Change it to LANG=ja_JP.UTF-8. No effect.

If you boot with DEBCONF_DEBUG=. there will probably be enough messages
in syslog during the tasksel run to track this down.

-- 
see shy jo


signature.asc
Description: Digital signature


Bug#348963: pkgsel: perl warning can be disabled by using PERL_BADLANG

2006-01-22 Thread Kenshi Muto
At Sat, 21 Jan 2006 19:07:59 -0500,
Joey Hess wrote:
 kmuto wrote:
  But I think we can disable a perl warning by just setting PERL_BADLANG=0
  instead of doing LANG=C.
  LANG=C makes all of messages derived from pkgsel to English. It's not
  so good for non English people.
 
 The LANG=C setting only affects chroot calls in pkgsel, not calls to
 in-target which is used for all interaction and package installation.

Thanks, you're right about it.

But strangely, first tasksel screen still won't show translation; At
the moment, only the core of Debian is... and Choose software to
install:.
All of processes derived from tasksel use a translation.

I tried:
- Run tasksel on target chroot. It works correctly.
- Uncomment LANG=C of pkgsel. No effect.
- Change it to LANG=ja_JP.UTF-8. No effect.

Thanks,
-- 
Kenshi Muto
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#348963: pkgsel: perl warning can be disabled by using PERL_BADLANG

2006-01-21 Thread Joey Hess
kmuto wrote:
 But I think we can disable a perl warning by just setting PERL_BADLANG=0
 instead of doing LANG=C.
 LANG=C makes all of messages derived from pkgsel to English. It's not
 so good for non English people.

The LANG=C setting only affects chroot calls in pkgsel, not calls to
in-target which is used for all interaction and package installation.

These are the only chroot calls that are affected:

log-output -t pkgsel chroot /target dpkg-divert \
--package pkgsel --rename --quiet --remove $divert

log-output -t pkgsel chroot /target dpkg-divert --package pkgsel \
--rename --quiet --add $divert
config=$(chroot /target debconf-apt-progress --config| sed s/$/;/)

log-output -t pkgsel chroot /target scrollkeeper-update -q || true

None of these output any text at all.

The d-i LANG setting is always C.UTF-8, no matter what language the
install is happening in. This is not an appropriate LANG to use in the
chroot, since it's not a valid libc locale.

-- 
see shy jo


signature.asc
Description: Digital signature


Bug#348963: pkgsel: perl warning can be disabled by using PERL_BADLANG

2006-01-19 Thread kmuto
Package: pkgsel
Severity: normal
Version: 0.04

Hi,

pkgsel is running with LANG=C because of:
  * Set LANG to C in postinst so that the bare chroot calls don't trigger
perl warning messages for C.UTF-8 locale. (See #344159)

But I think we can disable a perl warning by just setting PERL_BADLANG=0
instead of doing LANG=C.
LANG=C makes all of messages derived from pkgsel to English. It's not
so good for non English people.

Thanks,
-- 
Kenshi Muto
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]