Glenn,<br> That seems to provide a bit more detail, which seems to make sense had I not seen the patchinfo file. I ran the pca command against the patch without a revision (see below) and then ran the same command against the dependencies to see if they had any pre-requisites (below). It seems to show one requirements (117350-62) but not the others. Any ideas.<br>
*PATCH_REQUIRES="108528-29 117000-05 117350-62"*<br><br>pca -l 127721<br>Patch IR CR RSB Age Synopsis<br>------ -- - -- --- --- -------------------------------------------------------<br>128624 -- < 16 RS- 116 SunOS 5.8: LDAP2 client, libc, libthread and libnsl libraries patc<br>
117350 28 < 62 RS- 784 SunOS 5.8: kernel patch<br>127721 -- < 06 RS- 64 SunOS 5.8: kernel patch<br><br>pca -l 128624<br>Patch IR CR RSB Age Synopsis<br>------ -- - -- --- --- -------------------------------------------------------<br>
128624 -- < 16 RS- 116 SunOS 5.8: LDAP2 client, libc, libthread and libnsl libraries patc<br><br>pca -l 117350<br>Patch IR CR RSB Age Synopsis<br>------ -- - -- --- --- -------------------------------------------------------<br>
128624 -- < 16 RS- 116 SunOS 5.8: LDAP2 client, libc, libthread and libnsl libraries patc<br>117350 28 < 62 RS- 784 SunOS 5.8: kernel patch<br><br>pca -l 127721<br>Patch IR CR RSB Age Synopsis<br>------ -- - -- --- --- -------------------------------------------------------<br>
128624 -- < 16 RS- 116 SunOS 5.8: LDAP2 client, libc, libthread and libnsl libraries patc<br>117350 28 < 62 RS- 784 SunOS 5.8: kernel patch<br>127721 -- < 06 RS- 64 SunOS 5.8: kernel patch<br><br><br><br><div class="gmail_quote">
On Mon, Jun 13, 2011 at 6:09 PM, Glenn Satchell <span dir="ltr"><<a href="mailto:glenn.satchell@uniq.com.au">glenn.satchell@uniq.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
There is some slight differences here.<br>
<br>
When you give pca the patch *and* the revision number it assumes that you want information about *only* that one patch.<br>
<br>
If you the patch number *without* the revision, then it looks up the patch and dependencies in patchdiag.xref and gives all to you.<div class="im"><br>
<br>
> $ pca -l 142341<br>
><br>
> Is that what you wanted?<br>
<br></div><div class="im">
> Below is the command and the results. According to this no dependence.<br>
> pca -l 127721-03<br>
<br></div>
Try using<br>
<br>
pca -l 127721<br>
<br>
regards,<br>
-glenn<div class="im"><br>
<br>
<br>
On 06/14/11 03:28, Fred wrote:<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
Does the system you're running pca on already meet or exceed the other<br>
unlisted requirements for that kernel patch? Remeber that pca is<br>
basically telling you "This is what I will install, in this order, for<br>
the patch you specify".<br>
<br>
Fred<br>
<br>
On Mon, Jun 13, 2011 at 1:03 PM, little help <<a href="mailto:littlehelphere@gmail.com" target="_blank">littlehelphere@gmail.com</a><br></div><div class="im">
<mailto:<a href="mailto:littlehelphere@gmail.com" target="_blank">littlehelphere@gmail.com</a>>> wrote:<br>
<br>
Actually I did a little more digging on this and the "-l" optin does<br>
not seem to show the dependencies. For example I ran the command<br>
against a kernel patch<br>
<br>
Below is the command and the results. According to this no dependence.<br>
pca -l 127721-03<br>
<br>
Patch IR CR RSB Age Synopsis<br>
------ -- - -- --- ---<br>
-------------------------------------------------------<br>
127721 -- < 06 RS- 63 SunOS 5.8: kernel patch<br>
<br>
I then untarred the actual patch and looked at the patchinfo file.<br>
You can see the patch requires three other patches. So now I guess<br>
I am back to the beginning. Any ideas how to get details on the<br>
dependencies for a patch? Thanks.<br>
more patchinfo<br>
PATCHINFOVERSION="1.0"<br>
PATCHID=127721-03<br>
PATCH_CORRECTS='Automate-1.0'<br>
PATCH_ARCH='sparc'<br>
PATCH_OS='SunOS'<br>
PATCH_OSRELEASE='5.8'<br>
PATCH_PROPERTIES='clientroot clientusr rebootimmediate singleuser'<br>
*PATCH_REQUIRES="108528-29 117000-05 117350-62"*<br>
PATCH_OBSOLETES="108727-26 111439-03 112325-01 114671-04 116959-21"<br>
<br>
<br>
<br>
On Mon, Jun 13, 2011 at 10:37 AM, little help<br></div><div class="im">
<<a href="mailto:littlehelphere@gmail.com" target="_blank">littlehelphere@gmail.com</a> <mailto:<a href="mailto:littlehelphere@gmail.com" target="_blank">littlehelphere@gmail.com</a>>> wrote:<br>
<br>
Fred,<br>
Seems to be right - thanks for the tip.<br>
<br>
On Fri, Jun 10, 2011 at 1:28 PM, Fred <<a href="mailto:fchagnon@gmail.com" target="_blank">fchagnon@gmail.com</a><br></div><div class="im">
<mailto:<a href="mailto:fchagnon@gmail.com" target="_blank">fchagnon@gmail.com</a>>> wrote:<br>
<br>
You can determine the dependencies of a single patch by<br>
supplying the patch ID in the ARGS list on the command line.<br>
For example:<br>
<br>
$ pca -l 142341<br>
<br>
Is that what you wanted?<br>
<br>
<br>
<br>
On Fri, Jun 10, 2011 at 10:55 AM, little help<br></div>
<<a href="mailto:littlehelphere@gmail.com" target="_blank">littlehelphere@gmail.com</a> <mailto:<a href="mailto:littlehelphere@gmail.com" target="_blank">littlehelphere@gmail.com</a>>><div class="im">
<br>
wrote:<br>
<br>
I had a quick question about the pre-requisites when<br>
installing one patch. I know pca determines dependence,<br>
etc and installs patches in that order. However, how do<br>
you do this for one single patch. For example - I want<br>
to install<br>
109326-17 : libresolv.so.2, in.named and BIND9 patch<br>
Now libresolv.so.2 has C dependencies. When I do a full<br>
pca check for my host the C patches come right after the<br>
patch for patchadd. However, there are about 20+<br>
patches before I get tot he libresolv patch. Are all<br>
these patches dependencies? I don't see how. I look at<br>
the readme file for the libresolv patch and do not see<br>
anything at all about dependencies. Is there a way to<br>
check what requirements this patch needs from pca -<br>
perhaps a flag, etc? Thanks.<br>
<br>
<br>
<br>
<br>
--<br>
Fred Chagnon<br></div>
<a href="mailto:fchagnon@gmail.com" target="_blank">fchagnon@gmail.com</a> <mailto:<a href="mailto:fchagnon@gmail.com" target="_blank">fchagnon@gmail.com</a>><br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Fred Chagnon<br>
<a href="mailto:fchagnon@gmail.com" target="_blank">fchagnon@gmail.com</a> <mailto:<a href="mailto:fchagnon@gmail.com" target="_blank">fchagnon@gmail.com</a>><br>
</blockquote>
<br>
</blockquote></div><br>