You are not logged in.
I'm trying to install openstack clients from AUR and meet this problem.
Say, if package A depends on B, which depends on C (all are in AUR). When I use "yaourt -S A", it fails to install because pacman can't find B. Then I tried "yaourt -U A.tar.xz". It could download and build B, but again B fails to install because of the dependency on C. Can yaourt or some other helper resolve dependencies recursively from AUR?
Last edited by leonshaw (2016-01-14 01:21:52)
Offline
may or may not be the right place for this question since yaourt is 3rd party, but anyway the answer you're looking for is probabily the -a option, so yaourt -Sa (package A). (snipped from yaourt's man page)
SYNC OPTIONS
-a, --aur
Also search in AUR database. With -u or --sysupgrade, upgrade aur packages that are out of date. With -Qm,
display more info about foreign package.
Offline
may or may not be the right place for this question since yaourt is 3rd party, but anyway the answer you're looking for is probabily the -a option, so yaourt -Sa (package A). (snipped from yaourt's man page)
SYNC OPTIONS
-a, --aur
Also search in AUR database. With -u or --sysupgrade, upgrade aur packages that are out of date. With -Qm,
display more info about foreign package.
Thanks. But I still got the same error with this option. It seems that yaourt is not trying to resolve dependencies but simply calls pacman to install. I'm seeking for some other approach if yaourt can't do this.
Offline
Try dropping the '-S'
Online
The time I used yaourt this command worked flawlessly on AUR for years: yaourt -Su --aur
How did you install yaourt, anyway?
Last edited by bernarcher (2016-01-13 06:29:44)
To know or not to know ...
... the questions remain forever.
Offline
Yaourt has a problem with recursive dependencies and apparently is not not fixed yet. Check the long discussions in my package aws-cli In my comment "severach commented on 2015-09-16 02:21" you'll find the AUR helpers I found that properly handle recursive dependencies.
Bug reporting is slow but hopefully a few more have been fixed by now.
Check out the comments for AWS Botocore for Yaourt's incompetent handling of depends in the package functions.
I don't report bugs because the only two uses I need work perfectly.
yaourt -G
cower -u
Offline
Just use pacaur and save yourself some grief...
Offline
I switched to pacaur and it works fine. It is an issue of yaourt. Thanks everyone.
Offline