[pca] pca and Live Upgrade

Martin Paul martin at par.univie.ac.at
Thu Mar 6 11:32:10 CET 2008


przemolicc at poczta.fm wrote:
> I am thinking about the most convenient way of using pca
> with Live Upgrade. Can you share your knowledge regarding this
> topic ? Is the way:
> # lumount <BE>
> # pca --rootdir=/<mounted BE> ...
> the most handy ?

At first I have to say that I haven't used pca with LU personally yet; I 
do have reports from others who used it successfully, though.

The above method is the most simple way, and it should work. Another 
option would be to use pca together with 'luupgrade -t', which is the 
official command to apply patches to a BE with Live Upgrade (it uses 
"patchadd -R" to do the actual patching, just like "pca --rootdir" 
does), so it *shouldn't* make a difference.

You would use:

   pca --rootdir /<mounted BE> --download missing

to download (or list) the missing patches for the BE. Then create a 
patch_order file with:

   pca --rootdir /<mounted BE> --format "%p-%c" > patch_order

With a simple script, you can then unzip all patches and use "luupgrade 
-t -n ... -s ." to apply them.

Martin.



More information about the pca mailing list