It was recently opined that we needed a clear definition of what the
expected behaviour of the packaging system is in several cases relating
to publisher preference. I need comments on what the expected behaviour
is for each of the following scenarios:
* when a package or its dependencies is present in more than one
publisher catalog and an install was requested:
-- if a specific publisher was specified (e.g. "pkg://pubname/foo")
should the publisher of the package be used to satisfy dependencies or
should the preferred publisher be used wherever possible? What happens
if there is more than one non-preferred publisher that offers the
dependencies and the preferred publisher does not offer them?
-- conversely, if a specific publisher was not specified (e.g. "pkg
install foo") should the publisher of the package be used to satisfy
dependencies or should the preferred publisher be used wherever
possible? What happens if there is more than one non-preferred
publisher that offers the dependencies and the preferred publisher does
not offer them?
* when a package or its dependencies is present in more than one
publisher catalog and an image-update was requested:
-- should the publisher of the package being updated be used to
satisfy dependencies or should the preferred publisher be used wherever
possible (think of a new package version adding a new dependency or
optional dependencies now being pursued)?
* when an installed package is requested for install again, and its
publisher has been removed (is unknown) or the corresponding fmri is no
longer in the publisher's catalog, where should optional dependencies be
installed from or should this be allowed?
* when an image-update occurs, and a package's publisher has been
removed (is unknown) or the corresponding fmri is no longer in the
publisher's catalog, should any new versions of that package from other
publishers be considered matches for upgrade consideration or for
optional dependency installation?
Finally, should there be a way to reassign the publisher of one or more
packages so that when removal occurs or when the publisher removes the
corresponding fmris from its catalog so that users aren't stuck having
to uninstall and reinstall every package using a different publisher.
Thoughts?
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss