Closed afunix closed 2 months ago
Yes it is confirmed, same thing here Arch Linux ARM "armv7h"
reported here, https://aur.archlinux.org/packages/yay-bin#comment-991232
The same issue here after updating the Archlinux packages: Linux cosmicomics 6.10.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 x86_64 GNU/Linux
Removing and reinstalling the yay fix the problem for me:
sudo pacman -Rns yay-bin yay-bin-debug
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
yay 12.4.2-1
has been built against an updated build image today which should include the latest ARM pacman version
The same issue here after updating the Archlinux packages: Linux cosmicomics 6.10.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 x86_64 GNU/Linux
Removing and reinstalling the yay fix the problem for me:
sudo pacman -Rns yay-bin yay-bin-debug sudo pacman -S --needed git base-devel git clone https://aur.archlinux.org/yay.git cd yay makepkg -si
This works. Thank @alibaghernejad !
The same issue here after updating the Archlinux packages: Linux cosmicomics 6.10.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 x86_64 GNU/Linux
Removing and reinstalling the yay fix the problem for me:
sudo pacman -Rns yay-bin yay-bin-debug sudo pacman -S --needed git base-devel git clone https://aur.archlinux.org/yay.git cd yay makepkg -si
Receiving this upon inputting the first command.
error: target not found: yay-bin
error: target not found: yay-bin-debug
The same issue here after updating the Archlinux packages: Linux cosmicomics 6.10.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 x86_64 GNU/Linux Removing and reinstalling the yay fix the problem for me:
sudo pacman -Rns yay-bin yay-bin-debug sudo pacman -S --needed git base-devel git clone https://aur.archlinux.org/yay.git cd yay makepkg -si
Receiving this upon inputting the first command.
error: target not found: yay-bin error: target not found: yay-bin-debug
Just ignore these errors and continue to the next commands to install the yay. Before cloning the git Repo make sure to remove the yay folder if it exists. It is located in the directory where you ran the git clone command. home directory often. (Backup it if required)
If you get any errors indicates that the "yay-bin" or "yay-bin-debug" folders exist, run the first command (consider their paths) to remove them and run the command again. I hope this helps you.
older yay compiled under yay
and not yay-bin
. Not really sure if installing the latter compiled yay-bin
will rewrite yay
. I don't think it is best advice to just ignore that instead of doing a -Rns yay
.
older yay compiled under
yay
and notyay-bin
. Not really sure if installing the latter compiledyay-bin
will rewriteyay
. I don't think it is best advice to just ignore that instead of doing a-Rns yay
.
This worked
The same issue here after updating the Archlinux packages: Linux cosmicomics 6.10.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 x86_64 GNU/Linux
Removing and reinstalling the yay fix the problem for me:
sudo pacman -Rns yay-bin yay-bin-debug sudo pacman -S --needed git base-devel git clone https://aur.archlinux.org/yay.git cd yay makepkg -si
In case anyone has the issue where yay-bin
and yay
aren't installed:
For me, my packages were named yay-git
and yay-git-debug
, so just run sudo pacman -Rns yay-git yay-git-debug
instead of the original line.
The same issue here after updating the Archlinux packages: Linux cosmicomics 6.10.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 x86_64 GNU/Linux Removing and reinstalling the yay fix the problem for me:
sudo pacman -Rns yay-bin yay-bin-debug sudo pacman -S --needed git base-devel git clone https://aur.archlinux.org/yay.git cd yay makepkg -si
In case anyone has the issue where
yay-bin
andyay
aren't installed:For me, my packages were named
yay-git
andyay-git-debug
, so just runsudo pacman -Rns yay-git yay-git-debug
instead of the original line.
Thanks for sharing that.
Happened on x86-64 yay12.4.2-1
too.
why yay has to be manually rebuilt for it to be fixed?
Happened on x86-64 yay
12.4.2-1
too. why yay has to be manually rebuilt for it to be fixed?
Pretty much.
sudo pacman -Rns yay
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
This fixed it for me.
Thanks everyone, following this thread fixed it for me too with some changes to names as suggested:
sudo pacman -Rns yay-bin yay-debug
This does not fix it for me. After removing yay and trying to rebuild, the build process fails with all connections refusing. Maybe my university WiFi blocks the domains the pkgbuild file is trying to access. I will try again later at home. All of this is happening on Pacman version 7.0.0 btw.
Edit: Trying to build in another network did not fix my issue. I think the build process is trying to fetch some stuff from https://proxy.golang.org/ and getting it's connection refused (I don't know why that is and how to replicate the issue)
@alibaghernejad @alainQtec Please stop recommending people to use -n
in pacman -Rs yay
. This is absolutely unneeded and inexperienced people (i.e. about 80% of people coming here from a short glance at the thread) could lose their configurations when there was absolutely no need to delete it in 99.9% of cases.
Please stop copy-pasting options everywhere simply because you saw them one time in some specific thread online. Assess the relevance of each option to the topic at hand before sharing snippets online, please, for the sake of the community.
Affected Version
Describe the bug
yay fails to run on Archlinux for arm:
Reproduction Steps
Expected behavior
yay shows help
Output