Solved

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

Posted on 2014-04-23
3
1,625 Views
Last Modified: 2014-04-24
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#
0
Comment
Question by:sunhux
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 500 total points
ID: 40018783
0
 

Author Comment

by:sunhux
ID: 40019172
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
0
 
LVL 16

Assisted Solution

by:Joseph Gan
Joseph Gan earned 500 total points
ID: 40019211
That could work, but as the link said: "So having it accessing all the files within the patch directory is probably futile."

Add user "install" could avoid this.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a guide to the following problem (not exclusive but here) on Windows: Users need our support and we supporters often use global administrative accounts to do this. Using these accounts safely is a real challenge. Any admin who takes se…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now