Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
IronicUsername opened this issue Jan 7, 2024 · 2 comments
Open
Labels
bug Something isn't working critical important

Comments

@IronicUsername
Copy link

IronicUsername commented Jan 7, 2024

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
# 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)
:: 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
Copy link
Member

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

@paperbenni paperbenni added bug Something isn't working critical important labels Jan 14, 2024
@paperbenni paperbenni moved this to In progress in roadmap Jan 14, 2024
@paperbenni
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical important
Projects
Status: In progress
Development

No branches or pull requests

2 participants