112960-37 on SPARC Sol 9 u8 will not install properly.

smpatch analyze

112960-37 SunOS 5.9: patch libsldap ldap_cachemgr libldap

unzip 112960-37.zip

Archive: 112960-37.zip

<snip successful output>

sync

patchadd /export/home/patches/112960-37

Checking installed patches...

Verifying sufficient filesystem capacity (dry run method)...

Patch 112960-37 failed to install due to a failure produced by pkgadd.

See /var/sadm/patch/112960-37/log for details

Patchadd is terminating.

cat /var/sadm/patch/112960-37/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.

/export/home/patches/112960-37/SUNWarc/install/checkinstall: /export/home/patches/112960-37/SUNWarc/install/checkinstall: cannot open

pkgadd: ERROR: checkinstall script did not complete successfully

Dryrun complete.

No changes were made to the system.

showrev -p | grep 112960

Patch: 112960-30 Obsoletes: 113152-01, 113166-01, 113476-13 Requires: 112874-06 Incompatibles: Packages: SUNWcsl, SUNWnisu, SUNWcslx, SUNWhea, SUNWarc, SUNWarcx, SUNWcstl, SUNWcstlx

/export/home/patches/112960-37/SUNWarc/install/checkinstall

112960-37/SUNWarc/install/checkinstall: .: filename argument required

.: usage: . filename

PaTcH_MsG 8 Version of is not installed on this system.

ls -alsFn

total 64

2 drwxr-xr-x2 00512 Apr 7 10:14 ./

2 drwxr-xr-x4 00512 Apr 7 10:14 ../

10 -rwxr-xr-x1 00 4985 Apr 7 10:14 checkinstall*

This file:

./reloc/usr/lib/llib-lldap

Seem to be what is being patched but that file is not located on the system.

(the rest are there)

./reloc/usr/lib

./reloc/usr/lib/llib-lldap

./reloc/usr/lib/llib-lldap.ln

./reloc/usr/lib/llib-lpasswdutil

./reloc/usr/lib/llib-lpasswdutil.ln

./reloc/usr/lib/llib-lsldap

./reloc/usr/lib/llib-lsldap.ln

(all this done in "init S")

[2065 byte] By [mickrussom] at [2007-11-26 8:53:58]
# 1
Parts of patchadd and pkgadd run as user nobody and as such the *whole* path, that is, everydirectory in the path, must be accessible by user nobody.Unzip the patch to a path that is accessible by the user nobody (e.g. /var/tmp) and try again.
ForumModerator at 2007-7-6 22:49:13 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2
Sovled. Thanks a lot.
mickrussom at 2007-7-6 22:49:13 > top of Java-index,Administration Tools,Sun Update Connection-System...