[pca] Incorrect permissions in prepatch for 121118-19
laurent at elanor.org
laurent at elanor.org
Wed Nov 23 16:59:02 CET 2011
Quoting Martin Paul <martin at par.univie.ac.at>:
> I just checked - PCA will only look for JAR files in local sources
> anyway, it won't download (or ask for) them from Oracle.
>
> Maybe you have an older version of PCA installed on the proxy?
It's at 20111018-01. I just installed all this, on a Linux box, all clean.
I can even reproduce without the PCA proxy, see the output below.
Quite strange, it requests a .zip, but it gets named .jar in the end
(I somewhat edited the output in case there are confidential info in
those URLs).
An actual PCA bug? Long time since I saw one ;-)
# ./pca -V -d 121118-19
Option download: 1
Option patchdir: /var/tmp
Option user: <user>
Option passwd: <passwd>
Option noreboot: 1
Option safe: 1
Option wgetproxy: proxy:8080
Option debug: 1
Command: ./pca
ARGV: 121118-19
Version: 20111018-01
CWD: /opt/pca
Config files: ./pca.conf
Found /usr/bin/wget (1.12, 11200, https)
Using /usr/bin/wget
Found /bin/uname
Prerequisites for threads not met, setting threads to 0
Never update
Expanded patch list: 121118-19
xref mtime: Wed Nov 23 03:33:26 2011
xref now : Wed Nov 23 16:49:18 2011
xref ctime: Wed Nov 23 16:48:58 2011
xref age : 20
Local file /var/tmp/patchdiag.xref is up to date
osname from uname: Linux
patchdiag.xref size: 2143247
Using /var/tmp/patchdiag.xref from Nov/22/11
All operands are fully qualified patch IDs plus revisions
Host: centos6 (Linux ?/?/?/?)
List: 121118-19 (1/0)
Patch IR CR RSB Age Synopsis
------ -- - -- --- --- -------------------------------------------------------
121118 -- < 19 RS- 146 SunOS 5.10: Update Connection System Client 1.0.19
Looking for 121118-19 (1/1)
Trying Oracle
Trying https://getupdates.oracle.com/ (zip) (1/1)
src: oracle, srcurl:
Adding to /tmp/pca.992312: header=Authorization: Basic <base64-user-passwd>
/usr/bin/wget --progress=dot:binary
"https://getupdates.oracle.com/all_unsigned/121118-19.zip" --execute
http_proxy=proxy:8080 --execute https_proxy=proxy:8080
--ca-certificate=./pca -O /var/tmp/121118-19.tmp
--2011-11-23 16:49:19--
https://getupdates.oracle.com/all_unsigned/121118-19.zip
Resolving proxy... 0.1.2.3
Connecting to proxy|0.1.2.3|:8080... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Cookie coming from getupdates.oracle.com attempted to set domain to
getupdates.oracle.com
Location: https://login.oracle.com/pls/lotsofcharacters [following]
--2011-11-23 16:49:20-- https://login.oracle.com/pls/evenmorechars
Connecting to proxy|0.1.2.3|:8080... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location:
https://updates.oracle.com/osso_login_success?urlc=v1.2%theylovechars
[following]
--2011-11-23 16:49:21--
https://updates.oracle.com/osso_login_success?urlc=v1.2%awholebucketofchars
Connecting to proxy|0.1.2.3|:8080... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: https://updates.oracle.com/all_unsigned/121118-19.zip [following]
--2011-11-23 16:49:22-- https://updates.oracle.com/all_unsigned/121118-19.zip
Connecting to proxy|0.1.2.3|:8080... connected.
Proxy request sent, awaiting response... 302 Found
Location:
http://aru-akam.oracle.com/aaruna03/vol/patch04/PLATFORM/Solaris-64/R4000001100000/121118-19.zip?AuthParam=xxx&FilePath=/aaruna03/vol/patch04/PLATFORM/Solaris-64/R4000001100000/121118-19.zip&File=121118-19.zip¶ms=charsagain
[following]
--2011-11-23 16:49:23--
http://aru-akam.oracle.com/aaruna03/vol/patch04/PLATFORM/Solaris-64/R4000001100000/121118-19.zip?AuthParam=xxx&FilePath=/aaruna03/vol/patch04/PLATFORM/Solaris-64/R4000001100000/121118-19.zip&File=121118-19.zip¶ms=onelastbatchofchars
Connecting to proxy|0.1.2.3|:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1823764 (1.7M) [application/zip]
Saving to: `/var/tmp/121118-19.tmp'
0K ................ ................ ................ 21% 4.48M 0s
384K ................ ................ ................ 43% 6.82M 0s
768K ................ ................ ................ 64% 5.22M 0s
1152K ................ ................ ................ 86% 5.19M 0s
1536K ................ .............. 100% 7.70M=0.3s
2011-11-23 16:49:44 (5.54 MB/s) - `/var/tmp/121118-19.tmp' saved
[1823764/1823764]
Removing /tmp/pca.992312
Done
------------------------------------------------------------------------------
Download Summary: 1 total, 1 successful, 0 skipped, 0 failed
# ls /var/tmp
121118-19.jar patchdiag.xref
More information about the pca
mailing list