Hi Rinaldo,

On Tue, 2011-04-19 at 22:19 -0400, Rinaldo DiGiorgio wrote:
>       I have an explicit dependency on a manual package yet when I install
> the package that has the manifest entry with the dependency-- I  get
> the latest version.

Yes, that's how 'require' dependencies work, see pkg(5) The 'require'
dependency specifies the *minimum* version needed to satisfy the
dependency, but we'll always install the latest if it's not constrained
by anything else on the system.

>  How can I require that dependencies don't update to the latest
> version.

Typically, consolidations have done this using an 'incorporation'
package, that is, a package that delivers no payload other than a bunch
of depend actions with 'incorporate'-type depend actions.

These constrain the set of allowed packages to just those within a given
precision (but doesn't require that any be installed or not)

There's a bit more on incorporations at
http://src.opensolaris.org/source/xref/pkg/gate/doc/guide-main.rst#278

A good example to look at would be 

`pkg contents -rm consolidation/ub_javavm/ub_javavm-incorporation`

On my system, it effectively says that I can only install:
'developer/java/[email protected]'

        cheers,
                        tim

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to