patch 120335-04
Having some trouble installing this patch. Have not found anything that helps. Here is what I am getting:
Utility used to install the update failed with exit code 5.
Checking installed patches...Executing prepatch script...Verifying sufficient filesystem capacity (dry run method)...Patch 120335-04 failed to install due to a failure produced by pkgadd.See /var/sadm/patch/120335-04/log for detailsPatchadd is terminating.
Transition old-style patching.
Failed to install patch 120335-04.
ALERT: Failed to install patch 120335-04.
[rays1@kahlua ~]$ patchadd 120335-04
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
Done!
Checking patches that you specified for installation.
Done!
Approved patches will be installed in this order:
120335-04
Checking installed patches...
Executing prepatch script...
Verifying sufficient filesystem capacity (dry run method)...
Patch 120335-04 failed to install due to a failure produced by pkgadd.
See /var/sadm/patch/120335-04/log for details
Patchadd is terminating.
[rays1@kahlua ~]$ more /var/sadm/patch/120335-04/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.
pkgadd: ERROR: attempt to unset package <SUNWcbreg> version <1.0,REV=2005.07.01.10.53> package zone attribute <SUNW_PKG_HOLLOW> from <>: the package zone attribute values of installed packages that are set to <true> cannot be unset
Dryrun complete.
No changes were made to the system.
Any ideas or suggestions?
Thanks,
Ray
[1839 byte] By [
rsoellnera] at [2007-11-26 18:43:04]

# 1
I am getting the exact same error, but for patch=120791-05 (Solaris 10 SPARC):
Here's the output from "uname -a":
> uname -a
> SunOS ***** 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Blade-100
I am able to apply all of the other patches listed by "smpatch analyze",
but 120791-05 gives the same error as reported in the early post:
pkgadd: ERROR: attempt to unset package <SUNWcbreg> version <1.0,REV=2005.07.01.10.53> package zone attribute <SUNW_PKG_HOLLOW> from
<>: the package zone attribute values of installed packages that are set to <true> cannot be unset
Dryrun complete.
No changes were made to the system.
-jtb
# 4
Hello,
i ran into the same problem: at some point the recommended cluster patchset issues warnings about not installing the patches:
The logfile
/var/sadm/install_data/Solaris_10_x86_Recommended_Patch_Cluster.log
shows the following error messages:
- Begin of Logfile --
Installing 120720-02...
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
Done!
The following requested patches have packages not installed on the system Package SUNWgzipS from directory SUNWgzipS in patch 120720-02 is not installed on the system. Changes for package SUNWgzipS will not be applied to the system.
Checking patches that you specified for installation.
Done!
Approved patches will be installed in this order:
120720-02
Checking installed patches...
Verifying sufficent filesystem capacity (dry run method)...
Patch 120720-02 failed to install due to a failure produced by pkgadd.
See /var/sadm/patch/120720-02/log for details
Patchadd is terminating.
Installing 121297-01...
- End of Logfile --
It seems, that at some point the patchadd process does an su to the install user if one exists, otherwise to user nobody. If the patch files and all parent directories are not readable by either install or nobody, you get the above mentioned error message.
So there are two workarounds:
1. Setting execute permission for all on /var/spool/patch so that the user nobody can read all patch files and execute a pwd in the patch directory hierarchy.
2. Add an account "install" to the system
useradd -u 0 -o -g 1 -c "Install user" -d / -s /bin/true install
The second workaround did the trick for me!!!!
tc
FAI
2.