[OmniOS-discuss] question on pkg info behavior

Eric Sproul esproul at omniti.com
Mon Jul 28 22:06:58 UTC 2014


On Mon, Jul 28, 2014 at 12:59 PM, Nathan Huff <nrhuff at umn.edu> wrote:
> It looks like 'pkg info -r' Isn't restricting itself to the system's branch,
> but 'pkg install' is.  It seems like the correct behavior would be to have
> pkg info restrict itself to the branch as well.

Hi Nathan,
The behavior of 'pkg info -r' is to show you the most recent version
available in the remote repository.  That remote version may or may
not be installable due to local restrictions (in your case, it's the
omnios-userland package, which incorporates on the r151006 version of
gnu-patch).  See pkg(5) for an explanation of incorporate
dependencies.

In the case of LTS and r151008, these versions are in the same repo.
Starting with r151010, there is a separate repo per release, which
will causes fewer problems and less confusion for users.

Eric


More information about the OmniOS-discuss mailing list