Are pacman wrappers like yay supposed to be used instead of pacman in every operation (e.g. installing packages from official repos, uninsralling packages), or just in AUR operations (installing packages from AUR)?
Search Criteria
Package Details: yay 12.4.2-1
Package Actions
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: | 2322 |
Popularity: | 29.09 |
First Submitted: | 2016-10-05 17:20 (UTC) |
Last Updated: | 2024-09-19 14:27 (UTC) |
Dependencies (5)
- git (git-gitAUR, git-glAUR)
- pacman (pacman-gitAUR)
- go (go-gitAUR, gcc-go-gitAUR, gcc-go-snapshotAUR, gcc-go) (make)
- doasAUR (opendoas-retryAUR, opendoas) (optional) – privilege elevation
- sudo (fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, doas-sudo-shim-minimalAUR, sudo-hgAUR, fudo-gitAUR, sudo-selinuxAUR) (optional) – privilege elevation
Required by (46)
- abinot
- aconfmgr-git (optional)
- arch-update (optional)
- arch-update-git (optional)
- archlink (optional)
- axu
- axu-bin
- blender-launcher-git
- checkupdatify
- cleanupdate-git (optional)
- cmd-not-found (optional)
- dpw (optional)
- etwas
- fuzzy-pkg-finder (optional)
- fzpac (optional)
- fzpac-git (optional)
- idos-package-updater-script
- klaus-bin
- meta-package-manager (optional)
- meta-package-manager-git (optional)
- Show 26 more...
Sources (1)
hey951753 commented on 2022-09-21 00:48 (UTC)
bulletmark commented on 2022-08-25 09:33 (UTC)
@saabzero, the question to you should really have been "is your system fully up to date"?
saabzero commented on 2022-08-25 09:28 (UTC)
@callmejoe I have go 2:1.19-1 and gcc 12.2.0-1 installed using pacman
callmejoe commented on 2022-08-25 00:57 (UTC)
@saabzero do you have latest go and gcc versions installed?
saabzero commented on 2022-08-24 22:58 (UTC) (edited on 2022-08-24 22:58 (UTC) by saabzero)
to me compilation fails with:
/usr/lib/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: /usr/lib/libc.so.6: unknown type [0x13] section `.relr.dyn'
/usr/bin/ld: skipping incompatible /usr/lib/libc.so.6 when searching for /usr/lib/libc.so.6
/usr/bin/ld: cannot find /usr/lib/libc.so.6
/usr/bin/ld: /usr/lib/libc.so.6: unknown type [0x13] section `.relr.dyn'
/usr/bin/ld: skipping incompatible /usr/lib/libc.so.6 when searching for /usr/lib/libc.so.6
/usr/bin/ld: /usr/lib/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
/usr/bin/ld: skipping incompatible /usr/lib/ld-linux-x86-64.so.2 when searching for /usr/lib/ld-linux-x86-64.so.2
/usr/bin/ld: cannot find /usr/lib/ld-linux-x86-64.so.2
/usr/bin/ld: /usr/lib/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
/usr/bin/ld: skipping incompatible /usr/lib/ld-linux-x86-64.so.2 when searching for /usr/lib/ld-linux-x86-64.so.2
collect2: error: ld returned 1 exit status
iyanmv commented on 2022-02-04 23:20 (UTC) (edited on 2022-02-04 23:21 (UTC) by iyanmv)
Before writing that yay
doesn't work and that you are getting:
response decoding failed: invalid character '<' looking for beginning of value
Check these links:
dimytch commented on 2022-01-26 23:20 (UTC)
yay -Syu yay ...
go: downloading golang.org/x/text v0.3.7
# runtime/cgo
In file included from /usr/include/errno.h:28,
from cgo-gcc-prolog:30:
/usr/include/bits/errno.h:26:11: фатальная ошибка: linux/errno.h: Нет такого файла или каталога
26 | # include <linux/errno.h>
| ^~~~~~~~~~~~~~~
компиляция прервана.
make: *** [Makefile:111: yay] Ошибка 2
==> ОШИБКА: Произошел сбой в build().
Прерывание...
-> ошибка сборки: yay
pgoetz commented on 2022-01-08 11:21 (UTC)
@alerque I'm not following your suggestion -- how would one do this with modifying the PKGBUILD, at which point you're not using yay?
alerque commented on 2022-01-08 08:13 (UTC)
@RAMChYLD Just compile with extra-x86_64-build
from the devtools package. That way you don't have to worry about what is on your host system at all and the build will just happen with the dependencies it needs and nothing else.
callmejoe commented on 2022-01-05 20:02 (UTC)
@RAMChYLD your comment will probably not be read by the developer. better off creating a new issue on the github page. https://github.com/Jguer/yay
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.