I have an issue trying to install freeipa-client on Ubuntu16.04 (worked on other 16.04
servers but this one is somehow failing).
The problem is with the postinst script that fails on this line:
python2 -c 'from ipapython.certdb import create_ipa_nssdb; create_ipa_nssdb()'
>/dev/null 2>&1
While trying to run from CLI: python2 -c 'from ipapython.certdb import
create_ipa_nssdb’, I’m getting:
ImportError: cannot import name create_ipa_nssdb
I have checked the python file in question:
/usr/local/lib/python2.7/dist-packages/ipapython/certdb.py, there is no definition for
create_ipa_nssdb
Any idea? I already tried to purge and reinstall the freeipa-client, but no luck.
Milos
Show replies by date