If a (system) user 'ntp' exists, but no group 'ntp' exists, the postinst
script fails.
I tracked it down to this section:
if [ "$1" = "configure" ]; then
adduser --system --quiet --group --no-create-home ntp || :
chown -R ntp:ntp /var/lib/ntp /var/log/ntpstats
calling the adduser command as above without the --quiet gives the following
error message:
r...@dev:/var/lib/dpkg/info# adduser --system --group --no-create-home ntp
The user `ntp' already exists. Exiting.
This makes the chown failing...
--
package ntp fails to install if user ntp exists
https://bugs.launchpad.net/bugs/296596
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs