Package Details: yay 12.5.0-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: 2327
Popularity: 26.77
First Submitted: 2016-10-05 17:20 (UTC)
Last Updated: 2025-04-24 09:06 (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 .. 30 31 32 33 34 35 36 Next › Last »

Morganamilo commented on 2018-04-09 00:36 (UTC)

git-core is ancient and was replaced by git a long time ago, so long ago infact that the git package no longer bothers to say it replaces git-core

You should remove git-core and install git then proceed with the update.

Or you can install yay-git where this has been fixed for a while. The fix should make it into the normal yay very soon.

Also looking at your log please NEVER use --force unless you know exactly what you are doing and especially never use it on a whole sysupgrade otherwise you're going to break your system.

eimis commented on 2018-04-08 23:46 (UTC)

yay says: Error: Could not find all required packages: git-core. And I can't upgrade packages. https://bpaste.net/show/1851079d09ce how can I fix this?

rkubosz commented on 2018-02-15 14:45 (UTC) (edited on 2018-02-15 14:46 (UTC) by rkubosz)

Hi! The patch below adds support for another ARM architecture: armv6h. I built it on my RaspberryPi v1 and it works so far. Feel free to apply it to PKGBUILD :-)

diff --git a/PKGBUILD b/PKGBUILD
index 12cb592..64a4155 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ pkgname=yay
 pkgver=2.303
 pkgrel=1
 pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go."
-arch=('i686' 'x86_64' 'armv7h' 'aarch64')
+arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
 url="https://github.com/Jguer/yay"
 license=('GPL')
 options=('!strip' '!emptydirs')

jguer commented on 2017-12-06 01:00 (UTC)

Updated the PKGBUILD to export in the two scopes. Still haven't found a way to make package vendoring easier to use in PKGBUILDs.

egrupled commented on 2017-12-05 11:12 (UTC) (edited on 2017-12-05 11:14 (UTC) by egrupled)

I think I found it. At first I tried build it with pacaur and it failed. I tried then manually with makepkg and it worked.

It seems that pacaur discards env variables between prepare and build sections. It means it's better to set them twice like this:

prepare() {
  export GOPATH="${srcdir}/.go"
  export GOBIN="$GOPATH/bin"
  mkdir -p "$GOPATH"
  rm -rf "$GOPATH/src"
  ln -sf "$srcdir/$pkgname-$pkgver/vendor" "$GOPATH/src"
}

build() {
  export GOPATH="${srcdir}/.go"
  export GOBIN="$GOPATH/bin"
  cd "$srcdir/$pkgname-$pkgver"
  go build -v -o ${pkgname} -ldflags "-s -w -X main.version=${pkgver}"
}

jguer commented on 2017-12-05 03:20 (UTC)

Weird, just tried a clean build and it worked. It appears your $GOPATH is not being changed to the temporary one. I'm trying to reproduce it.

egrupled commented on 2017-12-04 09:53 (UTC) (edited on 2017-12-05 10:55 (UTC) by egrupled)

Doesn't build after https://aur.archlinux.org/cgit/aur.git/commit/?h=yay&id=c36666539b51 and https://aur.archlinux.org/cgit/aur.git/commit/?h=yay&id=1cec81f1f8e5

completions.go:9:2: cannot find package "github.com/jguer/go-alpm" in any of:

/usr/lib/go/src/github.com/jguer/go-alpm (from $GOROOT)

/home/user/go/src/github.com/jguer/go-alpm (from $GOPATH)

dependencies.go:7:2: cannot find package "github.com/mikkeloscar/aur" in any of:

/usr/lib/go/src/github.com/mikkeloscar/aur (from $GOROOT)

/home/user/go/src/github.com/mikkeloscar/aur (from $GOPATH)

install.go:9:2: cannot find package "github.com/mikkeloscar/gopkgbuild" in any of:

/usr/lib/go/src/github.com/mikkeloscar/gopkgbuild (from $GOROOT)

/home/user/go/src/github.com/mikkeloscar/gopkgbuild (from $GOPATH)

==> ERROR: A failure occurred in build().

jguer commented on 2017-10-25 11:55 (UTC)

You're right, will remove it next minor release.

egrupled commented on 2017-10-21 14:04 (UTC)

GPL3 is license already included in https://www.archlinux.org/packages/core/any/licenses/ you don't have to install it separately for each package. Please remove it from PKGBUILD