One additional follow up question.
Given the packages below, except that pkg:/[EMAIL PROTECTED] doesn't exist in the
repository at all (so we have a dependency on a package version that
doesn't exist), an attempt to install bar results in an error rather
than installing the later version that does exist.
$ pkg install foo2
Creating Plan -pkg: install failed (inventory exception):
No matching package could be found for the following FMRIs in any of
the catalogs for the current authorities:
pkg:/[EMAIL PROTECTED],5.11
Is that a bug too?
Thanks.
Tom
Tom Mueller (pkg-discuss) wrote:
Based on a discussion about depend actions back in May/June [1], my
understanding is that a depend action with type=require is supposed to
specify the minimum version that is needed to satisfy a dependency.
So given a repository with:
pkg:/[EMAIL PROTECTED]
pkg:/[EMAIL PROTECTED]
pkg:/[EMAIL PROTECTED] with a depend action, type=require fmri=pkg:/[EMAIL
PROTECTED]
When I install bar, what version of foo should be installed? Currently,
the code is installing [EMAIL PROTECTED] An image-update will then update foo to
1.4.
Is this a bug?
If it's not a bug, how does one specify a dependency on a minimum
version of a package, but when the package is installed, you want the
most recent version of the dependency installed?
Thanks.
Tom
[1] http://mail.opensolaris.org/pipermail/pkg-discuss/2008-June/003892.html
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss