Sun Update Connection Manager installation problem
I have been unable to install the Sun Update Connection Manager on a Solaris 10 sparc
system. Running the installation script as root I the script prematurely ends without installing any of the patches
164]root@diesel:/tmp/updateConnection>./installUpdateConnection
Adding patch 119574-02
Checking installed patches...
Patchadd is terminating.
There seems to be a problem with the 119574-02 patch
If I manually run patchadd on the patch,
[168]root@diesel:/tmp/updateConnection>patchadd patches/119574-02
Checking installed patches...
Patchadd is terminating.
[169]root@diesel:/tmp/updateConnection>echo $?
8
the error code is 8, which according to the patchadd script means this:
#8Attempting to patch a package that is not installed
I think I might need to manually install some patches before I can install the Sun Update Connection Manager.
What is the best way to figure out what are the prerequisite patches required for a
patch?
Thank,
Matt Rodriguez
[1088 byte] By [
csgroup2] at [2007-11-26 6:39:41]

# 1
Hi Matt,The pre-requisites should all be included with the bundle you downloaded.Can you check the /var/sadm/patch/119574-02/log file to see if there is any other details logged?
# 2
I don't have the /var/sadm/patch/119574-02/ directory. I don't know a lot about
patch/pkg systems but I suspect that the preinstall script fails and patchadd
terminates.
Here is a listing of the patch directory
[5]mateo@diesel:~>ls -l /var/sadm/patch/
total 6
dr-xr-xr-x2 rootroot 512 Apr 17 20:02 113886-35
drwxr-xr--2 rootroot 512 Apr 17 20:03 113887-35
drwxr-xr--2 rootroot 512 Oct 3 2005 119903-01
Is there a way to get more verbose output out of patchadd?
Matt
# 3
What release of Solaris 10 are you running from? The newere ones already have Sun Update Connection included with them - # cat /etc/release
# 4
[1]mateo@diesel:~>cat /etc/releaseSolaris 10 s10_69 SPARCCopyright 2004 Sun Microsystems, Inc. All Rights Reserved.Use is subject to license terms.Assembled 05 October 2004I don't think it's a newer version.
# 5
Patch 119574-02 is the SunOS 5.10 su patch and doesn't itself have any prerequisites. Can you check whether you have the SUNWcsu package installed as this is what this patch updates:$ pkginfo -l SUNWcsu
# 6
2]mateo@diesel:~>pkginfo -l SUNWcsu
PKGINST: SUNWcsu
NAME: Core Solaris, (Usr)
CATEGORY: system
ARCH: sparc
VERSION: 11.10.0,REV=2004.09.30.22.51
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: core software for a specific instruction-set architecture
PSTAMP: gaget20040930225652
INSTDATE: Mar 03 2005 12:26
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES:3110 installed pathnames
74 shared pathnames
270 linked files
138 directories
462 executables
30 setuid/setgid executables
26764 blocks used (approx)
Matt Rodriguez
# 7
Hi,
Can you post what software group was installed. Im not sure if SunUC only runs on specific groups.
# more /var/sadm/system/admin/CLUSTER
should return one of the below groups.
Software Groupgroup name
---
*Reduced NetworkSUNWCrnet
CoreSUNWCreq
End userSUNWCuser
DeveloperSUNWCprog
Entire distribution SUNWCall
Entire distribution plus OEMSUNWCXall
Scott
# 8
This is what I have in the /var/sadm/system/admin/CLUSTERCLUSTER=SUNWCallMatt
# 9
Could you please try extracting the software bundle or individual patch in the /var/tmp directory and retry installing it using patchadd in case there is a possible permissions issue?
# 10
I get the same exit code 8, when I put the patches in the /var/tmp directory.
I think I just have to dig into the the pkg database and the patchadd script.
I have a few questions regarding the pkg tools. I'm still an amateur with
this system.
Can I use pkginfo to see which files are associated with a package?
Can I use pkginfo to see which package is associated with a file?
Thanks,
Matt
# 11
ok I figured out the answers to my own questions.Use pkgchk. pkgchk -l -p /path/to/filepkgchk -l pkgnameMatt
# 12
We note there was another forum thread where user "wood" had reported the same problem:
http://forum.sun.com/jive/thread.jspa?forumID=316&threadID=92167
It was suggested that the VERSION string of the package may be the problem, although we are not sure about that. We will update that thread to enquire as to whether anything was confirmed and what the solution was.
# 14
Hi. Sun Update Connection is supported on Solaris 10 FCS and later.
The content of /etc/release should be
Solaris 10 3/05 s10_74L2a SPARC
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 22 January 2005
I believe you're running a pre FCS version of Solaris 10.