[pca] disappearing java patches??!!
Jeff A. Earickson
jaearick at colby.edu
Fri Dec 5 15:37:01 CET 2008
On Fri, 5 Dec 2008, Martin Paul wrote:
> Date: Fri, 05 Dec 2008 10:49:08 +0100
> From: Martin Paul <martin at par.univie.ac.at>
> Reply-To: "PCA (Patch Check Advanced) Discussion" <pca at lists.univie.ac.at>
> To: "PCA (Patch Check Advanced) Discussion" <pca at lists.univie.ac.at>
> Subject: Re: [pca] disappearing java patches??!!
>
> 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?
I've started using pca within the last two years. It has always left (some) patches
behind in my homedir; I didn't start noticing this issue until the really large
java patches came along and things got slow because the patches kept getting
redownloaded. Is there some .pca command that I can add to say "don't remove"?
Jeff Earickson
More information about the pca
mailing list