Thursday, August 19, 2010

Solaris 10 EIS patches - patchadd error

Was getting the following error any patch attempted under /var/tmp/10/ with the ./install_all_patches script.

[...]
Checking installed patches...

Executing prepatch script...

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

Patch 119254-72 failed to install due to a failure produced by pkgadd.

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.

From the generated log file:

[...]
/var/tmp/10/10_Recommended/patches/119254-72/SUNWinstall-patch-utils-root/install/checkinstall: /var/tmp/10/10_Recommended/patches/119254-72/SUNWinstall-patch-utils-root/install/checkinstall: cannot open


pkgadd: ERROR: checkinstall script did not complete successfully



Dryrun complete.



No changes were made to the system.


Now, what it looks like is that checkinstall cannot be opened...but it's really saying something that checkinstall script itself is trying to open is failing.

The resolution was:

Somehow, the ".." directory under 10_Recommended directory had 700 permissions...changed it to 755 and the EIS patches installed perfectly.

Arcanum sought! :)

-highprotein

No comments:

Post a Comment