FaithLife-Community / LogosLinuxInstaller

A Python application that helps install and maintain FaithLife's Logos Bible (Verbum) Software on Linux through Wine.
MIT License
28 stars 10 forks source link

Dependency Installation Failure on Linux Mint Debian Edition 6 #133

Closed Alexandersonis closed 2 weeks ago

Alexandersonis commented 2 months ago

OS: Linux Mint Debian Edition 6

I installed the Dependencies by using the provided command: sudo apt install coreutils patch lsof wget findutils sed grep gawk winbind cabextract x11-apps bc binutils

And run the installer from the latest release.

But the installer shows them still missing: image

And after that the installation fails: image

2024-07-20 19:17:08 CRITICAL: Your linuxmint computer requires installing some software. To continue, the program will attempt to install the package(s): ['binutils', 'cabextract', 'fuse3', 'wget', 'winbind'] by using (apt install -y). Proceed? [sudo] Passwort für fabian:
Exception in thread <function ensure_launcher_shortcuts at 0x7faa7e79d760>: Traceback (most recent call last): File "threading.py", line 1073, in _bootstrap_inner File "threading.py", line 1010, in run File "installer.py", line 584, in ensure_launcher_shortcuts File "installer.py", line 562, in ensure_launcher_executable File "installer.py", line 516, in ensure_config_file File "installer.py", line 497, in ensure_product_installed File "installer.py", line 440, in ensure_winetricks_applied File "installer.py", line 421, in ensure_wineprefix_init File "installer.py", line 394, in ensure_product_installer_download File "installer.py", line 363, in ensure_premade_winebottle_download File "installer.py", line 339, in ensure_winetricks_executable File "installer.py", line 287, in ensure_wine_executables File "installer.py", line 261, in ensure_appimage_download File "installer.py", line 253, in ensure_sys_deps File "utils.py", line 969, in check_dependencies File "utils.py", line 910, in install_dependencies File "utils.py", line 557, in download_packages AttributeError: 'str' object has no attribute 'returncode'

thw26 commented 2 months ago

This is the code:

https://github.com/FaithLife-Community/LogosLinuxInstaller/blob/eec6dc0e0f71426a54c1a962244652ffdc1ce7d1/system.py#L179C1-L195

I'm wondering if the issue is because you are running Linux Mint, which is typically Ubuntu and which we have assumed, but in the Debian version.

Since we are still in alpha, we haven't been updating the README as often as needed.

You might need to try installing the packages on the Debian line instead of the README.

Alexandersonis commented 2 months ago

I tried to install the Debian packages from the code as suggested by running: sudo apt install binutils binutils-common binutils-x86-64-linux-gnu libbinutils libctf-nobfd0 libctf0 libgprofng0 However, the packages were already installed and I got the same result.

thw26 commented 2 months ago

I will check and see if I have already fixed the error in our testing branch.

If you are handy with git, checkout this PR and let me know if it progresses for you. I've done some work just before you reported on a similar issue.

https://github.com/FaithLife-Community/LogosLinuxInstaller/pull/118

thw26 commented 2 weeks ago

Tested this in alpha 14. This issue is now resolved. Closing.