Discussion:
[Freeipa-users] "Purge" scripts?
Robert L. Harris
2017-04-26 18:07:57 UTC
Permalink
So twice now I've tried installing freeipa on an Ubuntu 16.04 system.
Both times I've gotten an error and followed the instructions to "fix it"
and they didn't work so I removed files ( with purge ), cleaned up
everything I could find related to freeipa, sssd and kerb but trying to run
it again gives either a different error or the same error with a different
process output indicating it's not 100% clean.

Is there a known list of paths, packages or files to make sure are
un-installed or wiped out to make the system 100% clean? Preferably for
Ubuntu.

Robert
Martin Bašti
2017-04-27 15:00:56 UTC
Permalink
Post by Robert L. Harris
So twice now I've tried installing freeipa on an Ubuntu 16.04
system. Both times I've gotten an error and followed the instructions
to "fix it" and they didn't work so I removed files ( with purge ),
cleaned up everything I could find related to freeipa, sssd and kerb
but trying to run it again gives either a different error or the same
error with a different process output indicating it's not 100% clean.
Is there a known list of paths, packages or files to make sure are
un-installed or wiped out to make the system 100% clean? Preferably
for Ubuntu.
Robert
Hello, could you be more specific about the errors?

Martin
--
Martin Bašti
Software Engineer
Red Hat Czech
Robert L. Harris
2017-04-27 15:03:09 UTC
Permalink
It changes each time it seems. In a minute I'm going to do a completely
virgin install under a "script" session for Ubuntu 16.04 and 17.04 with and
with the PPAs then upload the scripts to pastebin so they can be looked at.

Robert
Post by Robert L. Harris
So twice now I've tried installing freeipa on an Ubuntu 16.04 system.
Both times I've gotten an error and followed the instructions to "fix it"
and they didn't work so I removed files ( with purge ), cleaned up
everything I could find related to freeipa, sssd and kerb but trying to run
it again gives either a different error or the same error with a different
process output indicating it's not 100% clean.
Is there a known list of paths, packages or files to make sure are
un-installed or wiped out to make the system 100% clean? Preferably for
Ubuntu.
Robert
Hello, could you be more specific about the errors?
Martin
--
Martin Bašti
Software Engineer
Red Hat Czech
Rob Crittenden
2017-04-27 15:06:37 UTC
Permalink
Post by Martin Bašti
Post by Robert L. Harris
So twice now I've tried installing freeipa on an Ubuntu 16.04
system. Both times I've gotten an error and followed the instructions
to "fix it" and they didn't work so I removed files ( with purge ),
cleaned up everything I could find related to freeipa, sssd and kerb
but trying to run it again gives either a different error or the same
error with a different process output indicating it's not 100% clean.
Is there a known list of paths, packages or files to make sure are
un-installed or wiped out to make the system 100% clean? Preferably
for Ubuntu.
Robert
Hello, could you be more specific about the errors?
I think it is a misunderstanding. Removing the packages doesn't undo the
configuration. I think he needs to reinstall the packages and run
ipa-server-install --uninstall (though the ipa-upgrade post-install
command may blow up on reinstall).

rob
--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org
Robert L. Harris
2017-04-27 15:53:14 UTC
Permalink
"apt-get remove --purge <pkg>" or "dpkg -P <pkg>" should remove all
files. One a previous build I tried the --uninstall and got an error.
Right now I'm trying the PPA and 17.04 and getting a KRB error.
Post by Rob Crittenden
Post by Martin Bašti
Post by Robert L. Harris
So twice now I've tried installing freeipa on an Ubuntu 16.04
system. Both times I've gotten an error and followed the instructions
to "fix it" and they didn't work so I removed files ( with purge ),
cleaned up everything I could find related to freeipa, sssd and kerb
but trying to run it again gives either a different error or the same
error with a different process output indicating it's not 100% clean.
Is there a known list of paths, packages or files to make sure are
un-installed or wiped out to make the system 100% clean? Preferably
for Ubuntu.
Robert
Hello, could you be more specific about the errors?
I think it is a misunderstanding. Removing the packages doesn't undo the
configuration. I think he needs to reinstall the packages and run
ipa-server-install --uninstall (though the ipa-upgrade post-install
command may blow up on reinstall).
rob
Rob Crittenden
2017-04-27 16:07:34 UTC
Permalink
Post by Robert L. Harris
"apt-get remove --purge <pkg>" or "dpkg -P <pkg>" should remove all
files. One a previous build I tried the --uninstall and got an error.
Right now I'm trying the PPA and 17.04 and getting a KRB error.
As I said, configuration is not erased on package removal, on purpose
(in Fedora anyway, I've never examined the debian packaging).

Without exact error messages and logs it will be very difficult to
diagnose the problems you're having.

rob
Post by Robert L. Harris
Post by Martin Bašti
Post by Robert L. Harris
So twice now I've tried installing freeipa on an Ubuntu 16.04
system. Both times I've gotten an error and followed the
instructions
Post by Martin Bašti
Post by Robert L. Harris
to "fix it" and they didn't work so I removed files ( with purge ),
cleaned up everything I could find related to freeipa, sssd and kerb
but trying to run it again gives either a different error or the same
error with a different process output indicating it's not 100% clean.
Is there a known list of paths, packages or files to make sure are
un-installed or wiped out to make the system 100% clean? Preferably
for Ubuntu.
Robert
Hello, could you be more specific about the errors?
I think it is a misunderstanding. Removing the packages doesn't undo the
configuration. I think he needs to reinstall the packages and run
ipa-server-install --uninstall (though the ipa-upgrade post-install
command may blow up on reinstall).
rob
--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go t
Continue reading on narkive:
Loading...