Sponsored Content
Full Discussion: Java patch error
Operating Systems Solaris Java patch error Post 302600854 by bitlord on Wednesday 22nd of February 2012 02:38:46 PM
Old 02-22-2012
Java patch error

I don't know if this the right place to post this.
My issue is this, I'm trying to add this patch to upgrade my java on my Solaris server. I'mtrying to update to java 1.5.0_34 from java 1.5.0_32.

Code:
patchadd ./118666-36

I get this error:
Code:
Patch 118666-36 failed to install due to failure produced by pkgadd.
See /var/sadm/patch/118666-36/log for details
Patchadd is terminating.

cat /var/sadm/patch/118666-36/log
Code:
Package not patched:
PKG=SUNWj5dmo
Original package not installed.
Package not patched:
PKG=SUNWj5jmp
Original package not installed.
Package not patched:
PKG=SUNWj5man
Original package not installed.

This appears to be an attempt to install the same architecture and 
version of package which is already installed. This installation
will attempt to overwrite this package.

/var/tmp/TmpDAAAkKaG5o/118666-36/SUNWj5cfg/install/checkinstall:
 /var/tmp/TmpDAAAkKaG5o/118666-36/SUNWj5cfg/install/checkinstall: cannot open
pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.

---------- Post updated at 09:45 AM ---------- Previous update was at 09:01 AM ----------

Java level
Code:
java -version
java verson "1.5.0_32"
java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_32-bo5)
java HotSpot(TM) Server VM (build 1.5.0_32-bo5, mixed mode)

patch level
Code:
showrev -p|grep 118666
Patch: 118666-22 Obsoletes:  Requires:  Incompatibles:  Packages:  SUNWj5dev, SUNWj5rt, SUNWj5cfg
Patch: 118666-25 Obsoletes:  Requires:  Incompatibles:  Packages:  SUNWj5dev, SUNWj5rt, SUNWj5cfg
Patch: 118666-26 Obsoletes:  Requires:  Incompatibles:  Packages:  SUNWj5dev, SUNWj5rt, SUNWj5cfg
Patch: 118666-30 Obsoletes:  Requires:  Incompatibles:  Packages:  SUNWj5dev, SUNWj5rt, SUNWj5cfg
Patch: 118666-34 Obsoletes:  Requires:  Incompatibles:  Packages:  SUNWj5dev, SUNWj5rt, SUNWj5cfg

Anyway does any one have any suggestions on how I can install this patch?

---------- Post updated at 02:38 PM ---------- Previous update was at 09:45 AM ----------

I found the answer. I was trying to install this patch from a share and for some reason, even thought I was root, It was not working. I copied the patch to /tmp, ran it and now it works. I don't know whey It worked on some servers and not others.
 

9 More Discussions You Might Find Interesting

1. IP Networking

Patch-o-matic (patch for iptable) for linux2.4.08 & iptable1.2.7a

Hello friends I'm running Redhat 9.0 with linux kernel 2.4.20-8 & have iptables version 1.2.7a & encountering a problem that I narrate down. I need to apply patch to my iptable and netfilter for connection tracking and load balancing that are available in patch-o-matic distribution by netfilter.... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies

2. UNIX for Dummies Questions & Answers

error in java

hi everyone i am attaching a java code below, it is running perfectly fine on windows but not on unix system. unix system is having java 1.2 environment. and this code is java 1.1 onwards compatible. WELL THE ERROR GIVEN IS UNKNOWN HOST EXCEPTION plz help me out. import java.net.*; import... (1 Reply)
Discussion started by: parmeet
1 Replies

3. UNIX for Dummies Questions & Answers

Gold Pack and Java patch !

hi ! i have the following gold pack installed,on Hp-ux 11.23 on IA64 # /usr/sbin/swlist | grep -e QPK -e GOLD -e BUNDLE11i BUNDLE11i B.11.23.0409.3 Required Patch Bundle for HP-UX 11i v2 (B.11.23), September 2004 QPKAPPS B.11.23.0609.053a Applications Quality... (0 Replies)
Discussion started by: ayazanjum
0 Replies

4. HP-UX

Gold Pack and Java patch !

hi ! i have the following gold pack installed,on Hp-ux 11.23 on IA64 # /usr/sbin/swlist | grep -e QPK -e GOLD -e BUNDLE11i BUNDLE11i B.11.23.0409.3 Required Patch Bundle for HP-UX 11i v2 (B.11.23), September 2004 QPKAPPS B.11.23.0609.053a Applications Quality Pack Bundle for HP-UX 11i v2,... (0 Replies)
Discussion started by: ayazanjum
0 Replies

