smpatch analyze returns installed patches
Hi I was wondering if anyone else was having issues on Solaris 10 11/06 Sparc with smpatch analyze (and Sun Update Manager) returning a list of patches that have already been installed?
If I go ahead and attempt to let smpatch (or Sun Update Manager) do its thing, the patch install fails (as expected, in my opinion) with, e.g.:
# cat /var/sadm/patch/126896-01/log
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
PaTcH_MsG 2 Patch number 126896-01 is already applied.
Dryrun complete.
No changes were made to the system.
Here is some relevant info:
# showrev -p | grep "Patch: 126896"
Patch: 126896-01 Obsoletes: Requires: Incompatibles: Packages: SUNWckr
# showrev -p | grep "Patch: 123910"
Patch: 123910-01 Obsoletes: 123954-01 Requires: Incompatibles: Packages: SUNWcsr
Patch: 123910-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
# showrev -p | grep "Patch: 124327"
Patch: 124327-04 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
# showrev -p | grep "Patch: 123836"
Patch: 123836-01 Obsoletes: Requires: Incompatibles: Packages: SUNWckr
# smpatch analyze
126896-01 SunOS 5.10: uata driver patch
123910-03 SunOS 5.10: sun4v platform support for fcode interpreter
124327-04 SunOS 5.10: libpcp patch
123836-01 SunOS 5.10: ATA driver patch
125116-02 SunOS 5.10: dld driver patch
118925-05 SunOS 5.10: unistd header file patch
# smpatch get
patchpro.backout.directory-""
patchpro.baseline.directory-/var/sadm/spool
patchpro.download.directory-/var/sadm/spool
patchpro.install.types -rebootafter:reconfigafter:standard
patchpro.patch.source-https://getupdates1.sun.com/
patchpro.patchset-current
patchpro.proxy.host -""
patchpro.proxy.passwd********
patchpro.proxy.port -8080
patchpro.proxy.user -""
#
# uname -a
SunOS <machinename> 5.10 Generic_125100-10 sun4u sparc SUNW,Sun-Fire-V440
# cat /etc/release
Solaris 10 11/06 s10s_u3wos_10 SPARC
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 14 November 2006
Anyone think this is related to the java issue and 121118 ?
# cacaoadm get-param java-home
java-home=/usr/jdk/jdk1.5.0_12
I'm stumped,
Phil
# 2
Thank you for the prompt reply. Here is the output you requested:
# rm /var/sadm/spool/cache/*detectors.jar
# rm /var/sadm/spool/cache/Database/*current.zip
# smpatch analyze -C patchpro.log.level=3 -C patchpro.debug=true
Effective proxy host : ""
Effective proxy port : "8080"
Effective proxy user : ""
Last Modified Date read: Wed Dec 31 18:00:00 CST 1969
... Submitting download request against a GUUS server
... ... Hostname of URL is getupdates1.sun.com
... ... Filename of URL is /xml/motd.xml
... ... File path portion of URL is /xml/motd.xml
Defining request header : IF_MODIFIED_SINCE... valueWed Dec 31 18:00:00 CST 1969
Key 1 : Server = Sun-ONE-Web-Server/6.1
Key 2 : Date = Tue, 24 Jul 2007 13:54:28 GMT
Key 3 : Content-length = 91
Key 4 : Content-type = text/xml
Key 5 : Content-disposition = attachment; filename=motd.xml
Key 6 : Set-Cookie = 01SessionID=0xf3abae6d; path=/
Last Modified Date value written to /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd is 0
Date format for this value: Wed Dec 31 18:00:00 CST 1969
Last Modified Date file updated : /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd
Last Modified Date read: Wed Dec 31 18:00:00 CST 1969
... Submitting download request against a GUUS server
... ... Hostname of URL is getupdates1.sun.com
... ... Filename of URL is /xml/motd.xml
... ... File path portion of URL is /xml/motd.xml
Defining request header : IF_MODIFIED_SINCE... valueWed Dec 31 18:00:00 CST 1969
Key 1 : Server = Sun-ONE-Web-Server/6.1
Key 2 : Date = Tue, 24 Jul 2007 13:54:29 GMT
Key 3 : Content-length = 91
Key 4 : Content-type = text/xml
Key 5 : Content-disposition = attachment; filename=motd.xml
Key 6 : Set-Cookie = 01SessionID=0x2e2e90da; path=/
Last Modified Date value written to /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd is 0
Date format for this value: Wed Dec 31 18:00:00 CST 1969
Last Modified Date file updated : /var/sadm/spool/cache/xml/https%3A%2F%2Fgetupdates1.sun.com%2F%2Fmotd.xml.lmd
Effective proxy host : ""
Effective proxy port : "8080"
Effective proxy user : ""
Last Modified Date read: Sat Jul 21 02:22:30 CDT 2007
... Submitting download request against a GUUS server
... ... Hostname of URL is getupdates1.sun.com
... ... Filename of URL is /detector/detectors.jar
... ... File path portion of URL is /detector/detectors.jar
Effective proxy host : ""
Effective proxy port : "8080"
Effective proxy user : ""
Defining request header : IF_MODIFIED_SINCE... valueSat Jul 21 02:22:30 CDT 2007
Last Modified Date read: Sat Jul 21 02:22:30 CDT 2007
... Submitting download request against a GUUS server
... ... Hostname of URL is getupdates1.sun.com
... ... Filename of URL is /database/current.zip
... ... File path portion of URL is /database/current.zip
Defining request header : IF_MODIFIED_SINCE... valueSat Jul 21 02:22:30 CDT 2007
Failure: Cannot connect to retrieve detectors.jar: Read timed out
#