Easily finding the latest version of an IPS package
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:
Regards.
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@latestNote: Of course, the package name must be known in advance.
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 ---
Regards.
1