@titandino may be, you need to replace /etc/resolv.conf with systemd-resolved stub symlink.
ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
Git Clone URL: | https://aur.archlinux.org/yay.git (read-only, click to copy) |
---|---|
Package Base: | yay |
Description: | Yet another yogurt. Pacman wrapper and AUR helper written in go. |
Upstream URL: | https://github.com/Jguer/yay |
Keywords: | arm AUR go helper pacman wrapper x86 |
Licenses: | GPL-3.0-or-later |
Submitter: | jguer |
Maintainer: | jguer |
Last Packager: | jguer |
Votes: | 2249 |
Popularity: | 23.03 |
First Submitted: | 2016-10-05 17:20 (UTC) |
Last Updated: | 2024-09-19 14:27 (UTC) |
@titandino may be, you need to replace /etc/resolv.conf with systemd-resolved stub symlink.
ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
Yeah I'm also getting connection refused on the proxy.golang.org package queries when updating. I can download them manually with CURL on the same addresses that are refusing to connect during the update stage too which is odd.
Many golang pkgs cannot be downloaded when makepkg -si. Then yay doesn't work anymore. do: $ sudo ln -s /usr/lib/libalpm.so.15.0.0 /usr/lib/libalpm.so.14 yay works.Beside update itself.
Echoing this from a GitHub PR - Cleanbuild the git repo of yay if you're having problems, it solved the issue for me.
makepkg -Cf && makepkg -si
Issue [Sat 2024-Sep-14]:
yay: error while loading shared libraries: libalpm.so.14:
cannot open shared object file: No such file or directory
$ mv /mnt/Vancouver/apps/yay/ /mnt/Vancouver/apps/yay-old
$ cd ../..
$ pwd
/mnt/Vancouver/apps
$ mkdir /mnt/Vancouver/apps/yay/
$ ls -l | grep yay
drwxr-xr-x 2 victoria victoria 4096 Sep 14 12:12 yay
drwxr-xr-x 6 victoria victoria 4096 Sep 14 12:11 yay-old
$ cd yay
$ pwd
/mnt/Vancouver/apps/yay
$ sudo pacman -S --needed git base-devel
## ...
$ sudo pacman -Syu
## ...
$ cd ..
$ pwd
/mnt/Vancouver/apps
$ git clone https://aur.archlinux.org/yay.git
## Cloning into 'yay'...
$ cd yay
$ pwd; ls -l
/mnt/Vancouver/apps/yay
total 4.0K
-rw-r--r-- 1 victoria victoria 1.1K Sep 14 12:13 PKGBUILD
$ makepkg -si
## ...
$ yay -Syu ## WORKING AGAIN! 🥳
## ... there is nothing to do
$
Just rebuild yay and the problem is solved.
its broken now
yay: error while loading shared libraries: libalpm.so.14: cannot open shared object file: No such file or directory
@muziknavi see the pinned comment
With pacman 7.0.0.r3.g7736133-1:
yay: error while loading shared libraries: libalpm.so.14: cannot open shared object file: No such file or directory
Pinned Comments
jguer commented on 2024-03-16 08:06 (UTC)
This will happen if you upgrade pacman and yay separately If you have this error you need to manually recompile yay
jguer commented on 2019-04-16 14:08 (UTC)
I cannot delete the spam comments appearing regularly in this page, which has also led me to disable notifications from here. I remind that the best way to receive support or report a problem is through the Upstream URL.