Link to home
Start Free TrialLog in
Avatar of sunhux
sunhux

asked on

solaris 10 luupgrade patchadd fails with "checkinstall: cannot open"

Got the error below when doing patchadd in a Solaris x86 VM:

Do I need to do "chmod +R 777 patchdir_downwards" ?

=======================================================================

bash-3.2# pwd

/.alt.ABE/var/sadm/patch/119255-89

-bash-3.2# cat 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.

 

/root/patches/10_x86_Recommended/patches/119255-89/SUNWinstall-patch-utils-root/install/checkinstall: /root/patches/10_x86_Recommended/patches/119255-89/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.

-bash-3.2#

 

 

-bash-3.2# pwd

/.alt.ABE/var/sadm/patch/148337-01

-bash-3.2# cat 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.

 

/root/patches/10_x86_Recommended/patches/148337-01/SUNWxcu4/install/checkinstall: /root/patches/10_x86_Recommended/patches/148337-01/SUNWxcu4/install/checkinstall: cannot open

pkgadd: ERROR: checkinstall script did not complete successfully

Dryrun complete.

No changes were made to the system.

-bash-3.2#
ASKER CERTIFIED SOLUTION
Avatar of Joseph Gan
Joseph Gan
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sunhux
sunhux

ASKER

Thanks, that's one way reported in one EE thread.

What about:

cd /var/sadm/patch/patch_dir
chmod -R 777 /var/sadm/patch

Then rerun patchadd.  This won't requires to raise a CR while
adding a new userid install requires a CR
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial