[Pkg-utopia-maintainers] Bug#501601: Bug#501601: Hal does not install

Joerg Hoh joerg at joerghoh.de
Wed Oct 8 19:55:57 UTC 2008


On Wed, Oct 08, 2008 at 09:24:35PM +0200, Michael Biebl wrote:
> >  
> > Setting up hal (0.5.11-4) ...
> > adduser: Please enter a username matching the regular expression configured
> > via the NAME_REGEX configuration variable.  Use the `--force-badname'
> > option to relax this check or reconfigure NAME_REGEX.
> > dpkg: error processing hal (--configure):
> >  subprocess post-installation script returned error exit status 1
> > Errors were encountered while processing:
> >  hal
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > 
> > The postinst script has the following call:
> > 
> >     adduser --system \
> >             --quiet  \
> >             --disabled-password \
> >             --no-create-home \
> >             --home "/var/run/hal" \
> >             --gecos "Hardware abstraction layer" \
> >             --group haldaemon
> > 
> > But it seems to miss the user which should be created ("haldaemon").
> 
> The adduser call is correct.

I doubt it, because I don't see any username; adduser requires one argument if
you want to add a user -- the name of the user.

> Have you a locally modified /etc/adduser.conf?

nope

> What does "debsums -a adduser" say? (Install the debsums package for
> that to work)

Everything ok

> What is the output of "whereis adduser"?

joerg at odysseus ~ $ sudo whereis adduser
adduser: /usr/sbin/adduser /etc/adduser.conf /usr/share/adduser
/usr/share/man/man8/adduser.8.gz

> Have you set the NAME_REGEX configuration variable?

joerg at odysseus ~ $ grep "NAME_REGEX" /etc/adduser.conf
NAME_REGEX="^[a-z][-a-z0-9\.]*\$"

Jörg

-- 
What did you do to the cat? It looks half-dead. -Schroedinger's wife
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20081008/bfc97ec4/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list