[pca] Display reqeusted revision
Rajiv Gunja
opn.src.rocks at gmail.com
Fri Dec 5 11:28:03 CET 2008
Michael,
If that is the case, then I would suggest scripting your requirement. If you
are running this on a handful of servers or handful of patches to filter /
verify, scripting using PCA seems easy to me.
Example: (I did not get hold of a Solaris 9 server, so showing example on a
Solaris 10 server)
# --> pca -y -l -H --format=%i 120294-01
01
Assign this to a variable and put in a "IF" logic to check this variable is
lesser than or greater than your required revision and then take appropriate
action.
Hope this help.
-GGR
--
Rajiv G Gunja
Blog: http://ossrocks.blogspot.com
2008/12/4 Michael Schmarck <michael.schmarck at habmalnefrage.de>
> Hello!
>
> Rajiv Gunja <opn.src.rocks <at> gmail.com> writes:
>
> > Michael,For your issue, you do not need to use PCA to get a listing.
> showrev
> -p | grep 113280 should do the trick. If the output comes up with a
> revision
> lesser than desired, then use PCA to download the patch and install it.
>
> Yes, I know, but there I have the same "problem". I'd need
> an easy, no-brains-required :) way of seeing, that I need
> to take action.
>
> --($ ~/s10u6)-- showrev -p | grep 113280
> Patch: 113280-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
> Patch: 113280-08 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
>
> And with showrev, it gets even harder, because I cannot tell
> it to show me 113280-07.
>
> So, no, I don't think that showrev would be the solution
> to my "problem". At best, its result is as "complicated"
> as the one PCA gives.
>
> Cheers,
> Michael
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.univie.ac.at/mailman/private/pca/attachments/20081205/1257f549/attachment-0001.html
More information about the pca
mailing list