Bug#348855: [pkg-fetchmail-maint] Bug#348855: fetchmail: postinst fails (wrong call to "usermod")

Héctor García hector at debian.org
Mon Jan 23 09:32:49 UTC 2006


El jue, 19-01-2006 a las 13:34 +0100, Gilles escribió:
> Package: fetchmail
> Version: 6.3.1-4
> Severity: normal
> 
> Hi.
> 
> The error:
> 
>  Setting up fetchmail (6.3.1-4) ...
>  usermod: invalid option -- -
>  Usage: usermod  [-u uid [-o]] [-g group] [[-G group,...] [-a]]
>                  [-d home [-m]] [-s shell] [-c comment] [-l new_name]
>                  [-f inactive] [-e expire] [-p passwd] [-L|-U] name
>  dpkg: error processing fetchmail (--configure):
>   subprocess post-installation script returned error exit status 2
>  Errors were encountered while processing:
>   fetchmail
>  E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> The postinst script contains the line:
> 
>   usermod --home /var/lib/fetchmail fetchmail
> 
> which, I think, should have been:
> 
>   usermod -d /var/lib/fetchmail fetchmail
> 
> 
>From the usermod manual page

-d, --home HOME_DIR

Your problem must be on other place.
Could you give us more info?

Regards,

Héctor





More information about the pkg-fetchmail-maint mailing list