Debian Bug report logs - #486877
translated prompt does not accept proper answers

version graph

Package: adduser; Maintainer for adduser is Debian Adduser Developers <adduser@packages.debian.org>; Source for adduser is src:adduser (PTS, buildd, popcon).

Reported by: martin f krafft <madduck@debian.org>

Date: Wed, 18 Jun 2008 17:57:01 UTC

Severity: normal

Found in versions adduser/3.108, adduser/3.112+nmu1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#486877; Package adduser. (full text, mbox, link).


Message #3 received at submit@bugs.debian.org (full text, mbox, reply):

From: martin f krafft <madduck@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: translated prompt does not accept proper answers
Date: Wed, 18 Jun 2008 19:54:45 +0200
[Message part 1 (text/plain, inline)]
Package: adduser
Version: 3.108
Severity: normal

After creating a user with the de_DE locale, j is not accepted, only
y is.

[...]
Sind die Informationen korrekt? [j/N] j
Ändere Benutzerinformationen für madduck
Geben Sie einen neuen Wert an oder ENTER für den Standardwert
	Name [martin f. krafft]: 
	Raumnummer []: 
	Telefon geschäftlich []: 
	Telefon privat []: 
	Sonstiges []: 
Sind die Informationen korrekt? [j/N] y
$ 

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

Kernel: Linux 2.6.25-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages adduser depends on:
ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy
ii  passwd                        1:4.1.1-2  change and administer password and
ii  perl-base                     5.10.0-10  The Pathologically Eclectic Rubbis

adduser recommends no packages.

-- debconf information excluded


-- 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
[digital_signature_gpg.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#486877; Package adduser. (full text, mbox, link).


Acknowledgement sent to Stephen Gran <sgran@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (full text, mbox, link).


Message #8 received at 486877@bugs.debian.org (full text, mbox, reply):

From: Stephen Gran <sgran@debian.org>
To: martin f krafft <madduck@debian.org>, 486877@bugs.debian.org
Subject: Re: [Adduser-devel] Bug#486877: translated prompt does not accept proper answers
Date: Wed, 18 Jun 2008 19:40:36 +0100
[Message part 1 (text/plain, inline)]
This one time, at band camp, martin f krafft said:
> After creating a user with the de_DE locale, j is not accepted, only
> y is.

Do you have perl installed (or more specifically, do you have
I18N::Langinfo on your system)?  It's an optional module that we
conditionally load.  If it's not loaded, input in locales other than
English doesn't work, unsurprisingly.

If you do have that installed, let me know and I'll dig through the
logic there - there were some recent changes, so it's possible I've
introduced a bug.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#486877; Package adduser. (Sat, 06 Nov 2010 17:57:06 GMT) (full text, mbox, link).


Acknowledgement sent to Yuri Kozlov <yuray@komyakino.ru>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Sat, 06 Nov 2010 17:57:06 GMT) (full text, mbox, link).


Message #13 received at 486877@bugs.debian.org (full text, mbox, reply):

From: Yuri Kozlov <yuray@komyakino.ru>
To: 486877@bugs.debian.org
Cc: David Prévot <david@tilapin.org>, Sergey Alyoshin <alyoshin.s@gmail.com>
Subject: translated prompt does not accept proper answers
Date: Sat, 6 Nov 2010 20:46:55 +0300
[Message part 1 (text/plain, inline)]
Package: adduser
Version: 3.112+nmu1
Tags: l10n, patch
Severity: normal

