yay
yay copied to clipboard
Strange problem with -Si option - yay can't find a package that exists
Affected Version
yay v10.1.2 - libalpm v12.0.2
Describe the bug
I have my own repository of Arch packages hosted on github. In my pacman.conf I have these 2 lines:
[nestrepo]
Server = https://github.com/jw0k/nestrepo/releases/download/current/
In that repository I have a package named mads-fixed
. In AUR there is a package called mads
. When I run:
yay -Si mads-fixed
The package is found in my repository:
Repository : nestrepo
Name : mads-fixed
Version : 2.1.0-2
Description : Multi-pass crossassembler designed for 6502 and 65816 processors
Architecture : x86_64
URL : https://github.com/tebe6502/Mad-Assembler
Licenses : unknown
Groups : None
Provides : mads
Depends On : glibc
Optional Deps : None
Conflicts With : mads
Replaces : None
Download Size : 178.12 KiB
Installed Size : 375.78 KiB
Packager : Unknown Packager
Build Date : Wed 12 Aug 2020 09:10:28 PM CEST
Validated By : MD5 Sum SHA-256 Sum Signature
However, running yay -Si mads
gives the following error:
error: package 'mads' was not found
If I remove my repository from pacman.conf it starts working again:
~/temp ➜ yay -Si mads
:: Querying AUR...
Repository : aur
Name : mads
Keywords : 6502 assembler atari
Version : 2.1.0-2
Description : MADS is a multi-pass crossassembler designed for 6502 and 65816 processors
URL : http://mads.atari8.info/
AUR URL : https://aur.archlinux.org/packages/mads
Groups : None
Licenses : unknown
Provides : mads
Depends On : glibc
Make Deps : fpc
Check Deps : None
Optional Deps : None
Conflicts With : None
Maintainer : marcinn
Votes : 0
Popularity : 0.000000
First Submitted : Sun 27 Oct 2019 08:55:16 AM CET
Last Modified : Sat 27 Jun 2020 04:12:16 AM CEST
Out-of-date : No
Reproduction Steps
As described above.
Expected behavior
I would expect that mads
will be found in AUR after running yay -Si mads
.
Seems to be a provides
issue, will see if there's a quick fix
Is it related?
# works
> yay -Si mopidy
Repository : community
Name : mopidy
...
# works
> yay -Si mopidy-ytmusic
:: Querying AUR...
Repository : aur
Name : mopidy-ytmusic
...
# finds only pkg in community repo
# even though it claims to query AUR
> yay -Si mopidy mopidy-ytmusic
:: Querying AUR...
error: package 'mopidy-ytmusic' was not found
Repository : community
Name : mopidy
...
-> exit status 1
Fixed in https://github.com/Jguer/yay/commit/096ff7a544935cb343b9dbe34fb6803d49d2e277