Is there an issue with the AUR?

https://bbs.archlinux.org/viewtopic.php?id=273836

Here we go :joy:

3 Likes

Yea, this isn’t that difficult and instructions are out there. Basically, you clone the Git and then makepkg -si.

2 Likes

I’ll just leave this here. (for when it’s fixed)

$ pacman -S --needed git base-devel
$ git clone https://aur.archlinux.org/yay.git
$ cd yay
$ makepkg -si

NOTE - ^ THIS IS FOR ARCH, NOT EOS

3 Likes

yea, you will need to make sure you have those, but I think they do come with EOS (or, at least, I already had them when I went to grab paru).

Or alternatively on EOS

sudo pacman -S yay

:wink:

2 Likes

It’s straight from the last time we had to rebuild approx a year ago from the AUR.

I added the note.

why git clone over just curling the pkgbuild itself? makepkg can take it from there.

As a general rule, it is better to git clone because many packages require more than just the PKGBUILD and it is far easier to git clone than it is to go read the PKGBUILD and then decide if you need extra files that will also need to be downloaded.

4 Likes

This workaround was just posted:

yay --aururl 'https://aur.archlinux.org/rpc?xx=' -Syu

Damn - looks like I posted too soon. While this works for the above command, a search with -Ss package_name still fails.

1 Like

I don’t think any lives are at stake because yay is broken. When yay gets fixed, @manuel will compile a x86_64 version, and I will compile an aarch64 version and a armv7h version and they will be put in the EndeavourOS repository.

The current version of yay in the EndeavouroS Repository is:

yay-11.1.0-1-x86_64.pkg.tar.zst

when a newer version is present, all will be well.

Please be patient.

Pudge

EDIT:
To check for a newer version:

Scroll to the bottom.

10 Likes

For the adventurous - or impatient types, like me! - this does work (backup /usr/bin/yay first):

sudo sed -i 's:rpc.php:rpc////:g' /usr/bin/yay
6 Likes

I was going to post that too :grin: It DOES work - and is the purest essence of dirty, pragmatic, ‘dangerous’ and…effective. That way it will work until it’s fixed.

If you have any problems with the fix, use downgrade to revert to the original ‘broken’ one…

The changes made to the aurweb are being reverted for one month, which should be more than enough time for any and all AUR helpers to get patched/modified/updated:

This is expected to show up in about 8 hours or so.

3 Likes

Pikaur, which is my preferred yay alternative, works fine. Of course, if you don’t already have it, you will have to git clone it and build it manually, the arch way, which is a good learning experience for those that haven’t tried it. See below if you want to try it:

sudo pacman -S --needed base-devel git
git clone https://aur.archlinux.org/pikaur.git
cd pikaur
makepkg -fsri

Backed up /usr/bin/yay first as suggested and then applied the fix. It works - thank you :sweat_smile:

Handy as an update required rebuilding zoom. I’ve now used the fixed yay to install paru as a backup.

I created an account on this forum just to thank you my friend, it worked as intended. Keep up the good work!

1 Like

Anyone using trizen … simple fix to perl source.

sudoedit /usr/bin/trizen

Line 66 :

#my $aur_rpc_base_url   = "$aur_base_url/rpc.php";
my $aur_rpc_base_url   = "$aur_base_url/rpc";

All good again.

EDIT :

Nevermind, fix has already been updated and merged.

At least now I can trizen -S trizen .

1 Like

Can someone dumb this down a bit and explain for newbies what is going on and how to fix it? Already new topics popping up and new users subscribing to the forum just for that, panic is breaking out… The 80+ post thread is not very clear, lots of different ideas… :pray:

1 Like

Basically the AUR got updated, there was a change that has affected some AUR helpers, the part of the update that’s causing the problem is being temporarily reverted, everything will be working again in a few hours.

7 Likes