Skip to main content
Topic: Mystery Issue with autorice install scripts LARBS / NARBS (Read 774 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Mystery Issue with autorice install scripts LARBS / NARBS

I've been working with automatic install scripts recently to automatically install Artix and I've been having this strange issue...

https://github.com/LukeSmithxyz/LARBS
https://github.com/thatguynoe/NARBS

^ These 2 I've tested in a VM and I keep getting this error which says.

"Error automatically refreshing Arch Keyring. Consider doing so manually."

^ When I try to do this manually it mentions that the arch-mirrorlist can't be read.

These 2 autorice scripts mention that it's possible to run on Artix and when I look at the code there's many mentions to Artix so it must be meant for Artix too, along with 1 video where someone is able to use Luke Smith's install script on a base installation just fine. How can I get past this issue? I'd like to use the automatic install script for my new setup.

Re: Mystery Issue with autorice install scripts LARBS / NARBS

Reply #1
1- What command do you use to do it manually?

2- Have you tried running the script with debug output?

Re: Mystery Issue with autorice install scripts LARBS / NARBS

Reply #2
Don't you just have to run pacman-key --populate archlinux and sudo pacman -Sy artix-archlinux-support archlinux-keyring

Re: Mystery Issue with autorice install scripts LARBS / NARBS

Reply #3
https://www.youtube.com/watch?v=JDyaiiMiwRI This is the video where I've seen someone install LARBS on Artix, followed it exactly but I still get this issue. I even tried an earlier version of LARBS too but with the same issue.

Re: Mystery Issue with autorice install scripts LARBS / NARBS

Reply #4
It seems to me that the refreshkeys() function, between lines 78 - 107 is installing archlinux-keyring, enabling universe, installing artix-archlinux-support and artix-keyring (the latter you should have), adding arch repo's to the end of pacman.conf and finally running
Code: [Select]
pacman-key --populate archlinux >/dev/null

What I would try (path of least resistance). Install base, enable universe and install artix-archlinux-support as detailed here. Follow the instructions.
Comment, or delete, lines 231 - 232 of larbs.sh
run the script.

Profit ??

Re: Mystery Issue with autorice install scripts LARBS / NARBS

Reply #5
Trying to make an install script which enables repos to run first before running the actual install script currently. I keep getting the error "no usable package repositories configured" when I replace pacman.conf with one with that has universe included, it's a shame that Artix doesn't include Universe in pacman.conf by default it's the first thing anyone enables first upon a new install.

Re: Mystery Issue with autorice install scripts LARBS / NARBS

Reply #6
I'm getting an issue with the install script which says

error: archlinux-keyring: signature from "Dudemanguy"  is  unknown trust
Do you want to delete it? [Y/n]

anyone else seeing this issue too?

https://github.com/abdullah-rgb/artix-archlinux-support/blob/main/artix-archlinux-support

Even with this install script it has this issue.

Re: Mystery Issue with autorice install scripts LARBS / NARBS

Reply #7
You need to install the latest artix-keyring package before all else.

Re: Mystery Issue with autorice install scripts LARBS / NARBS

Reply #8
I modified the sh script to install artix-keyring first and it still gives me Dudeman error

* pacman-key --refresh fixes this issue after installing artix-keyring archlinux-keyring and artix-archlinux-support.