Package Details: yay 12.4.2-1

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: 2256
Popularity: 23.89
First Submitted: 2016-10-05 17:20 (UTC)
Last Updated: 2024-09-19 14:27 (UTC)

Pinned Comments

jguer commented on 2024-03-16 08:06 (UTC)

yay: error while loading shared libraries: libalpm.so.13: cannot open shared object file: No such file or directory

This will happen if you upgrade pacman and yay separately If you have this error you need to manually recompile yay

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

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.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 35 Next › Last »

talleyhoe commented on 2024-04-24 18:30 (UTC) (edited on 2024-04-24 18:32 (UTC) by talleyhoe)

If you're getting 'connection refused' errors, similar to @trougnouf, it's likely a DNS resolution issue. 'Go' queries /etc/resolv.conf directly. You may need to create a symbolic link if using iwd or another tool that uses systemd-resolved. See https://wiki.archlinux.org/title/Systemd-resolved#DNS

# sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf

Not sure why building in a clean chroot would help... but it shouldn't be necessary!

whaler commented on 2024-04-04 21:20 (UTC) (edited on 2024-04-04 21:42 (UTC) by whaler)

I succeded in installing yay by changing 'SigLevel = Required DatabaseOptional' to 'SigLevel = Never'. This has not been a problem before. What should I put in 'SigLevel = ' in order to avoid this problem.

Also, when I start yay, it keeps repeating this question:

