[pca] PCA not reporting on patches that may need to be re-installed

Norman Lyon norman.lyon at gmail.com
Mon Mar 23 16:24:12 CET 2009


Argh!!!!  I wanted to use the patchdiag.xref to speed things up.  :(

Thanks, though.  I'll go ahead and either create a local  
patchdiag.xref type of file, or take the patchdiag.xref and append new  
lines that would be seen as comments that have the info I'd want...

Quoting Martin Paul <martin at par.univie.ac.at>:

> Not that I would claim to understand all details of your code, but  
> I'd say that this should be fine. You are using the information from  
> the patch zip file, which has one big advantage over patchdiag.xref  
> - it contains all $PKG.$ARCH combinations which come with the patch.  
> Therefore you have enough information to decide whether any of the  
> packages in the patch has not been installed yet. patchadd works  
> like that, too.
>
> pca has to work with the information from the patchdiag.xref, as it  
> can't download all patch zip files before determining whether they  
> apply to a system. In the xref file the $PKG and $ARCH information  
> is separated. While it includes all $PKG:$VERSION combos, the $ARCH  
> values of all included packages are combined into one field. You can  
> not judge which package is for which architecture.
>
> It was a bad design choice, back when the xref format was created.  
> It should use $PKG:$VERSION:$ARCH instead to make it complete.
>
> Martin.
>
>
>






More information about the pca mailing list