{
"aururl": "https://aur.archlinux.org",
"aurrpcurl": "https://aur.archlinux.org/rpc?",
"buildDir": "/home/myself/.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": "sudo",
"sudoflags": "",
"version": "12.2.0",
"requestsplitn": 150,
"completionrefreshtime": 7,
"maxconcurrentdownloads": 1,
"bottomup": true,
"sudoloop": false,
"timeupdate": false,
"devel": false,
"cleanAfter": false,
"keepSrc": false,
"provides": true,
"pgpfetch": true,
"cleanmenu": true,
"diffmenu": true,
"editmenu": false,
"combinedupgrade": true,
"useask": false,
"batchinstall": false,
"singlelineresults": false,
"separatesources": true,
"debug": false,
"rpc": true,
"doubleconfirm": true,
"rebuild": "no"
}
Affected Version
yay v12.2.0 - libalpm v13.0.2Describe the bug
See issue title and Reproduction Steps.
While #430 said it's already fixed, but according to my test it seems not now.
Reproduction Steps
E.g. hyprshade is an AUR package, while hyprshades is not.
yay --noconfirm -S hyprshades; echo "Exit code=$?":paru --noconfirm -S hyprshades; echo "Exit code=$?":Expected behavior
Exit code is 1 when package not found.
Output
Click to expand.
{ "aururl": "https://aur.archlinux.org", "aurrpcurl": "https://aur.archlinux.org/rpc?", "buildDir": "/home/myself/.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": "sudo", "sudoflags": "", "version": "12.2.0", "requestsplitn": 150, "completionrefreshtime": 7, "maxconcurrentdownloads": 1, "bottomup": true, "sudoloop": false, "timeupdate": false, "devel": false, "cleanAfter": false, "keepSrc": false, "provides": true, "pgpfetch": true, "cleanmenu": true, "diffmenu": true, "editmenu": false, "combinedupgrade": true, "useask": false, "batchinstall": false, "singlelineresults": false, "separatesources": true, "debug": false, "rpc": true, "doubleconfirm": true, "rebuild": "no" }