Couldn't parse `/etc/adduser.conf'

Bug #36267 reported by Vincent Untz on 2005-11-18
24
Affects Status Importance Assigned to Milestone
adduser (Ubuntu)
Medium
Unassigned

Bug Description

While installing hplip (in dapper):

Creating/updating hplip user account...
adduser: Couldn't parse `/etc/adduser.conf':29.
adduser: Couldn't parse `/etc/adduser.conf':30.
adduser: Couldn't parse `/etc/adduser.conf':31.
adduser: Couldn't parse `/etc/adduser.conf':32.
adduser: Couldn't parse `/etc/adduser.conf':36.
adduser: Couldn't parse `/etc/adduser.conf':37.
adduser: Couldn't parse `/etc/adduser.conf':38.
adduser: Couldn't parse `/etc/adduser.conf':39.
adduser: Couldn't parse `/etc/adduser.conf':49.
adduser: Couldn't parse `/etc/adduser.conf':57.
adduser: Couldn't parse `/etc/adduser.conf':64.

Vincent Untz (vuntz) wrote :

Created an attachment (id=4973)
adduser.conf

FWIW, I never touched this file. So I suppose it's the default one.

Markus Jonskog (omljud) wrote :

Got the same error while updating hal.

It's an error in /usr/share/perl5/Debian/AdduserCommon.pm .
The character _ is at the moment not valid in option names in adduser.conf.

In the subroutine read_config, change

if ((($var, $val) = /^\s*([a-zA-Z0-9]+)\s*=\s*(.*)/) != 2) {

to

if ((($var, $val) = /^\s*([_a-zA-Z0-9]+)\s*=\s*(.*)/) != 2) {

Sebastien Bacher (seb128) wrote :

Debian has fixed it

Matt Zimmerman (mdz) wrote :

...and I've requested a sync

Sebastien Bacher (seb128) wrote :

fixed

Colin Watson (cjwatson) wrote :

*** Bug 26050 has been marked as a duplicate of this bug. ***

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments