[pca] disappearing java patches??!!

Martin Paul martin at par.univie.ac.at
Fri Dec 5 10:49:08 CET 2008


Jeff A. Earickson wrote:
> Ahah!  Wget downloaded the patch as 139487-01.tmp instead of 139487-01.zip,
> which (I would guess) is an unlinked file that vanishes after patchadd is
> done with it.

Not quite. pca uses .tmp as the extension for the downloaded file 
because it does not know what kind of file it will receive from 
SunSolve. While all recent patches are in ZIP format, there are others 
which are TAR or compresssed TAR. So after the download to .tmp is 
completed, pca finds out what type of file it got and renames the file 
(to 139487-01.zip in your example).

> Martin,  when did this change in pca happen?  Do I now have to do "pca 
> -d -i -n" instead now? ???!!!

I guess I know what confused you - when you run "pca -i", missing 
patches will be downloaded, installed and *removed*. The reasoning is 
that the zip file isn't usually needed anymore after the patch has been 
installed. With "pca -d" (or "pca -d -i") the patch will not be removed.

This isn't a recent change, though. It has been like that for a very 
long time:

   2006/11/28 (PCA 5.2):
     Remove patches which were downloaded for installation only

So if you have used "pca -i" in the last two years, downloaded patches 
always have been removed after installation. Maybe you've been using it 
differently in the past?

Martin.



More information about the pca mailing list