Lionel Elie Mamane
2011-Feb-12 07:41 UTC
Bug#613009: On upgrade preconf: /tmp/adduser.config.PID: line 2[36]: [: too many arguments
Package: adduser Version: 3.112+nmu2 Severity: normal When upgrading from 3.110: Preconfiguring packages ... /tmp/adduser.config.50053: line 23: [: too many arguments /tmp/adduser.config.50053: line 23: [: too many arguments /tmp/adduser.config.50053: line 26: [: too many arguments /tmp/adduser.config.50053: line 26: [: too many arguments -- System Information: Debian Release: squeeze/sid APT prefers stable APT policy: (500, ''stable''), (200, ''unstable''), (1, ''experimental'') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages adduser depends on: ii debconf [debconf-2.0 1.5.36.1 Debian configuration management sy ii passwd 1:4.1.4.2+svn3283-2 change and administer password and ii perl-base 5.10.1-16 minimal Perl system adduser recommends no packages. Versions of packages adduser suggests: ii liblocale-gettext-perl 1.05-4 Using libc functions for internati ii perl-modules 5.10.1-16 Core Perl modules -- debconf information: adduser/homedir-permission: true adduser/homedir-changed: true
Stephen Gran
2011-Jun-12 17:00 UTC
[Adduser-devel] Bug#613009: On upgrade preconf: /tmp/adduser.config.PID: line 2[36]: [: too many arguments
This one time, at band camp, Lionel Elie Mamane said:> When upgrading from 3.110: > > Preconfiguring packages ... > /tmp/adduser.config.50053: line 23: [: too many arguments > /tmp/adduser.config.50053: line 23: [: too many arguments > /tmp/adduser.config.50053: line 26: [: too many arguments > /tmp/adduser.config.50053: line 26: [: too many argumentsPlease provide the output of this command: cat /etc/adduser.conf | sed -ne ''s/^DIR_MODE=\(.*\)$/\1/p;'' Cheers, -- ----------------------------------------------------------------- | ,''''`. Stephen Gran | | : :'' : sgran at debian.org | | `. `'' Debian user, admin, and developer | | `- http://www.debian.org | ----------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20110612/53f62355/attachment-0001.pgp>
Lionel Elie Mamane
2011-Jun-12 17:13 UTC
[Adduser-devel] Bug#613009: On upgrade preconf: /tmp/adduser.config.PID: line 2[36]: [: too many arguments
On Sun, Jun 12, 2011 at 06:00:55PM +0100, Stephen Gran wrote:> This one time, at band camp, Lionel Elie Mamane said:>> When upgrading from 3.110:>> Preconfiguring packages ... >> /tmp/adduser.config.50053: line 23: [: too many arguments >> /tmp/adduser.config.50053: line 23: [: too many arguments >> /tmp/adduser.config.50053: line 26: [: too many arguments >> /tmp/adduser.config.50053: line 26: [: too many arguments> Please provide the output of this command: > cat /etc/adduser.conf | sed -ne ''s/^DIR_MODE=\(.*\)$/\1/p;''$ cat /etc/adduser.conf | sed -ne ''s/^DIR_MODE=\(.*\)$/\1/p;'' 0755 0755 I''m fairly sure I didn''t touch this setting in that file myself. -- Lionel
Stephen Gran
2011-Jun-13 07:04 UTC
[Adduser-devel] Bug#613009: On upgrade preconf: /tmp/adduser.config.PID: line 2[36]: [: too many arguments
This one time, at band camp, Lionel Elie Mamane said: Hi,> On Sun, Jun 12, 2011 at 06:00:55PM +0100, Stephen Gran wrote: > > This one time, at band camp, Lionel Elie Mamane said: > > >> When upgrading from 3.110: > > >> Preconfiguring packages ... > >> /tmp/adduser.config.50053: line 23: [: too many arguments > >> /tmp/adduser.config.50053: line 23: [: too many arguments > >> /tmp/adduser.config.50053: line 26: [: too many arguments > >> /tmp/adduser.config.50053: line 26: [: too many arguments > > > Please provide the output of this command: > > cat /etc/adduser.conf | sed -ne ''s/^DIR_MODE=\(.*\)$/\1/p;'' > > $ cat /etc/adduser.conf | sed -ne ''s/^DIR_MODE=\(.*\)$/\1/p;'' > 0755 > 0755So, what tripped the bug is that you have the same directive twice. I''ve made the test more robust, which will stop the config script from complaining like this in the future, but I would suggest commenting out one of those two on your local system. Cheers, -- ----------------------------------------------------------------- | ,''''`. Stephen Gran | | : :'' : sgran at debian.org | | `. `'' Debian user, admin, and developer | | `- http://www.debian.org | ----------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20110613/6349d5f5/attachment-0001.pgp>
Debian Bug Tracking System
2011-Jun-13 19:51 UTC
[Adduser-devel] Bug#613009: marked as done (On upgrade preconf: /tmp/adduser.config.PID: line 2[36]: [: too many arguments)
Your message dated Mon, 13 Jun 2011 19:47:09 +0000 with message-id <E1QWD6L-0004FY-MK at franck.debian.org> and subject line Bug#613009: fixed in adduser 3.113 has caused the Debian Bug report #613009, regarding On upgrade preconf: /tmp/adduser.config.PID: line 2[36]: [: too many arguments 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 owner at bugs.debian.org immediately.) -- 613009: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613009 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Lionel Elie Mamane <lionel at mamane.lu> Subject: On upgrade preconf: /tmp/adduser.config.PID: line 2[36]: [: too many arguments Date: Sat, 12 Feb 2011 08:41:46 +0100 Size: 2843 URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20110613/0c7a4307/attachment-0002.mht> -------------- next part -------------- An embedded message was scrubbed... From: Stephen Gran <sgran at debian.org> Subject: Bug#613009: fixed in adduser 3.113 Date: Mon, 13 Jun 2011 19:47:09 +0000 Size: 5233 URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20110613/0c7a4307/attachment-0003.mht>