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/1 19255-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_Recom mended/pat ches/11925 5-89/SUNWi nstall-pat ch-utils-r oot/instal l/checkins tall: /root/patches/10_x86_Recom mended/pat ches/11925 5-89/SUNWi nstall-pat ch-utils-r oot/instal l/checkins tall: 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/1 48337-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_Recom mended/pat ches/14833 7-01/SUNWx cu4/instal l/checkins tall: /root/patches/10_x86_Recom mended/pat ches/14833 7-01/SUNWx cu4/instal l/checkins tall: cannot open
pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.
-bash-3.2#
Do I need to do "chmod +R 777 patchdir_downwards" ?
==========================
bash-3.2# pwd
/.alt.ABE/var/sadm/patch/1
-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_Recom
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/1
-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_Recom
pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.
-bash-3.2#
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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