[pca] disappearing java patches??!!

Jeff A. Earickson jaearick at colby.edu
Thu Dec 4 20:17:50 CET 2008


On Thu, 4 Dec 2008, McGranahan, Jamen wrote:

> You could do a -V in your command line to see what is happening.
>
> Jamen McGranahan
> Systems Services Librarian
> Vanderbilt University
>
> -----Original Message-----
> From: pca-bounces at lists.univie.ac.at
> [mailto:pca-bounces at lists.univie.ac.at] On Behalf Of Jeff A. Earickson
> Sent: Thursday, December 04, 2008 12:09 PM
> To: pca at lists.univie.ac.at
> Subject: [pca] disappearing java patches??!!
>
> All,
>
> Using pca version 20081024-01.  My home directory is NFS mounted
> onto all of my Sun boxes, and I run pca from there (as root) so
> that if any patch is downloaded to my homedir, it is there for
> other machines that might also need the same patch.
>
> So...  Four big java patches just came out:
>
> 118666 17 < 18 RS-   2 JavaSE for business 5.0: update 17 patch
> (equivalent to JDK 5.0u17
> 118667 17 < 18 RS-   2 JavaSE for business 5.0: update 17 patch
> (equivalent to JDK 5.0u17
> 125136 11 < 12 -S-   2 JavaSE for business 6: update 11 patch
> (equivalent to JDK 6u11)
> 125137 11 < 12 -S-   2 JavaSE for business 6: update 11 patch
> (equivalent to JDK 6u11), 6
>
> I've noticed that every one my Suns pulls down a fresh copy
> to my homedir -- and then the patch vanishes after installation.
> Is this some pca feature, or something (annoying) buried in the
> patches themselves???
>
Jamen,

Thanks for the suggestion about -V, it revealed something interesting:

139487 -- < 01 ---   1 SunOS 5.10: lpr patch

Looking for 139487-01 (18/32)
Trying http://sunsolve.sun.com/ (1/1)
/usr/sfw/bin/wget "http://sunsolve.sun.com/pdownload.do?target=139487-01&method=h" --header="Authorization: Basic Y2E0NDQzOnRrYWRrMQ==" -O /export/home/admin/jaearick/./139487-01.tmp
--14:06:28--  http://sunsolve.sun.com/pdownload.do?target=139487-01&method=h
            => `/export/home/admin/jaearick/./139487-01.tmp'
Resolving sunsolve.sun.com... 192.18.108.40
Connecting to sunsolve.sun.com|192.18.108.40|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://sunsolve.sun.com/CDW/139487-01.zip;jsessionid=364de7dd332890137245130d8b18 [following]
--14:06:29--  http://sunsolve.sun.com/CDW/139487-01.zip;jsessionid=364de7dd332890137245130d8b18
            => `/export/home/admin/jaearick/./139487-01.tmp'

(and so on to apply the patch).

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.

So, on another box I just did "pca -d" and the zip files got downloaded to 
my homedir as zip files.  Then I ran "pca -i -n" and it applied the non-rebootable
patches with no new downloads required.

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

Jeff Earickson
Colby College



More information about the pca mailing list