yay icon indicating copy to clipboard operation
yay copied to clipboard

Yay builds AUR packages before installing binary repository updates

Open kode54 opened this issue 5 months ago • 0 comments

Affected Version

yay v12.2.0 - libalpm v13.0.2

Describe the bug

I am using linux-cachyos-rc with an otherwise Arch userspace, and binutils was updated today, necessitating a refresh of gcc, glibc and kernel packages. Yay decided to fetch and build linux-cachyos-rc before fetching and installing all the binary packages.

Reproduction Steps

  1. Have an AUR kernel that got refreshed today
  2. Have the other updates waiting
  3. Run yay to update

Expected behavior

While it may be a good idea to scan AUR packages for dependencies first, install all binary repository packages first, then build AUR packages and install them as required for further builds.

Output

Config:

{
	"aururl": "https://aur.archlinux.org",
	"aurrpcurl": "https://aur.archlinux.org/rpc?",
	"buildDir": "/home/chris/.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"
}

Output of update command pending, if it is requested, which will require me to downgrade my packages and rerun the update command.

kode54 avatar Feb 01 '24 09:02 kode54