yay
yay copied to clipboard
yay -U does not resolve AUR dependencies
v11.0.2
Describe the bug
When installing a local package with yay -U <package>
will resolve only standard repositories and not AUR.
This is inconsistent in comparison to yay -S
.
Reproduction Steps
- build any local package with
makepkg
that includes AUR dependency -
yay -U <package>
- Warning will be shown: warning: cannot resolve <AUR dependency package>, a dependency of
Expected behavior
yay will resolve standard and AUR dependencies and install the package.
Output
[kenaco@kenaco-r2d2-arch kiwi-mcduck-enterprises]$ yay -U kiwi-mcduck-enterprises-0.1.0-1-any.pkg.tar.zst
[sudo] password for kenaco:
loading packages...
resolving dependencies...
warning: cannot resolve "google-cloud-sdk", a dependency of "kiwi-mcduck-enterprises"
warning: cannot resolve "kube-ps1", a dependency of "kiwi-mcduck-enterprises"
:: There are 2 providers available for resolvconf:
:: Repository core
1) openresolv 2) systemd-resolvconf
Enter a number (default=1): 2
warning: cannot resolve "postman-bin", a dependency of "kiwi-mcduck-enterprises"
warning: cannot resolve "pycharm-professional", a dependency of "kiwi-mcduck-enterprises"
warning: cannot resolve "python36", a dependency of "kiwi-mcduck-enterprises"
warning: cannot resolve "python37", a dependency of "kiwi-mcduck-enterprises"
warning: cannot resolve "python38", a dependency of "kiwi-mcduck-enterprises"
warning: cannot resolve "slack-desktop", a dependency of "kiwi-mcduck-enterprises"
warning: cannot resolve "vault-bin", a dependency of "kiwi-mcduck-enterprises"
warning: cannot resolve "zoom", a dependency of "kiwi-mcduck-enterprises"
:: The following package cannot be upgraded due to unresolvable dependencies:
kiwi-mcduck-enterprises
:: Do you want to skip the above package for this upgrade? [y/N] N
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'google-cloud-sdk' required by kiwi-mcduck-enterprises
:: unable to satisfy dependency 'kube-ps1' required by kiwi-mcduck-enterprises
:: unable to satisfy dependency 'postman-bin' required by kiwi-mcduck-enterprises
:: unable to satisfy dependency 'pycharm-professional' required by kiwi-mcduck-enterprises
:: unable to satisfy dependency 'python36' required by kiwi-mcduck-enterprises
:: unable to satisfy dependency 'python37' required by kiwi-mcduck-enterprises
:: unable to satisfy dependency 'python38' required by kiwi-mcduck-enterprises
:: unable to satisfy dependency 'slack-desktop' required by kiwi-mcduck-enterprises
:: unable to satisfy dependency 'vault-bin' required by kiwi-mcduck-enterprises
:: unable to satisfy dependency 'zoom' required by kiwi-mcduck-enterprises
-> exit status 1
not stale, probably a dup but most of the others may have been killed by stale bot