Peter([EMAIL PROTECTED]) on 2007.03.09 02:56:07 +0000:
> but I have found that if a package is dubiously named (such as "db") then it 
> hangs with:
> 
> "Ambiguous: db could be db-3.1.17p6 db-4.2.52p8"

There is nothing dubious about it. There are simply two versions of "db"
available. pkg_add simply does not guess what you want it to do.

> Choose one package
>          0: <None>
>          1: db-3.1.17p6
>          2: db-4.2.52p8
> Your choice:

You found out whats discribed in the manpage:

     In case of ambiguities, for instance: pkg_add screen (matches
     screen-4.02 and screen-4.02-static), pkg_add will error out, unless it
     is invoked in interactive mode (option -i).
 
> Any ideas?

Answer with 0, 1 or 2?

You could also specify the version you want in the pkg_add invocation:

  pkg_add db-4.2.52p8

/B.
-- 
Sebastian Benoit <[EMAIL PROTECTED]>

Reply via email to