Replies: 6 comments 4 replies
-
Sadly I have not been able to reproduce the original issue during installation so not sure what state your system was in when you tried to install again. I wonder if you have all of the /var/log/CFEngine-Install*log files? If so, please attach them to this ticket: https://northerntech.atlassian.net/browse/CFE-4474 |
Beta Was this translation helpful? Give feedback.
-
I would say the most reasonable answer to this is that if the package fails to install and you fix something environmental to workaround that, you should fully uninstall/cleanup before attempting again. Sadly, on debian-based distributions an
I will look some more to see if there is something we can realistically do to workaround this specific upgrade from a failed install failure. Thanks again for the reports! |
Beta Was this translation helpful? Give feedback.
-
I see that the second install failure is due to the previous install failing part-way through. There isn't much more we can do with this scenario. I did add some bits to the scriptlets to fail BEFORE we unpack the contents of the package in the case that the FQDN/short-name is too long for a cert to be created. So that should avoid this problem of an unfinished previous install. Let us know if this seems a reasonable conclusion. |
Beta Was this translation helpful? Give feedback.
-
I can imagine that cleanup process on a physical service (not a VM in a cloud, which can be re-created fast) could be quite time-consuming if original package manager fails. It's hard to say how to address it in the best way... Perhaps prompting the user for input or at least providing some cleanup hints might be helpful? |
Beta Was this translation helpful? Give feedback.
-
To have a clean install I can think of the following things off the top of my head (only the first three are really necessary):
|
Beta Was this translation helpful? Give feedback.
-
Just a remark. Debian/Ubuntu has two removal options. the |
Beta Was this translation helpful? Give feedback.
-
After mitigating the root cause of the unsuccessful installation attempt (#5657), it still fails to install with the following error:
Beta Was this translation helpful? Give feedback.
All reactions