This repository has been archived by the owner on Aug 9, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 98
Version predicates don't work inside depends array #1
Labels
Comments
I can't reproduce it, maybe unvanquished 0.25 had been modified. You can have a log by executing :
Post yaourt.log |
Here is yaourt.log produced by the given command. Note that the following packages were installed before issuing the command:
If I uninstall both packages, yaourt successfully locates unvanquished-data in the AUR, so apparently the problem only occurs during upgrades. |
If you want to reproduce, apart from skipping checksums you only need to change the versions from |
Try this commit, I think it solves this issue : 9be559a |
Yes, this solves the issue. Thank you! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm the maintainer of the unvanquished and unvanquished-data AUR packages. There is a strict dependency of unvanquished on the version of unvanquished-data: If unvanquished-data is outdated, the program installed by unvanquished won't work properly. I want to model this kind of dependency using the ">=VERSION" predicate inside the "depends" array of the unvanquished PKGBUILD.
While yaourt invocations such »yaourt -S unvanquished-data=0.24.1« or »yaourt -S "unvanquished-data>=0.24.1"« both work as expected by installing the unvanquished-data package only if it fulfils the predicate, adding either predicate to the "depends" array of the unvanquished PKGBUILD would result in yaourt not being able to locate the dependency in the AUR. Example output for the ">=" predicate:
It appears that yaourt uses a different method to look for a dependency as it would use when you specified the same dependency (including the same predicate) on the command line. This results in yaourt falsly not locating the dependency in the AUR and handing it over to pacman, which fails, since it's not inside the official repositories.
The version of yaourt used is archlinuxfr/yaourt 1.3-1.
The text was updated successfully, but these errors were encountered: