<div dir="ltr"><br><div>Ok, I removed the files in that directory, manually removed 389-ds-base, cleaned up the user/group and some left over directories and all installed/configured correctly.</div><div><br></div><div>-R</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 21, 2017 at 1:03 PM Timo Aaltonen <<a href="mailto:tjaalton@ubuntu.com">tjaalton@ubuntu.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 21.02.2017 17:33, Robert L. Harris wrote:<br class="gmail_msg">
> This was a clean install of Ubuntu.  If I install freeipa-server I get<br class="gmail_msg">
> the error from the original email.  If I do a "apt install<br class="gmail_msg">
> freeipa-server" I do see it will install python-ipaserver.  When I let<br class="gmail_msg">
> it run it downloads and everything and starts setting everything up.  I<br class="gmail_msg">
> get this:<br class="gmail_msg">
><br class="gmail_msg">
> Processing triggers for ureadahead (0.100.0-19) ...<br class="gmail_msg">
> Errors were encountered while processing:<br class="gmail_msg">
>  389-ds-base<br class="gmail_msg">
>  freeipa-server<br class="gmail_msg">
>  freeipa-server-dns<br class="gmail_msg">
> E: Sub-process /usr/bin/dpkg returned an error code (1)<br class="gmail_msg">
<br class="gmail_msg">
And I installed it on a clean chroot and the packages installed fine<br class="gmail_msg">
without issues. Note that the pki-server spam is expected and not an error.<br class="gmail_msg">
<br class="gmail_msg">
> If I run the python command you gave me at this point I get this:<br class="gmail_msg">
><br class="gmail_msg">
> python2 -c 'from ipaserver.install import installutils; print "yes" if<br class="gmail_msg">
> installutils.is_ipa_configured() else "no";'<br class="gmail_msg">
> yes<br class="gmail_msg">
<br class="gmail_msg">
This means that you have some files around which a clean install should<br class="gmail_msg">
not have. Check the contents of /var/lib/ipa/sysrestore.<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div>