The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
patchadd fails to apply a patch Tex-Twil SUN Solaris 7 04-10-2008 02:39 PM
awk Shell Script error : "Syntax Error : `Split' unexpected Herry UNIX for Dummies Questions & Answers 2 03-17-2008 11:16 AM
Patchadd error Jartan SUN Solaris 3 01-19-2007 05:44 PM
patchadd/patchrm BOFH SUN Solaris 4 12-02-2005 05:58 PM
Error: Internal system error: Unable to initialize standard output file firkus UNIX for Dummies Questions & Answers 2 10-25-2005 03:23 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-13-2008
bluescreen bluescreen is offline
Registered User
  
 

Join Date: Jun 2008
Location: 0x486F6D65
Posts: 39
Question patchadd error

Greetings All-

I ran into this problem today and was curious if anyone else had seen it.

I am attempting to add patch 137402-02 on a v890 running Sol9.

Here's the error I get:

#> patchadd 137402-02

Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...

Patch 137402-02 failed to install due to a failure produced by pkgadd.

See /var/sadm/patch/137402-02/log for details

Patchadd is terminating.


Checking the specified log file I get:

# cat /var/sadm/patch/137402-02/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.

/export/home/hed0431/137402-02/SUNWsadmi/install/checkinstall: /export/home/hed0 431/137402-02/SUNWsadmi/install/checkinstall: cannot open
pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.

The special instructions for this patch require taking the system to Single user mode:

# who -r
. run-level S Aug 13 11:57 S 1 3


Has anyone seen this before? Anyone? Bueller?
  #2 (permalink)  
Old 08-13-2008
rhfrommn rhfrommn is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2003
Location: Minnesota
Posts: 422
I've not seen this error, but one thing that comes to mind immediately is to do a "showrev -p | grep 137402" and see if that version or newer is already there.
  #3 (permalink)  
Old 08-13-2008
bluescreen bluescreen is offline
Registered User
  
 

Join Date: Jun 2008
Location: 0x486F6D65
Posts: 39
rhfrommn-

Thanks for the reply. I tried that and the patch does not exist on the system. This patch upgrades (replaces?) the SUNWsadmi pkg.

I had thought of running 'pkgrm SUNWsadmi' and then running the patchadd again, but I don't think that will work either.
  #4 (permalink)  
Old 08-13-2008
rhfrommn rhfrommn is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2003
Location: Minnesota
Posts: 422
Another guess, it looks like maybe patchadd isn't finding the files correctly. I believe patchadd expects them in a certain place, but your output makes it look like the patch is in your home directory (?) Check the manpage to see how to specify where to get the patches from. Maybe go to the directory you have it in and do "patchadd -d . 137402-02" or similar. Or try giving the full pathname instead of going to the directory and using the ".".
  #5 (permalink)  
Old 08-13-2008
pupp's Avatar
pupp pupp is offline Forum Staff  
cap_10hdx 1
  
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 548
try using the full path such as /var/spool/pkg/137402-02
  #6 (permalink)  
Old 08-14-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,063
copy the patch to /var/tmp dir
cd /var/tmp
patchadd -d .
  #7 (permalink)  
Old 08-14-2008
bluescreen bluescreen is offline
Registered User
  
 

Join Date: Jun 2008
Location: 0x486F6D65
Posts: 39
Solved!

I moved the patch to /var/spool/patch and ran:

# patchadd /var/spool/patch/137402-02

Kinda weird though, I've alway been able to install a patch from anywhere on a system.

Thanks to all who responded!!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:45 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0