Re: [pca] Question: Downloading patches to a central server using pca-generated patch reports

2014-07-30 Thread Martin Paul

Am 29.07.2014 21:24, schrieb Brookins, Neil (Philadelphia):

Perhaps the solution could be to implement a third type of report? We already 
have two types (–list and –listhtml) perhaps there should be a third option to 
list only the patches and not all the other data?


PCA's --format option can create reports and lists in whatever format 
is required (see e.g. Roland's reply). But the best solution for the 
original problem is exactly as you state:



What I do for this issue is different. I don’t try to re-use the report output 
as subsequent input. I just keep the files for the --fromfiles=DIR around for 
reuse.  I run the report with –list then when I’m ready to download patches I 
remove the –list and put –download in its place; rerunning the same command. 
Since I use the same --fromfiles=DIR each time it downloads the correct patches 
for that same report list which was previously generated.


hth,
Martin.



Re: [pca] Question: Downloading patches to a central server using pca-generated patch reports

2014-07-30 Thread Glen Gunselman
Gordon,

I'm not doing what you are, but I go the other way and copy the 
patchdiag.xref file to each server - that way there is no need to keep the 
explorer ect. Files.

Glen

-Original Message-
From: pca [mailto:pca-boun...@lists.univie.ac.at] On Behalf Of Gordon Morrison
Sent: Wednesday, July 30, 2014 4:30 AM
To: PCA (Patch Check Advanced) Discussion
Subject: Re: [pca] Question: Downloading patches to a central server using 
pca-generated patch reports

Thanks for all your replies. I have got machine-specific patch downloads
working with explorer output.
Unfortunately due to disk space restrictions, keeping gunzipped  untar'd
explorers for all of our Solaris systems is not feasible.
The pca man page says:
 The output of the pkginfo, showrev and uname commands is used to gather
   information about the system.
So I just need to save the contents of explorerdir/ patch+pkg/* and
sysconfig/uname*.out for each target system in order to generate the list of
patches to download. Is this correct?

The alternative is to explode each explorer in turn and delete it
afterwards, which is doable, it just seems long-winded.
Thanks again.
Gordon