Solved

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

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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Users of Windows 10 Professional can disable automatic reboots using the policy editor. This tool is not included in the Windows home edition. But don't worry! Follow the instructions below to install (a Win7) policy editor on your Windows 10 Home e…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

730 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