[Adduser-devel] Bug#613009: On upgrade preconf: /tmp/adduser.config.PID: line 2[36]: [: too many arguments

Stephen Gran sgran at debian.org
Mon Jun 13 07:04:12 UTC 2011


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
> 0755

So, 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>


More information about the Adduser-devel mailing list