yay
yay copied to clipboard
`yay -Si` prints `pacman -Qi` instead of `pacman -Si`.
Affected Version
yay v12.5.0 - libalpm v15.0.0
Describe the bug
yay -Si prints pacman -Qi instead of pacman -Si. In other words, yay -Si (without specifying a package name) prints all installed packages instead of all packages available in remote repository.
Reproduction Steps
- Run
yay -Si - Run
pacman -Si - Compare the output
More in Output section below.
Expected behavior
Should print all packages available in remote repository.
Output
{
"aururl": "https://aur.archlinux.org",
"aurrpcurl": "https://aur.archlinux.org/rpc?",
"buildDir": "/home/brian/.cache/yay",
"editor": "",
"editorflags": "",
"makepkgbin": "makepkg",
"makepkgconf": "",
"pacmanbin": "pacman",
"pacmanconf": "/etc/pacman.conf",
"redownload": "no",
"answerclean": "",
"answerdiff": "",
"answeredit": "",
"answerupgrade": "",
"gitbin": "git",
"gpgbin": "gpg",
"gpgflags": "",
"mflags": "",
"sortby": "votes",
"searchby": "name-desc",
"gitflags": "",
"removemake": "ask",
"sudobin": "/bin/sudo",
"sudoflags": "",
"version": "12.3.5",
"requestsplitn": 150,
"completionrefreshtime": 7,
"maxconcurrentdownloads": 0,
"bottomup": true,
"sudoloop": false,
"timeupdate": false,
"devel": false,
"cleanAfter": false,
"keepSrc": false,
"provides": true,
"pgpfetch": true,
"cleanmenu": true,
"diffmenu": false,
"editmenu": true,
"combinedupgrade": true,
"useask": false,
"batchinstall": false,
"singlelineresults": false,
"separatesources": true,
"debug": false,
"rpc": true,
"doubleconfirm": true,
"rebuild": "no"
}
$ pacman -Si | jc --pacman | jq -r '.[].name' | wc -l
18188
$ yay -Si | jc --pacman | jq -r '.[].name' | wc -l
2604
$ pacman -Qi | jc --pacman | jq -r '.[].name' | wc -l
2603
$ yay -Qi | jc --pacman | jq -r '.[].name' | wc -l
2603