<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang="EN-GB" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal">Hi,</p><p class="MsoNormal"> </p><p class="MsoNormal">I have recently discovered PCA and it's great at generating patch reports, but how can I use those reports to download patch bundles for various servers?</p>
<p class="MsoNormal"> </p><p class="MsoNormal">We download weekly explorers from all of our Solaris servers to a Linux jumpbox for safekeeping, and I create patch reports for all of our Solaris servers from those explorers using PCA on the Linux box.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">How can I download the patches required for a particular Solaris server to the Linux box using the patch report generated by PCA on the Linux box?</p><p class="MsoNormal"> </p>
<p class="MsoNormal">I've been playing with command line options and env variables, and I can’t get the syntax right </p><p class="MsoNormal"> </p><p class="MsoNormal">e.g. :</p><p class="MsoNormal"> </p><p class="MsoNormal">
$ /usr/local/scripts/PATCHING/pca /mssunix/pca/patch-reports/<pca-report>.txt --user=<user> --passwd=<password></p><p class="MsoNormal"> </p><p class="MsoNormal">ERROR: Unknown operand: Using</p><p class="MsoNormal">
</p><p class="MsoNormal">(PCA_PATCHDIR is set in the environment)</p><p class="MsoNormal">The "Using" obviously comes from the first line of the patch report, but how can I use a patch report to generate a list of patches to download for a particular server? This seems to me like an obvious way to do this, I just can't get the syntax right.</p>
<p class="MsoNormal"> </p><p class="MsoNormal">PCA seems so great in other respects, I'd be surprised if it couldn't do this. Do I have to manually generate a list of patches from the patch report? (I could script it, but why re-invent the wheel?)</p>
<p class="MsoNormal"> </p><p class="MsoNormal">Thanks</p><p class="MsoNormal">Gordon</p></div></body></html>