Hello.
Here patch, which resolved this problem (and #442619 too).


-- 
Best Regards,
Yuri Kozlov

[adduser-yn.patch (text/x-patch, attachment)]

Added tag(s) pending. Request was from David Prévot <david@tilapin.org> to control@bugs.debian.org. (Wed, 10 Nov 2010 01:51:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#486877; Package adduser. (Sun, 21 Nov 2010 21:12:03 GMT) (full text, mbox, link).


Acknowledgement sent to Simon Paillard <spaillard@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Sun, 21 Nov 2010 21:12:03 GMT) (full text, mbox, link).


Message #20 received at 486877@bugs.debian.org (full text, mbox, reply):

From: Simon Paillard <spaillard@debian.org>
To: Yuri Kozlov <yuray@komyakino.ru>, 486877@bugs.debian.org
Cc: David Prévot <david@tilapin.org>, Sergey Alyoshin <alyoshin.s@gmail.com>
Subject: Re: Bug#486877: translated prompt does not accept proper answers
Date: Sun, 21 Nov 2010 22:09:33 +0100
tags 486877 -patch -pending
tags 442619 -pending
thanks

Hi,

On Sat, Nov 06, 2010 at 08:46:55PM +0300, Yuri Kozlov wrote:
> Package: adduser
> Version: 3.112+nmu1
> Tags: l10n, patch
> Severity: normal
> 
> Here patch, which resolved this problem (and #442619 too).

Though it works *with perl-modules installed*, unfortunately, in a clean sid
chroot without perl-modules, the patch breaks adduser:

# adduser test
Can't locate Encode.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/sbin/adduser line 78.
BEGIN failed--compilation aborted at /usr/sbin/adduser line 78.


-- 
Simon Paillard




Removed tag(s) pending. Request was from Simon Paillard <spaillard@debian.org> to control@bugs.debian.org. (Sun, 21 Nov 2010 21:12:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>:
Bug#486877; Package adduser. (Mon, 22 Nov 2010 19:45:07 GMT) (full text, mbox, link).


Acknowledgement sent to Yuri Kozlov <yuray@komyakino.ru>:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser-devel@lists.alioth.debian.org>. (Mon, 22 Nov 2010 19:45:07 GMT) (full text, mbox, link).


Message #27 received at 486877@bugs.debian.org (full text, mbox, reply):

From: Yuri Kozlov <yuray@komyakino.ru>
To: Simon Paillard <spaillard@debian.org>
Cc: 486877@bugs.debian.org, David Prévot <david@tilapin.org>, Sergey Alyoshin <alyoshin.s@gmail.com>
Subject: Re: Bug#486877: translated prompt does not accept proper answers
Date: Mon, 22 Nov 2010 22:42:36 +0300
[Message part 1 (text/plain, inline)]
В Sun, 21 Nov 2010 22:09:33 +0100
Simon Paillard <spaillard@debian.org> пишет:

> tags 486877 -patch -pending
> tags 442619 -pending
> thanks
> 
> Hi,
> 
> On Sat, Nov 06, 2010 at 08:46:55PM +0300, Yuri Kozlov wrote:
> > Package: adduser
> > Version: 3.112+nmu1
> > Tags: l10n, patch
> > Severity: normal
> > 
> > Here patch, which resolved this problem (and #442619 too).
> 
> Though it works *with perl-modules installed*, unfortunately, in a clean
> sid chroot without perl-modules, the patch breaks adduser:
> 
> # adduser test
> Can't locate Encode.pm in @INC (@INC
> contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .)
> at /usr/sbin/adduser line 78. BEGIN failed--compilation aborted
> at /usr/sbin/adduser line 78.

Ok, I look into debconf code and rewrite patch without Encode.pm.

-- 
Best Regards,
Yuri Kozlov

[adduser-yn-wo-encode.patch (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Adduser Developers <adduser@packages.debian.org>:
Bug#486877; Package adduser. (Sun, 18 Feb 2018 13:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to vadyba@klientai.eu:
Extra info received and forwarded to list. Copy sent to Debian Adduser Developers <adduser@packages.debian.org>. (Sun, 18 Feb 2018 13:45:03 GMT) (full text, mbox, link).


Added tag(s) patch. Request was from Marc Haber <mh+debian-packages@zugschlus.de> to control@bugs.debian.org. (Tue, 08 Mar 2022 16:15:06 GMT) (full text, mbox, link).


Removed tag(s) patch. Request was from Marc Haber <mh+debian-packages@zugschlus.de> to control@bugs.debian.org. (Thu, 30 Jun 2022 12:45:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 20:57:01 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.