Summary: Solved: patching - checkinstall fails

From: Donald H Locker <dhlocker_at_comcast.net>
Date: Fri Jan 01 2010 - 10:39:05 EST
Many thanks to David Holmes, Anthony D'Atri and Kurt Schreiner for their help.

I checked path permissions to all the checkinstall scripts - all were 755, so that wasn't a problem.  Copied the patch cluster's files to /tmp and executed the ./install_cluster from there -- worked a treat.  118855-36 installed fine, then I needed a reconfigure boot, then all the rest went without problem in the order I decided would work.  (I did have to copy the files in twice; /tmp was clear after the reboot, of course.)

Machine is back to mostly fully functional.  Now to upgrade all the apps I was trying to get going.

Thanks again,
Donald.

Donald H Locker wrote:
> Hello, fellow Sun managers.
> 
> I _really_ want to get my machine patched up-to-date, but I seem to be missing a critical step somewhere.  The patch I'm really wanting is 120012-14, I believe, but 118855-36 would be nice so I need these all.
> 
> I've downloaded the J2SE_Solaris_10_x86_Recommended patch cluster (which is really all I'm qualified to fetch, not being a Sun-real-support customer - this is my home machine); system is an Ultra20-M2 (x86) from October 2006, last patched in Feb '07; patch attempts after that in August '08 failed similarly to today's (yesterday's) failures.
> 
> I verified that I have 13 of the patches in that bundle already installed (122641-06, 113000-07, 140861-01, 140797-01, 121264-01, 117435-02, 127756-01, 123840-04, 121334-04, 120901-03, 118919-21, 118344-14, 122035-05) but the other 15 fail for various reasons (5, 15, and 2.)  My edited patch_order (in which I eliminated the patches already installed and re-ordered to accommodate the already-installed patches) contains:
> 
> 118855-36
> 120037-22
> 122661-08
> 125548-02
> 119255-71
> 138218-01
> 140900-01
> 126424-03
> 120273-28
> 125504-02
> 120012-14
> 127128-11
> 119964-19
> 138884-01
> 125556-06
> 138867-02
> 137138-09
> 
> Only the patches that reported Return code 5 generated log files in /var/sadm/patch.  Those logs (for patches 118855-36 119255-71 138218-01 140900-01 119964-19 125556-06) all look like:  (FWIW, my current 118855 is -14)
> ============8<--------------------
> 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.
> 
> /home/dhl/Downloads/Solaris/J2SE_Solaris_10_x86_Recommended/118855-36/CADP160/install/checkinstall: /home/dhl/Downloads/Solaris/J2SE_Solaris_10_x86_Recommended/118855-36/CADP160/install/checkinstall: cannot open
> pkgadd: ERROR: checkinstall script did not complete successfully
> Dryrun complete.
> No changes were made to the system.
> ============8<--------------------
> All of the checkinstall scripts cited exist and are readable by root:
> # ls -l /home/dhl/Downloads/Solaris/J2SE_Solaris_10_x86_Recommended/118855-36/CADP160/install/checkinstall
> -rwxr-xr-x   1 dhl      staff       4995 Dec 31 22:16 /home/dhl/Downloads/Solaris/J2SE_Solaris_10_x86_Recommended/118855-36/CADP160/install/checkinstall
> 
> The patch cluster log (/var/sadm/install_data/J2SE_Solaris_10_x86_Recommended_Patch_Cluster_log) shows the missing dependencies (e.g. 120037-22, 122661-08, 126424-03, 125504-02, 120012-14, 127128-11, 138884-01, and 137138-09 depend on 118855-36, which failed.) 138867-02 depends on 125556-01 (actually -06) which failed and 120273-28 depends on 118855-15 (18855-14 is too old).
> 
> One other question I have is about 122661-08 which seems to be a problem.  125548-02 seems to only act as a gatekeeper, preventing other patches from loading if 122661-08 is not installed (some dependency circularity, as I read the README.)  122661-08 depends on 124205-02, which is obsoleted by 120037-15 which I listed in my patch_order, but which isn't getting installed.  If 120037-15 successfully installs, will the 122661-08 install be happy?  Will I then be able to install 120012-14 which obsoletes 122661-08?  (120012-14 depends on a patch that depends on 122661-08, so there is a difficulty getting it to install.) 122661-08 also depends on 118855-33, so until I get 118855-36 in, nothing happens, but I know about that.
> 
> Any insights would be welcome.
> 
> Happy New Year! and Thanks!
> Donald.
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Jan 1 10:40:16 2010

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:15 EST