[pca] Tweaking patchdiag.xref

Dagobert Michelsen dagobert at familie-michelsen.de
Mon Feb 17 11:02:49 CET 2014


Hi,

Am 17.02.2014 um 10:04 schrieb Martin Paul <martin.paul at univie.ac.at>:
> I don't have a straight solution for your task, but here are some ideas:
> 
> > 1) Is there any better way to do it?
> 
> Try using "pca --minimal missingr". The "minimal" option will make PCA work with the list of patches in the Recommended Patch Set. So this command should give you a list of missing applicable patches. When feeding PCA an empty "showrev" output (simulating an unpatches system), you should get the complete number of applicable patches.

Isn’t mkxref from
  http://www.par.univie.ac.at/solaris/pca/contrib.html
exactly what you are looking for?

>> 2) is pca considering that info (field #10)?
> 
> yes, it uses it to determine whether a patch is applicable or not.
> 
>> 3) If yes, does anybody have any tip where can I extract that info from?
> 
> besides patchdiag.xref? The "VERSION" line in the <pkg>/pkginfo files, to be found in the extracted patch zip file.
> 
>> 4) Did anybody have a requirement like this before? (compare against a fixed set of patches)
> 
> Not me.


Best regards

  — Dago
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2418 bytes
Desc: not available
URL: <https://lists.univie.ac.at/pipermail/pca/attachments/20140217/0132b15c/attachment.bin>


More information about the pca mailing list