Oracle Solaris System Administration (MOSC)

MOSC Banner

Easily finding the latest version of an IPS package

edited May 29, 2013 8:17AM in Oracle Solaris System Administration (MOSC) 2 comments
I was reading the excellent article How to Update Only Java on Your Oracle Solaris 11 System.
When checking a few things pkg(1) I've noticed something I haven't paid enough attention previously: the keyword latest.

Sample usage:
$ pkg list -af apache-22@latest
NAME (PUBLISHER)                                  VERSION                    IFO
web/server/apache-22                              2.2.24-0.175.1.7.0.2.0     ---

$ pkg list -af java-incorporation@latest
NAME (PUBLISHER)                                  VERSION                    IFO
consolidation/java/java-incorporation             0.5.11-0.175.1.7.0.4.0     ---

Note: Of course, the package name must be known in advance.

Regards.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center