[pca] PCA return codes

Fred Chagnon fchagnon at gmail.com
Mon Sep 29 16:54:19 CEST 2008


I believe what Rajiv may have been asking for was an option to NOT download
patches if indeed they are missing. Simply say the patch is missing, and
move on. (Obviously this may break dependencies, but if the host isn't
connected to the internet, why waste time trying to download.)
In my shop, I have shell script which wraps pca, to do the actual patching.
But since several of our servers are in on a network with no direct access
to the Internet, I also wrote a patch simluation script. This script is
almost a carbon copy of the patch script but it runs against the
uname/showrev/pkginfo files on the server where I keep all the patches.
Since this server has access to the Internet, any missing patches will be
resolved during the simulation so I need not worry about not having the
required patches in production.

Fred

On Mon, Sep 29, 2008 at 5:44 AM, Martin Paul <martin at par.univie.ac.at>wrote:

> Hi,
>
>  Is there a way to avoid this attempt of download and directly install the
>> patch from the directory mentioned in patchdir option?
>>
>
> As Michael already stated, pca won't attempt to download the patch again if
> it already exists. It *does* show "Downloading ..", but this really means
> the whole process of locating, copying, or downloading the patch.
>
> If the patch already exists in patchdir (either unpacked as directory
> 123456-78 or as patch distribution file like 123456-78.zip) pca will
> continue with the installation step immediately.
>
> If you see a different behaviour, please provide an example (with debug
> output).
>
> Martin.
>
>


-- 
Fred Chagnon
fchagnon at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.univie.ac.at/mailman/private/pca/attachments/20080929/8e3a1f27/attachment.html 


More information about the pca mailing list