On Tue, May 14, 2013 at 04:08:30PM +0200, Janne Johansson wrote:
> I usually add a bunch of packages in a row, and when it wants me to
> interact, I don't understand why the packages act differently:
> 
> pkg_add subversion mtr arping rsync
> Ambiguous: choose dependency for subversion-1.7.8:
>  a       0: apr-util-1.4.1p0
>          1: apr-util-1.4.1p0-ldap
[...]
> Ambiguous: choose package for rsync
>  a       0: <None>
>          1: rsync-3.0.9p2
>          2: rsync-3.0.9p2-iconv
> Your choice: 1
> rsync-3.0.9p2:
> ok
> 
> Why does rsync think 0 (None) is a "good" default? The other deps for svn
> all think 0 is a choice where something actually gets installed, but 0 for
> rsync seems to be .. Dont.

All other packages are dependencies.
rsync is something you ask for, so you can decide to let it NOT install
anything.


> In my particular case it would be neat to just type 0,0,0 all the time, but
> that's really not the basic point, it is more "why does it even give you a
> don't install at all as an option?"
> pkg_add rsync
> really does mean "I would like (an version of) rsync installed" to me.

The other stuff (dependencies) asks for a specific version by default.
If you want the same thing for rsync, you should do
pkg_add rsync--

(to ask for the empty flavor)

Reply via email to