:: Synkroniserer pakkedatabaser... core er oppdatert extra 8,1 MiB 1898 KiB/s 00:04 [############################################################################] 100% :: Searching AUR for updates... :: There are 7 providers available for java-runtime: :: Repository extra 1) jdk-openjdk 2) jdk21-openjdk 3) jre-openjdk 4) jre11-openjdk 5) jre17-openjdk 6) jre21-openjdk 7) jre8-openjdk

It does not matter which number I choose, it repeats the question.

I don't have any Java installed at this time, so what is this?

whaler commented on 2024-03-29 05:49 (UTC) (edited on 2024-03-29 05:52 (UTC) by whaler)

Regarding the libalpm.so.13 problem: When using the git clone method, I am told the package (yay) is missing required signature. This has not been an issue before.

trougnouf commented on 2024-03-25 19:18 (UTC) (edited on 2024-03-26 12:57 (UTC) by trougnouf)

The update isn't working for me:

==> Starting build()...
go build -trimpath -mod=readonly -modcacherw -ldflags '-X "main.yayVersion=12.3.5" -X "main.localePath=/usr/share/locale/" -linkmode=external -compressdwarf=false' -buildmode=pie -o yay
go: downloading github.com/Jguer/go-alpm/v2 v2.2.2
go: downloading github.com/Jguer/aur v1.2.3
go: downloading github.com/Jguer/votar v1.0.0
go: downloading github.com/Morganamilo/go-srcinfo v1.0.0
go: downloading github.com/deckarep/golang-set/v2 v2.6.0
go: downloading github.com/leonelquinteros/gotext v1.5.2
go: downloading golang.org/x/sys v0.18.0
go: downloading github.com/Morganamilo/go-pacmanconf v0.0.0-20210502114700-cff030e927a5
go: downloading github.com/adrg/strutil v0.3.1
go: downloading golang.org/x/term v0.18.0
go: downloading github.com/hashicorp/go-multierror v1.1.1
clean.go:8:2: github.com/Jguer/aur@v1.2.3: Get "https://proxy.golang.org/github.com/%21jguer/aur/@v/v1.2.3.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:54984->[::1]:53: read: connection refused
cmd.go:11:2: github.com/Jguer/go-alpm/v2@v2.2.2: Get "https://proxy.golang.org/github.com/%21jguer/go-alpm/v2/@v/v2.2.2.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:54984->[::1]:53: read: connection refused
vote.go:8:2: github.com/Jguer/votar@v1.0.0: Get "https://proxy.golang.org/github.com/%21jguer/votar/@v/v1.0.0.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:54984->[::1]:53: read: connection refused
pkg/text/errors.go:3:8: github.com/leonelquinteros/gotext@v1.5.2: Get "https://proxy.golang.org/github.com/leonelquinteros/gotext/@v/v1.5.2.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:60585->[::1]:53: read: connection refused
pkg/db/ialpm/alpm.go:11:2: github.com/Morganamilo/go-pacmanconf@v0.0.0-20210502114700-cff030e927a5: Get "https://proxy.golang.org/github.com/%21morganamilo/go-pacmanconf/@v/v0.0.0-20210502114700-cff030e927a5.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:46429->[::1]:53: read: connection refused
pkg/intrange/intrange.go:8:2: github.com/deckarep/golang-set/v2@v2.6.0: Get "https://proxy.golang.org/github.com/deckarep/golang-set/v2/@v/v2.6.0.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:60585->[::1]:53: read: connection refused
pkg/query/metric.go:7:2: github.com/adrg/strutil@v0.3.1: Get "https://proxy.golang.org/github.com/adrg/strutil/@v/v0.3.1.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:36864->[::1]:53: read: connection refused
pkg/query/query_builder.go:13:2: github.com/adrg/strutil@v0.3.1: Get "https://proxy.golang.org/github.com/adrg/strutil/@v/v0.3.1.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:36864->[::1]:53: read: connection refused
pkg/query/source.go:7:2: github.com/hashicorp/go-multierror@v1.1.1: Get "https://proxy.golang.org/github.com/hashicorp/go-multierror/@v/v1.1.1.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:46429->[::1]:53: read: connection refused
pkg/dep/dep_graph.go:10:2: github.com/Morganamilo/go-srcinfo@v1.0.0: Get "https://proxy.golang.org/github.com/%21morganamilo/go-srcinfo/@v/v1.0.0.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:60585->[::1]:53: read: connection refused
pkg/runtime/runtime.go:20:2: github.com/Jguer/aur@v1.2.3: Get "https://proxy.golang.org/github.com/%21jguer/aur/@v/v1.2.3.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:54984->[::1]:53: read: connection refused
pkg/runtime/runtime.go:21:2: github.com/Jguer/aur@v1.2.3: Get "https://proxy.golang.org/github.com/%21jguer/aur/@v/v1.2.3.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:54984->[::1]:53: read: connection refused
pkg/runtime/pacman.go:10:2: golang.org/x/term@v0.18.0: Get "https://proxy.golang.org/golang.org/x/term/@v/v0.18.0.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:46429->[::1]:53: read: connection refused
print.go:16:2: golang.org/x/sys@v0.18.0: Get "https://proxy.golang.org/golang.org/x/sys/@v/v0.18.0.zip": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:60909->[::1]:53: read: connection refused
make: *** [Makefile:114: yay] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

edit: I got it working with makechrootpkg per https://bbs.archlinux.org/viewtopic.php?id=288677

leong commented on 2024-03-21 10:10 (UTC) (edited on 2024-03-21 10:11 (UTC) by leong)

Same architecture, same error meesage, same problem as david_goliath. My CFLAGS variable in /etc/makepkg.conf is set as :

CFLAGS="-march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions \
        -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \
        -fstack-clash-protection \
        -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"

Why is the option '-mno-omit-leaf-frame-pointer' unrecognized ?

gromit commented on 2024-03-19 22:04 (UTC)

@david_goliath these flags are set the CFLAGS variable in /etc/makepkg.conf

david_goliath commented on 2024-03-19 21:36 (UTC) (edited on 2024-03-19 21:38 (UTC) by david_goliath)

Building on armv7h fails with the following error

go build -trimpath -mod=readonly -modcacherw  -ldflags '-X "main.yayVersion=12.3.4" -X "main.localePath=/usr/share/locale/" -linkmode=external' -buildmode=pie -o yay
# runtime/cgo
gcc: error: unrecognized command-line option '-mno-omit-leaf-frame-pointer'; did you mean '-fno-omit-frame-pointer'?
make: *** [Makefile:115: yay] Fehler 1

does anybody know where I can configure that command line option?

pipep commented on 2024-03-18 09:44 (UTC)

@baranator: You're missing the prerequisites for using the AUR, this has nothing to do with yay.

baranator commented on 2024-03-18 09:31 (UTC)

I get

==> FEHLER: Cannot find the debugedit binary required for including source files in debug packages.
:: Unable to build yay - makepkg exited with code: 15

Installing debugedit solves this. So debugedit should be a build dependency?