Bug#351968: [Adduser-devel] Bug#351968: "Undefined subroutine &main::gtx called at /usr/sbin/adduser line 125" when adding user

Marc Haber mh+debian-packages at zugschlus.de
Thu Feb 9 16:24:58 UTC 2006

On Thu, Feb 09, 2006 at 02:32:57PM +0100, S??awomir 'Lamagra' Wróbel wrote:
> Marc Haber napisa??(a):
> > What exactly are you trying to do?
> > 
> > Line 125 is an error message that is only printed if none or more then
> > two non-option parameters are passed.
> > 
> > Greetings
> > Marc
> > 
> I saw this problem when I was upgrading amavisd-new and cyrus21-common,
> both of this package want to add user amavis & cyrus - Instalation was
> stopped with "Undefined subroutine &main::gtx called". Then I tried to
> add this users manual with "adduser amavis", result was the same
> "Undefined subroutine &main::gtx called".

Please try "/usr/sbin/adduser somename".

If that doesn't work, please re-try with an english locale.

Dnd if that doesn't work, please execute
strace -f -s 2000 -o strace.adduser /usr/sbin/adduser somename
and send the gzipped strace.adduser file in private mail.

Thanks in advance.

> Even if I tried to run adduser
> without any parameters, result was the same,

This is the only case where the code in line 125 is actually supposed
to be executed. But it shouldn't trigger that error in the first place.


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835

More information about the Adduser-devel mailing list