Welcome to Nik Maslov`s blog
« Solaris divece mappingsAcademicEarth lectures »

Solaris patchadd & patchrm return codes

Permalink 10/08/09 10:38, by Nik Maslov, Categories: Welcome

I needed to patch some severs, due to the overall "patch em`all" mood at my current company, but without the list of Solaris patchadd and patchrm commands it`s pretty hard.

So, for those of you needed the return codes - here they are:


patchadd return codes
----------------
0 No error
1 Usage error
2 Attempt to apply a patch that's already been applied
3 Effective UID is not root
4 Attempt to save original files failed
5 pkgadd failed
6 Patch is obsoleted
7 Invalid package directory
8 Attempting to patch a package that is not installed
9 Cannot access /usr/sbin/pkgadd (client problem)
10 Package validation errors
11 Error adding patch to root template
12 Patch script terminated due to signal
13 Symbolic link included in patch
14 NOT USED
15 The prepatch script had a return code other than 0.
16 The postpatch script had a return code other than 0.
17 Mismatch of the -d option between a previous patch install and the current one.
18 Not enough space in the file systems that are targets of the patch.
19 $SOFTINFO/INST_RELEASE file not found
20 A direct instance patch was required but not found
21 The required patches have not been installed on the manager
22 A progressive instance patch was required but not found
23 A restricted patch is already applied to the package
24 An incompatible patch is applied
25 A required patch is not applied
26 The user specified backout data can't be found
27 The relative directory supplied can't be found
28 A pkginfo file is corrupt or missing
29 Bad patch ID format
30 Dryrun failure(s)
31 Path given for -C option is invalid
32 Must be running Solaris 2.6 or greater
33 Bad formatted patch file or patch file not found
34 Incorrect patch spool directory
35 Later revision already installed
36 Cannot create safe temporary directory
37 Illegal backout directory specified
38 A prepatch, prePatch or a postpatch script could not be executed
39 A compressed patch was unable to be decompressed
40 Error downloading a patch
41 Error verifying signed patch


patchrm return codes
-------------------------
0 No error
1 Usage error
2 Attempt to backout a patch that hasn't been applied
3 Effective UID is not root
4 No saved files to restore
5 pkgrm failed
6 Attempt to back out an obsoleted patch
7 Attempt to restore CPIO archived files failed
8 Invalid patch id format
9 Prebackout script failed
10 Postbackout script failed
11 Suspended due to administrative defaults
12 Patchrm could not locate the backout data
13 The relative directory supplied can't be found
14 Patchadd has been interrupted, re-invoke patchadd
15 This patch is required by a patch already installed, can't back it out
16 Unable to create safe temporary directory
17 Must be running Solaris 2.6 or greater
18 Error unable to retrieve patch information from SQL DB.
19 Lock file not available
20 Insufficient space to uncompress undo.Z files
21 Unable to copy pkginfo file to pspool directory

14 comments »

14 comments

A friend referred to this post and i must say i thank him for it. Youve really given a good insight on the topic. I usually visit http://www.rapidsloth.com/Windows-7-Pre-Service-Pack-1-x86-x64.html but it havent covered topics as well as you do. Thanks again.
03/30/10 @ 23:59
A friend referred to this post and i must say i thank him for it. Youve really given a good insight on the topic. I usually visit http://www.rapidsloth.com/Are-We-Done-Yet?-(2007)-DVDRip.html but it havent covered topics as well as you do. Thanks again.
04/10/10 @ 22:44
Comment from: Jordan retro 10 [Visitor] · http://www.airjordan.cc/air-jordan-10-29/
The information I obtained on this kind of theme from your blog is countless. I'm so extremely grateful of you. It helps me solve many problems.
06/29/10 @ 06:08
Comment from: Eugene Yunak [Visitor] · http://sky.com
Nick, you definately need to have some kind of spamfilter here...
07/21/10 @ 01:57
A round of golf will add an extra special dimension to your trip.
08/01/10 @ 03:48
Good idea, deserving a second watch. Want to be more healthier, come here.
08/24/10 @ 11:57
Comment from: mbt shoes [Visitor] · http://www.mbtexclusive.com/
That’s good.
08/24/10 @ 11:59
You are confidence.
08/24/10 @ 11:59
Comment from: asics running shoes [Visitor] · http://www.sportssneaker.com/asics-running-shoes.html
I like the idea
08/24/10 @ 12:00
Good.
08/24/10 @ 12:01
That’s cool.
08/24/10 @ 12:02
Very interesting info, I am waiting for more! Keep undating you bolg and you will have more readers.
08/24/10 @ 12:03
Pay attention to your health.
08/24/10 @ 12:04
Comment from: supra footwear [Visitor] · http://www.supras.cc/
I only recently started leaving comments! Makes me imagine a tiny additional about what I enjoyed and learned about the post! Fantastic ideas, thanks!
08/31/10 @ 09:40

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)

Search

XML Feeds

StatCounter

b2

©2010 by Nik Maslov

Contact | Blog skins by Asevo | blog software | web hosting | monetize