Cannot use yay to update AUR packages

I am trying to update my system. Firstly I used the Welcome Screen > After Install > Update Native & AUR Packages (yay). Please see the screenshot given below for more details, the option is circled in red.

That failed with the error message

error occurred:
        * request failed: Get "https://aur.archlinux.org/rpc?arg%5B%5D=grub-hook&arg%5B%5D=octopi&arg%5B%5D=qt-sudo&arg%5B%5D=xwaylandvideobridge&type=info&v=5": read tcp 10.177.198.89:54532->46.62.192.80:443: read: connection reset by peer

Press ENTER to close this window:

Then in a terminal I tried with yay command. That also failed. Details are given below

$ yay -Syu
[sudo] password for UserA:
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
 -> 1 error occurred:
        * request failed: Get "https://aur.archlinux.org/rpc?arg%5B%5D=grub-hook&arg%5B%5D=octopi&arg%5B%5D=qt-sudo&arg%5B%5D=xwaylandvideobridge&type=info&v=5": net/http: TLS handshake timeout

The commands pacman and eos-update are working fine. I just updated my system with these. It is only the update of AUR packages using yay that is failing.

What can be the cause of this issue? And how do I fix it?

The AUR continues to have (long term) issues due to a DDOS.

2 Likes

Its been well known for the past few months The AUR has been under DDOS attacks. You just need to try again later

Goddamit. When will these pre-teens with rudimentary scripting just simply leave Arch alone? Dont they have stuff to do in robolox or something. Fricking skrull issue.

The second error talks about TLS handshake issue. While the first only gives request failed with the host 46.62.192.80:443. Do these two different errors mean something?
Can I do something over here apart from trying say after sun-up? Some configuration change which may help?

Could try building it on your own, will be a bit harder to manage though

Won’t work, I tried. When the AUR is not available, you cannot get a PKGBUILD file either.

Except if you meant starting from scratch, with going to upstream and making your own PKGBUILD, which is a lot of work.

This is roughly what I meant.

Kudos to you then when you can pull this off.

I find it hard and time-consuming enough just to adapt a given PKGBUILD to a different software version.

Starting from scratch is something I would avoid if not absolutely necessary.

What helped me when these DDOS attacks occur is grimaur, which avoids the achilles heel of the AUR servers.

1 Like

Have only had to do it a few times but the time was worth the effort.

What is grimaur? How does it work? Does it entirely replace yay and other aur helpers? Or can it be used only occasionally when AUR is down?

It looks like it’s an aur helper that installs from an official mirror. It also looks like you install it from the aur :frowning:

I assume @emk2203 meant this:
Sorry, wasn’t looking well enough your post.

I have no experience with it though.

Edit: @emk2203 your link seems strange, it leads to a downloadable zip file that contains some Windows files???

1 Like

And yeah the github repository seems to have some activity since yesterday, and prior to that lying dormant since 2023. This is eyebrow raising.

1 Like

AUR seems to be working here now again. (Eastern US)

No AUR issues here (Central Time U.S.)

Though it does appear to be having issues:

1 Like

I’ve used it a few times. It uses GitHub mirrors.
And I mean this: https://github.com/ryk4rd/grimaur

If anyone wants to read more about it:
Reddit - grimaur

@manuel:

Yup, wrong link. That’s what you get when you just google and not double-check. Corrected.

This is the wrong link, I just googled it from memory without double-checking. Sorry for that. @manuel posted the correct one already, I fixed my post.

1 Like

But if you have it installed, you can use it without the need for the AUR being up.

This is a link to the initial reddit discussion on /r/archlinux from the author himself.

I used it a few times when the AUR was down. It works. paru and yay insist on rebuilding when the AUR is up again, though.

I swear, I only now came to your post. I wrote the top half without having read yours, even though they have almost identical contents. :sweat_smile:

You should be able to get them from the git repo. That usually works even when the AUR site is not responsive.

1 Like

Author of grimaur here. I stumbled upon this thread and saw this comment. Interesting that paru and yay insists on a rebuild. grimaur also checks foreign packages (you can list these with pacman -Qm), so i wonder why yay and paru triggers a rebuild. This might be a bug in grimaur!

3 Likes