?
Solved

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

Posted on 2014-04-23
3
Medium Priority
?
1,788 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 2000 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 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Security measures require Windows be logged in using Standard User login (not Administrator).  Yet, sometimes an application has to be run “As Administrator” from a Standard User login.  This paper describes how to create a shortcut icon to launch a…
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.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month10 days, 8 hours left to enroll

765 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