LogosLinuxInstaller icon indicating copy to clipboard operation
LogosLinuxInstaller copied to clipboard

Arch's and Fedora's dependencies not properly handled by LLI binary

Open n8marti opened this issue 1 year ago • 9 comments

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.

n8marti avatar Jul 30 '24 22:07 n8marti

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.

thw26 avatar Jul 31 '24 01:07 thw26

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.

thw26 avatar Aug 01 '24 15:08 thw26

Added Arch to the issue description. We can separate these into two issues if desired.

thw26 avatar Aug 21 '24 04:08 thw26

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?

abbasou avatar Aug 29 '24 20:08 abbasou

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.

thw26 avatar Aug 29 '24 23:08 thw26

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:

VirtualBox_LLI Fedora 40_29_08_2024_18_43_31

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:

VirtualBox_LLI Fedora 40_29_08_2024_18_50_05

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.

n8marti avatar Aug 29 '24 23:08 n8marti

Logos_on_Linux.log

n8marti avatar Aug 29 '24 23:08 n8marti

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.

thw26 avatar Aug 30 '24 02:08 thw26

See https://github.com/FaithLife-Community/LogosLinuxInstaller/pull/163#issuecomment-2388885394

thw26 avatar Oct 03 '24 01:10 thw26