Arch's and Fedora's dependencies not properly handled by LLI binary
Fedora's dnf (and yum) is actually a python script. Since LLI includes its own python libraries, there seems to be some kind of library mismatch when the binary tries to run dnf commands. The only known output at the moment is that the dnf list installed command exits with a non-zero exit code (1).
Proposed workaround: use rpm to check installed packages, then provide a command to the user to run manually to install any missing dependencies.
Another option for our Fedora users would be to host a bash script that we then execute on Fedora. They would still get automated installs that way.
We've opted for users having to perform a manual install of dependencies with a continue question to prompt the user before proceeding until we can figure out a proper fix.
Added Arch to the issue description. We can separate these into two issues if desired.
We've opted for users having to perform a manual install of dependencies with a continue question to prompt the user before proceeding until we can figure out a proper fix.
Using KDE on Fedora 40 here. When running LLI in CLI, I get 2024-08-29 13:53:07 ERROR: Your distro requires manual dependency installation. but no prompt to install dependencies or which dependencies are needed. I checked here and have verified that all the packages listed are installed. Is that list up-to-date?
Most likely we need to implement a bypass for Fedora. Most likely we are just grabbing the distro and saying no, even if all the packages are fine. Should be an easy fix.
If you use the most recent release (alpha-14) simply run it with ./LogosLinuxInstaller on fedora 40 you should get something like this, which will tell you the command to run to install the dependencies:
I just did this in a virtual machine, then chose "Continue", then the TUI exited prematurely. When running it again, it no longer gives the info on how to install the dependencies, but then it does get stuck, as you say:
This is definitely a bug on our end, and we'll see if we can sort it out. I'll try to upload the log file next.
I think I found the issue with it canceling on you right away on choosing continue.
I'm not sure about the error being reported in the second issue.
See https://github.com/FaithLife-Community/LogosLinuxInstaller/pull/163#issuecomment-2388885394