5. Shell Programming and Scripting

Patch query using shell script error

Hi All, OS:AIX 5.3 I am using the following shell script for patch query but not getting the prompt to enter values for '&From_date' and '&TO_Date' in the patch query when called from the shell script as below: patch_query.sh ============ #!/usr/bin/ksh export DBALIST="xyz@xyz.com"... (1 Reply)
Discussion started by: a1_win
1 Replies

6. Solaris

Where/What/Howto solve warning/error msg about Kernel patch level?

required Solaris 5.10 Kernel patch 137111-03 required Solaris 5.10 Fibre Channel Device Driver patch 125184-08 I want to know about the descriptions and what the patches will do. I searched www.sun.com (patches/updates) but don't see I am looking for. (1 Reply)
Discussion started by: Y4Net
1 Replies

7. Solaris

Solaris patch cluster installation error

Hi Admins, I came across an error while installing patch cluster on solaris. # ./installcluster --s10cluster ERROR: Another instance of an install script is already running for target boot environment '/'. I did killed the related processes. Now there is no any process running from ps... (1 Reply)
Discussion started by: snchaudhari2
1 Replies

8. Shell Programming and Scripting

Java error

Dear All, while running java -version i am getting following error /usr/lib/dld.sl: Can't find path for shared library: libjli.sl /usr/lib/dld.sl: No such file or directory ARIES32: Core file for PA32 application saved to /finacle/RIPU/core.java Abort(coredump) its creating a core dump. ... (3 Replies)
Discussion started by: ripudaman.singh
3 Replies

9. AIX

Unable to correct NMONVisualizer java error. Can someone help to decode this java error?

Hello AIX and Java gurus, I have a java error that I have no clue how to resolve. I am trying to run the popular NMONVisualizer utility against a NMON dataset and getting the error as shown below: /db2storage/NMON >java -jar NMONVisualizer_2015-02-02.jar com.ibm.nmon.ReportGenerator... (1 Reply)
Discussion started by: okonita
1 Replies
GIT-CHECK-ATTR(1)						    Git Manual							 GIT-CHECK-ATTR(1)

NAME
git-check-attr - Display gitattributes information SYNOPSIS
git check-attr [-a | --all | attr...] [--] pathname... git check-attr --stdin [-z] [-a | --all | attr...] < <list-of-paths> DESCRIPTION
For every pathname, this command will list if each attribute is unspecified, set, or unset as a gitattribute on that pathname. OPTIONS
-a, --all List all attributes that are associated with the specified paths. If this option is used, then unspecified attributes will not be included in the output. --cached Consider .gitattributes in the index only, ignoring the working tree. --stdin Read file names from stdin instead of from the command-line. -z Only meaningful with --stdin; paths are separated with a NUL character instead of a linefeed character. -- Interpret all preceding arguments as attributes and all following arguments as path names. If none of --stdin, --all, or -- is used, the first argument will be treated as an attribute and the rest of the arguments as pathnames. OUTPUT
The output is of the form: <path> COLON SP <attribute> COLON SP <info> LF <path> is the path of a file being queried, <attribute> is an attribute being queried and <info> can be either: unspecified when the attribute is not defined for the path. unset when the attribute is defined as false. set when the attribute is defined as true. <value> when a value has been assigned to the attribute. EXAMPLES
In the examples, the following .gitattributes file is used: *.java diff=java -crlf myAttr NoMyAttr.java !myAttr README caveat=unspecified o Listing a single attribute: $ git check-attr diff org/example/MyClass.java org/example/MyClass.java: diff: java o Listing multiple attributes for a file: $ git check-attr crlf diff myAttr -- org/example/MyClass.java org/example/MyClass.java: crlf: unset org/example/MyClass.java: diff: java org/example/MyClass.java: myAttr: set o Listing all attributes for a file: $ git check-attr --all -- org/example/MyClass.java org/example/MyClass.java: diff: java org/example/MyClass.java: myAttr: set o Listing an attribute for multiple files: $ git check-attr myAttr -- org/example/MyClass.java org/example/NoMyAttr.java org/example/MyClass.java: myAttr: set org/example/NoMyAttr.java: myAttr: unspecified o Not all values are equally unambiguous: $ git check-attr caveat README README: caveat: unspecified SEE ALSO
gitattributes(5). GIT
Part of the git(1) suite Git 1.8.3.1 06/10/2014 GIT-CHECK-ATTR(1)
All times are GMT -4. The time now is 10:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy