You are not logged in.

#1 2022-11-19 07:07:59

pacman41
Member
Registered: 2019-12-01
Posts: 21

Yay (could not find or read package)

I keep getting error: could not set install reason for package package-name (could not find or read package) when trying to install any package from the AUR. Tried -Syu and -Syyu with no success. Any ideas?

Offline

#2 2022-11-19 07:15:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,287
Website

Re: Yay (could not find or read package)

Learn how the AUR works with native tooling before relying on helpers.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2022-11-19 11:18:16

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 10,939
Website

Re: Yay (could not find or read package)

Mod note: not an installation issue, moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2022-11-19 21:04:40

raphii
Member
Registered: 2022-11-19
Posts: 2

Re: Yay (could not find or read package)

i've got the same issue on my new install today.

i ran

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

to reinstall yay, which fixed it for me
hope this helps you

Last edited by raphii (2022-11-19 21:07:02)

Offline

#5 2022-11-19 21:52:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 27,515
Website

Re: Yay (could not find or read package)

There is no way that that set of commands was the solution to "the same issue".  If you didn't have yay installed you didn't have a problem running yay.  And in any case, the solution here is first to stop using yay - so commands to install it are not a step in that direction.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2022-11-19 22:29:56

raphii
Member
Registered: 2022-11-19
Posts: 2

Re: Yay (could not find or read package)

i know what my mistake was.

i follow the tutorial at https://www.tecmint.com/install-yay-aur … d-manjaro/
which installed "yay-git" - maybe there is something broken

with this version of yay, i indeed had exactly that issue, that all packages from aur wont build/install

the command in my last post was directly from the git repo/readme at https://github.com/Jguer/yay
which installs "yay"

Last edited by raphii (2022-11-19 22:30:20)

Offline

#7 2022-11-19 23:50:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,287
Website

Re: Yay (could not find or read package)

raphii wrote:

i know what my mistake was.

Rather than read the excellent community provided documentation on the wiki, I read some stupid blog post on a clickbait site and wondered why shit wouldn't work...

FTFY.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2022-11-20 08:08:24

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,203

Re: Yay (could not find or read package)

Oh dear. Why follow an online tutorial that says usage of yay includes running with sudo, when yay itself tells you not to do that. such a fundamental error should steer you far away from their guidance.


Ryzen 1800x 8 core/16 thread - 2 x GTX 1070 8Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#9 2022-11-20 14:02:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 27,515
Website

Re: Yay (could not find or read package)

Roken wrote:

Oh dear. Why follow an online tutorial that says usage of yay includes running with sudo, when yay itself tells you not to do that. such a fundamental error should steer you far away from their guidance.

FTFY also.

Last edited by Trilby (2022-11-20 14:03:41)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#10 2022-11-23 06:49:30

ChineseSausage
Member
Registered: 2022-11-23
Posts: 1

Re: Yay (could not find or read package)

Not exactly a mistake, however the issue ocurred with the latest 'yay-git' update. Switched too to 'yay' manually and that did it. Fixed.

raphii wrote:

i know what my mistake was.

i follow the tutorial at https://www.tecmint.com/install-yay-aur … d-manjaro/
which installed "yay-git" - maybe there is something broken

with this version of yay, i indeed had exactly that issue, that all packages from aur wont build/install

the command in my last post was directly from the git repo/readme at https://github.com/Jguer/yay
which installs "yay"

Offline

Board footer

Powered by FluxBB