instantOS / instantARCH

The official instantOS installer
GNU General Public License v2.0
25 stars 6 forks source link

BUG: `cannot resolve "light", a dependency of "instantdepend"` #25

Open IronicUsername opened 7 months ago

IronicUsername commented 7 months ago

Error When following the default installation, the script at some point runs into moduleutils.sh where it tries to install instadepend which needs light to work.

Since the 5th of january this does not work anymore.

With the help of an user on discord i came up with these steps to make it possible to have the installer run successfully trough the wiz.

[!NOTE]
Only do this while the installer either shows setting up InstantOs this may take a while or the logs are stuck in this loop:

warning: cannot resolve "light", a dependency of "instantdepend"
:: The following package cannot be upgraded due to unresolvable dependencies:
     instantdepend
Click here to see fix ```sh # create new user sudo chroot /mnt /bin/bash useradd -m -G wheel -s /bin/bash helpuser passwd helpuser usermod -aG wheel helpuser su helpuser # install essentials sudo pacman -Syu base-devel git clone https://aur.archlinux.org/yay-bin.git sudo chown helpuser yay-bin cd yay-bin makepkg -si yay -S light ```
Click here to see full error log (copy from Discrod) ```sh :: Do you want to skip the above package for this upgrade? [y/N] error: failed to prepare transaction (could not satisfy dependencies) :: unable to satisfy dependency 'light' required by instantdepend /root/instantARCH/moduleutils.sh: line 15: imenu: command not found /usr/bin/reflector [2024-01-05 11:06:14] WARNING: failed to rate http(s) download (http://mirror.telepoint.bg/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s). [2024-01-05 11:06:23] WARNING: failed to rate http(s) download (https://archmirror.it/repos/extra/os/x86_64/extra.db): HTTP Error 403: Forbidden [2024-01-05 11:06:43] WARNING: failed to rate http(s) download (http://mirrors.uni-plovdiv.net/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s). :: Synchronizing package databases... core downloading... extra downloading... multilib downloading... instant downloading... retrying package installation in 4 seconds resolving dependencies... warning: cannot resolve "light", a dependency of "instantdepend" :: The following package cannot be upgraded due to unresolvable dependencies: instantdepend :: Do you want to skip the above package for this upgrade? [y/N] error: failed to prepare transaction (could not satisfy dependencies) :: unable to satisfy dependency 'light' required by instantdepend ```
paperbenni commented 7 months ago

https://github.com/perkele1989/light Looks like light has been abandoned. I will replace it with something else and remove the dependency

paperbenni commented 7 months ago

https://github.com/Hummer12007/brightnessctl looks like an interesting alternative