Installer fails when Nix is already installed #26
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reported from a colleague at work:
Error
Metadata
Thanks for the report! Can you tell me more about the environment? Running with trace logging enabled would also help a lot! (command-line flag
-vv
)What I suspect has happened is that
nix
was installed, andlix-installer
was launched to installlix
. The installer doesn't yet know how to upgrade an existing installation, so I think it tried to installlix
as ifnix
isn't installed and had an issue because the system already used a socket with the same name.In any case, this is horrible UX. We should check for the existing install at the very least, and really we should support upgrading. For now, I think your colleague will have to run
lix-installer uninstall
and then runlix-installer install
.