Solved

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

Posted on 2014-04-23
3
1,603 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
OfficeMate Freezes on login or does not load after login credentials are input.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦
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.

705 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

19 Experts available now in Live!

Get 1:1 Help Now