You're right, update-cracklib is called in postinst. update-cracklib fails if /etc/cracklib/cracklib.conf doesn't exist:
if [ -r "/etc/cracklib/cracklib.conf" ] then . /etc/cracklib/cracklib.conf else echo Error: cannot read configuration file /etc/cracklib/cracklib.conf exit 1 fi maybe this error was ignored by the postinst script in the version currently in Ubuntu. 2.8.13-1 (in Debian Sid) adds a set -e to postinst which should stop this wrong behavior. Another reason for this problem could be a missing dictionary (no dictionary package installed at the machine). The cracklib dictionary is built from the dictionaries installed and user dictionaries in /usr/local/share/dict /usr/local/dict by default. -- libpam-cracklib cannot find cracklib_dict.pwd after install https://bugs.launchpad.net/bugs/278743 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs