[pca] Patch pre-requisites

little help littlehelphere at gmail.com
Mon Jun 13 19:03:11 CEST 2011


Actually I did a little more digging on this and the "-l" optin does not
seem to show the dependencies.  For example I ran the command against a
kernel patch

Below is the command and the results.  According to this no dependence.
pca -l 127721-03

Patch  IR   CR RSB Age Synopsis
------ -- - -- --- ---
-------------------------------------------------------
127721 -- < 06 RS-  63 SunOS 5.8: kernel patch

I then untarred the actual patch and looked at the patchinfo file.  You can
see the patch requires three other patches.  So now I guess I am back to the
beginning.  Any ideas how to get details on the dependencies for a patch?
Thanks.
more patchinfo
PATCHINFOVERSION="1.0"
PATCHID=127721-03
PATCH_CORRECTS='Automate-1.0'
PATCH_ARCH='sparc'
PATCH_OS='SunOS'
PATCH_OSRELEASE='5.8'
PATCH_PROPERTIES='clientroot clientusr rebootimmediate singleuser'
*PATCH_REQUIRES="108528-29 117000-05 117350-62"*
PATCH_OBSOLETES="108727-26 111439-03 112325-01 114671-04 116959-21"


On Mon, Jun 13, 2011 at 10:37 AM, little help <littlehelphere at gmail.com>wrote:

> Fred,
>    Seems to be right - thanks for the tip.
>
> On Fri, Jun 10, 2011 at 1:28 PM, Fred <fchagnon at gmail.com> wrote:
>
>> You can determine the dependencies of a single patch by supplying the
>> patch ID in the ARGS list on the command line. For example:
>>
>> $ pca -l 142341
>>
>> Is that what you wanted?
>>
>>
>>
>> On Fri, Jun 10, 2011 at 10:55 AM, little help <littlehelphere at gmail.com>wrote:
>>
>>> I had a quick question about the pre-requisites when installing one
>>> patch.  I know pca determines dependence, etc and installs patches in that
>>> order.  However, how do you do this for one single patch.   For example - I
>>> want to install
>>> 109326-17 : libresolv.so.2, in.named and BIND9 patch
>>> Now libresolv.so.2 has C dependencies.  When I do a full pca check for my
>>> host the C patches come right after the patch for patchadd.  However, there
>>> are about 20+ patches before I get tot he libresolv patch. Are all these
>>> patches dependencies?  I don't see how.  I look at the readme file for the
>>> libresolv patch and do not see anything at all about dependencies.  Is there
>>> a way to check what requirements this patch needs from pca - perhaps a flag,
>>> etc?  Thanks.
>>>
>>
>>
>>
>> --
>> Fred Chagnon
>> fchagnon at gmail.com
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.univie.ac.at/pipermail/pca/attachments/20110613/56f048c6/attachment.html>


More information about the pca mailing list