-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
yay fails to compile and run with pacman 6.1 #2393
Comments
i'm experiencing the same issue after updating my arch on testing mirrors |
same (+1) |
If you've upgraded pacman separately from yay (or upgraded yay separately from pacman) a manual rebuild should succeed. I will push another revision update once pacman 6.1 hits core to try and cover as many users as possible in the combined upgrade |
@Jguer yep that worked thank you :) |
6.1 hit core an hour ago |
I have the same error as above, and cannot rebuild it, it gives me the error bellow:
|
That's a different error. Try either disabling the automatic |
It was already installed, but manually removing yay and yay-debug did the trick. Thank you. |
This seems to still be broken on arm64 |
Did you rebuild it from source? |
yes i did, against tag |
And https://github.com/Jguer/yay/releases/download/v12.3.3/yay_12.3.3_aarch64.tar.gz doesn't work either? What does it say? |
just for reference: Linux runner-mz9yhyrmk-project-982-concurrent-0-830shogr 6.1.0-17-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux
uid=1001(builder) gid=1001(builder) groups=1001(builder)
builder
NAME="Arch Linux ARM"
PRETTY_NAME="Arch Linux ARM"
ID=archarm
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinuxarm.org/"
DOCUMENTATION_URL="https://archlinuxarm.org/wiki"
SUPPORT_URL="https://archlinuxarm.org/forum"
BUG_REPORT_URL="https://github.com/archlinuxarm/PKGBUILDs/issues"
LOGO=archlinux-logo
$ yay --version
yay: error while loading shared libraries: libalpm.so.13: cannot open shared object file: No such file or directory I will try the release binarys now |
When |
Thanks, @Jguer works perfectly fine now! |
|
Here's a tip to temporarily fix yay in order to cleanBuild:
This all worked great for me. Hope it helps someone else. |
Im having problems to compile yay and the error message reffers to a dependency of pacman>6.1... my pacman is up to date (ran sudo pacman -Syy) and when I ask for the version, it says Pacman v6.0.2 - libalpm v13.0.2 (not 6.1) When I run makepkg -si, i get the following (pt-BR sorry): => ERRO: "pacman" falhou em instalar dependências não encontradas. Can u help me?? |
What distro are you using? The latest pacman is in fact 6.1 |
when reinstalling yay, I'm stuck on the same error: If I agree to remove yay: If I disagree: |
Which repo do you normally install yay from? Why do you need yay-debug? |
I ran into the same issue removing yay-debug resolved it for me. |
The latest versions of makepkg are set to generate a
must be changed to:
|
So yay automatically installs every single pkg file made, not just the ones we asked to install? |
When trying to rebuild it it throws the following error: But @Trit34's solution worked for me :) |
Thus the steps to solve the problems are:
Thanks! |
I think it works with regular yay package instead of yay-git. It worked for me. |
It works with any package you used to install yay. It's just that yay-git is the most commonly-used one. |
Thanks a lot for the responses! So considering that I need to do a clean rebuild, should I use yay-git instead of yay (thus following the steps described)? |
It depends on whether you want the stable version of yay or the latest version on the git repo. You chose which ever one you prefer |
thank you ! |
Hi! In my case, removing yay-git solved all this mess. After that, I could upgrade the system without any issues. |
Trying to install yay in a distrobox with arch:latest gives an error :
and
So this bug is still a problem because distrobox uses archive.archlinux.org/repo/2024/02/01... Could there be a check on build to downgrade yay to a version compatible with current installed pacman ? |
TY it works for me |
If anyone is having issues and none of these solutions are working for you. I found this solution in linking libalpm 15 to 14 and using that instead. |
thanks! |
Attempted to do this, but it's still not working. Anyone have any advice? |
Reinstall yay. Build it again. |
Disregard my post entirely, I'm an idiot and simply didn't read my error well enough. I had a random file located in /usr/ that was breaking my build. zz Sorry. |
yay: error while loading shared libraries: libalpm.so.13: cannot open shared object file: No such file or directory
https://aur.archlinux.org/packages/yay-git (so think you need to update your package to use the new version of libalpm
yay fails with the new pacman 6.1 thats now in testing on Arch Linux: https://archlinux.org/packages/core-testing/x86_64/pacman/
The text was updated successfully, but these errors were encountered: