[pacman-dev] [PATCH] test version range restrictions corner case

Dominik Fischer d.f.fischer at web.de
Tue Dec 8 16:13:08 UTC 2015


If this is the intended way to specify a version range, I don't see any need to
introduce a dedicated syntax. It just has to be ensured that when checking
dependencies, all requirements for a package have to be satisfied by the same
package. Then, the given scenario would be rejected because "pkg1" providing
"dependency=5" meets "dependency<=4", but "dependency>=3" is only met by "pkg2"
providing "dependency=2", which are not the same.

Unfortunately, I lack proper knowledge of the libalpm code responsible for this
to offhandedly implement a solution.


More information about the pacman-dev mailing list