-
-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yay is stuck in an infinite loop due to a circular dependency #2413
Comments
It seems like yay currently has huge issues resolving dependencies between different circularly depending AUR packages providing split packages. Both |
A possible solution could be checking whether the package with the requested pkgver-pkgrel had already been built and instead just installing it rather than calling makepkg in every case to build it again - though I'm not sure how yay handles this internally. |
yay loop logs
|
Same issue
|
I have the same issue as @D4llo. However, it's not related to the circular dependency issue discussed here (at least there is no infinite loop, just a direct error). This issue persists even using |
I agree, it also occurs in other AUR helper. It looks like they both don't properly resolve the order to install and uninstall the particular packages if there are dependencies across different split packages shared in two pkgbases - though this is absolutely compliant and in our case even makes sense. Easiest would be to first build all subpackages of both required pkgbases - and then install all of them at once using Currently, yay seems to try to build, package and install them all after each other - and refuses to uninstall a previous version of a another sub package even though the version is explicitly marked as This once again shows how difficult resolution of complex dependency cycles can become when locally building. Chapeau to all the efforts already in yay to resolve this. |
I just wanted to share my recent experience while trying to install the Flutter package. I encountered an issue where yay would fall into an infinite loop during the installation process, which prevented the completion of the installation. After several unsuccessful attempts, I decided to try paru as an alternative, and to my relief, it worked perfectly fine. For now, I've temporarily switched to using paru for installing Flutter until the issue with yay is resolved. I hope this information might help to test the problem. |
Affected Version
yay v12.3.5 - libalpm v14.0.0
Describe the bug
yay -Suy
is stuck in an infinite loop and is printing the following message over and over again:Reproduction Steps
Expected behavior
yay detects and ignores the packages involved in the circular dependencies
Output
over and over again
The text was updated successfully, but these errors were encountered: