Patches not being added on 2.8
I'm trying to add the recommended patches on a 2.8 machine (sparc ultra10)
uname -a reveals Generic_108528-24
Booted in sungle user mode.
I'm using the file 8_Recomended.
the enitre install displays return code 8's in 90+% of the situations and once in a while a return 25.
patchadd -p says that no patches are intalled (before and after)
log files shows:
grep: can't open */pkginfo
grep: can't open */pkginfo
Checking installed patches...
One or more patch packages included in
112396-02 are not installed on this system.
Patchadd is terminating.
Installing 111111-04...
"which pkginfo" returns the proper path.
I thought maybe there may have been an issue with single user mode not moujnting all my disks, but at run level 3 I get the same error doing a patchadd.
Any help to the road of sanity will be appreciated.
Peace
Roy
[966 byte] By [
thinkgreen] at [2007-11-25 22:52:47]

# 2
HI
No they weren't but I did as questioned and the result is the same:
# patchadd 112396-02
grep: can't open */pkginfo
grep: can't open */pkginfo
Checking installed patches...
One or more patch packages included in
112396-02 are not installed on this system.
Patchadd is terminating.
# pwd
/var/tmp
# ls -l 112396-02
total 8
-rwxrwxr--1 rootnobody1805 Mar 28 2002 README.112396-02
drwxrwxr--3 rootnobody512 Mar 12 2002 SUNWcsr
drwxrwxr--4 rootnobody512 Mar 12 2002 SUNWcsu
# 4
Thanks much all. The /var/sadm directory was on another partition. Whe I first wenbt to install the patches it was trying to put the log file into /var/sadm, so I created it so the log coud go into it. not realizing the importance of this directory. Then whjen I checked later on to see if there was alink to sadm some where there wasn't cause I'd killed it.
Total F.Up
It seemd to go go but this entry is at the end of my log file:
Is this something to worry about?
Peace
Roy
Installing 109134-28...
Checking installed patches...
Executing prepatch script...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Pkgadd failed. See /var/tmp/109134-28.log.4341 for details
grep: can't open //var/sadm/pkg/SUNWwbcor/pkginfo
Removing partially installed patch
Checking installed patches...
/usr/sbin/patchrm[6]: //var/sadm/pkg: not found
/usr/sbin/patchrm[9]: //var/sadm/pkg: not found
Backing out patch 109134-28...
Patch 109134-28 was installed without backing up the original files.
It cannot be backed out.
Patchrm is terminating.
Failed to remove partially installed patch.
Patchadd is terminating.
# cat Solaris_8_Recommended_log |grep -i fail
Pkgadd failed. See /var/tmp/109134-28.log.4341 for details
Failed to remove partially installed patch.
# cat Solaris_8_Recommended_log |grep -i can
If this can not be done, we recommend having the system in as
patch installation can commence.
grep: can't open //var/sadm/pkg/SUNWwbcor/pkginfo
It cannot be backed out.