I have registered repository on Solaris 11.4x86 VM. When I try to grab SRU I receive several results, one of them installed:

# pkg list -af entire
entire                    11.4-        ---
entire                    11.4-        i--
entire                    11.4-        ---
entire                    11.4-       ---
entire                    0.5.11-    ---

For getting info about installed (11.4- I can use

# pkg info entire@11.4-
and receive Summary, State, Packaging Date etc.
For not installed (all other instances) I receive:
# pkg info entire@11.4-
pkg: info: no packages matching the following patterns you specified are
installed on the system.  Try querying remotely instead:

My question is: how can I receive detailed info about all entire SRUs from list of available ones?

Or can you please tell me where can I read about this?

  • Found it. By add -r option, it returns me the needed info: # pkg info -r entire@11.4- Name: entire Summary: entire incorporation including Support Repository Update (Oracle Solaris Description: This package constrains system package versions to the same – Bronya Dec 24 '19 at 6:53

This command gets the needed info:

pkg info -r entire@11.4-
  • Correct - pkg info without the -r flag only provides information on currently installed packages - the -r flag tells it to also query the package repository for info on packages/versions not currently installed. – alanc Dec 29 '19 at 17:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.