[pacman-dev] conflict and provision versions

Dan McGee dpmcgee at gmail.com
Mon Nov 19 14:03:39 EST 2007


On Nov 19, 2007 11:55 AM, Xavier <shiningxc at gmail.com> wrote:
> I found the current behavior a little confusing at first, but actually, it's
> alright.
> Suppose you have a package which depends on provision>=2.0-2 , and let's see
> what a package needs to provide for satisfying it :
> * 'provision' -> NO
> * 'provision 2.0' -> OK
> * 'provision 2.0-1' -> NO
> * 'provision 2.0-2' -> OK
>
> So any 2.0-x dep will be satisfied by provision 2.0 .
>
> Now, if the dependency is provision>=2.0 :
> * 'provision' -> NO
> * 'provision 2.0' -> OK
> * 'provision 2.0-1' -> OK
> * 'provision 2.0-2' -> OK
>
> So the 2.0 dep will be satified by any 2.0-x

OK, there have been many replies, but all I want to say is this- this
is *good enough* for me. We are talking niche cases here, we have much
bigger problems in the code to solve than what basically boils down to
a feature request in a brand new feature.

-Dan




More information about the pacman-dev mailing list