[pkg-fetchmail-maint] Bug#348855: fetchmail: postinst fails (wrong
call to "usermod")
Gilles
gilles at harfang.homelinux.org
Thu Jan 19 12:34:52 UTC 2006
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
Regards,
Gilles
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-vs2.1.0-rc5+g3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages fetchmail depends on:
ii adduser 3.80 Add and remove users and groups
ii debianutils 2.15.2 Miscellaneous utilities specific t
ii gettext 0.14.5-2 GNU Internationalization utilities
ii libc6 2.3.5-7 GNU C Library: Shared libraries an
ii libssl0.9.8 0.9.8a-5 SSL shared libraries
Versions of packages fetchmail recommends:
ii ca-certificates 20050804 Common CA Certificates PEM files
-- no debconf information
More information about the pkg-fetchmail-maint
mailing list