Closed NicholasasaurusRex closed 4 months ago
I got a work around. But it's certainly not a fix for LARBS.
If you have come across this in frustration trying to install LARBS for the same reason
"Failed to install AUR Helper"
This maybe a work around untill the issue gets fixed. The Steps below will just have you install yay manually. Then rerun the script.
Step 1: Run the script: sh larbs.sh and let the script fail. Step 2: Added the newly created user you added from the script to the wheel group: usermod -aG wheel username Step 3: Install vi: pacman -S vi Step 4: Edit the sudoers file visudo /etc/sudoers Step 5: Uncomment this line: # %whell ALL=(ALL:ALL) ALL Step 6: Switch from the root user to the new user. su username Step 7: Change home directories: cd Step 8: Goto the directory yay is installed: cd .local/src/yay Step 9: Install yay: makepkg -si Step 10: Type: exit Step 11: Now as the root user again, run: sh larbs.sh
Thank you so much for creating this tutorial. I could not have continued with out your help!
I wonder is this issue is related to zsh and the PATH variable? When i followed Nicholas's instructions on how to bypass this issue, i first ran into problems with zsh not finding any commands. I had to run a bash prompt before i could do step 9.
just install yay from source and then run the installer and make sure you have git installed
Tutorial:
sudo pacman -S git
cd /opt sudo git clone https://aur.archlinux.org/yay-git.git sudo chown -R user:user (your username) ./yay.git cd yay-git sudo pacman -S --needed base-devel makepkg -si
and now just cd into the dir where you have the install script and run it sudo ./larbs.sh
I got a work around. But it's certainly not a fix for LARBS.
If you have come across this in frustration trying to install LARBS for the same reason
"Failed to install AUR Helper"
This maybe a work around untill the issue gets fixed. The Steps below will just have you install yay manually. Then rerun the script.
Step 1: Run the script: sh larbs.sh and let the script fail. Step 2: Added the newly created user you added from the script to the wheel group: usermod -aG wheel username Step 3: Install vi: pacman -S vi Step 4: Edit the sudoers file visudo /etc/sudoers Step 5: Uncomment this line: # %whell ALL=(ALL:ALL) ALL Step 6: Switch from the root user to the new user. su username Step 7: Change home directories: cd Step 8: Goto the directory yay is installed: cd .local/src/yay Step 9: Install yay: makepkg -si Step 10: Type: exit Step 11: Now as the root user again, run: sh larbs.sh
This works thank you kindly.
I got a work around. But it's certainly not a fix for LARBS.
If you have come across this in frustration trying to install LARBS for the same reason
"Failed to install AUR Helper"
This maybe a work around untill the issue gets fixed. The Steps below will just have you install yay manually. Then rerun the script.
Step 1: Run the script: sh larbs.sh and let the script fail. Step 2: Added the newly created user you added from the script to the wheel group: usermod -aG wheel username Step 3: Install vi: pacman -S vi Step 4: Edit the sudoers file visudo /etc/sudoers Step 5: Uncomment this line: # %whell ALL=(ALL:ALL) ALL Step 6: Switch from the root user to the new user. su username Step 7: Change home directories: cd Step 8: Goto the directory yay is installed: cd .local/src/yay Step 9: Install yay: makepkg -si Step 10: Type: exit Step 11: Now as the root user again, run: sh larbs.sh
This worked but only after rebooting, otherwise X server would crash on user login
Removing -D "$repodir/$1"
fixed the issue for me.
Why is this issue closed? Doing a fresh install with the script causes the error as yay is not installed, and it seems to require the workaround that @NicholasasaurusRex mentions, which is not elegant.
Thank you!
@bybv See my earlier comment, the -D option doesn't work for some reason, but it can be removed since we already cd'd to the working directory earlier
Tried to install multiple times now. Same exit error.
LARBS fails to install the AUR helper and exits.