Errors When Trying to Install Sun Update Connection Software
Hello
I am trying to install the Sun Update Connection software on a relatively fresh install of Solaris 10 x86 running on a Sun AMD workstation. When running the installer I get the following error:
Patch 119575-01 failed to install due to a failure produced by pkgadd.
See /var/sadm/patch/119575-01/log for details
The indicated log file contains:
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.
/home/bjl/tmp2/updateConnection/patches/119575-01/SUNWcsu/install/checkinstall: /home/bjl/tmp2/updateConnection/patches/119575-01/SUNWcsu/install/checkinstall: cannot open
pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.
This is my first attempt at installing the software so there should be no previous installations to worry about. I do not currently show patch number 119575-01 in my list of installed patches. The only other major software install I have done is Sun Studio 10. I have been using "smpatch update" to install patches onto the system up to this point.
Can anyone provide me with advice as to how I might get the Sun Update Manager Client software to install successfully?
[1367 byte] By [
BJLineham] at [2007-11-26 6:02:26]

# 2
As requested:
[1]$ ls -l /home/bjl/tmp2/updateConnection/patches/119575-01/SUNWcsu/install
total 58
-rwxr-xr-x1 bjlstaff4985 May 13 07:48 checkinstall
-rwxr-xr-x1 bjlstaff 93 May 13 07:48 copyright
-rwxr-xr-x1 bjlstaff5768 May 13 07:48 i.none
-rwxr-xr-x1 bjlstaff1555 May 13 07:48 patch_checkinstall
-rwxr-xr-x1 bjlstaff824 May 13 07:48 patch_postinstall
-rwxr-xr-x1 bjlstaff6703 May 13 07:48 postinstall
-rwxr-xr-x1 bjlstaff6572 May 13 07:48 preinstall
# 3
The 'cannot open' is generally a permission problem.
pkgadd calls the checkinstall script as the user 'install'
(if present on the system) or 'nobody'.
If this user does not have permission to read the checkinstall
file, then there will be an error.Based on the 'ls -l', it looks
like everyone should be able to read the file. You may try
su-ing to nobody and try to view checkinstall as a test.
Regarding the msg 'This appears to be an attempt to install the
same architecture . . .'; don't worry about that. This patch is
updating the SUNWcsu package (core solaris), which is already
on the system.
I would double check anything related to user or permissions.
# 7
This is a problem with many patches including some in the recommended cluster.
You must always assure that the parent directories are world read/exec from where you unzipped the patches. One of your parent dirs isn't world r x.
As stated above, user "nobody" needs to be able to get in there to run the check script.
Been this way since at least 1996, probably always ;-)