Operating System - HP-UX
1834053 Members
2438 Online
110063 Solutions
New Discussion

Problems installing patches on HP-UX 11.x

 
Randy Jew
Occasional Contributor

Problems installing patches on HP-UX 11.x

I have been trying to install patches on our HP 11.x server, but I keep on getting an error similar to the one below. What I'm doing wrong? I'm installing these patches as root in /tmp?

Thanks!
Randy
-----------------------------------------
# /usr/sbin/swinstall -x autoreboot=true -x patch_match_target=true -s /tmp/Y2K-1100.tar

======= 06/13/00 15:54:20 PDT BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@meade".

* Beginning Selection
* Target connection succeeded for "meade:/".
* "meade:/tmp/Y2K-1100.tar": This source is a tape device.
* "meade:/tmp/Y2K-1100.tar": Cannot open the logfile on this
target or source. Possibly the media is read-only or there is
a permission problem. Check the daemon logfile and
"/var/tmp/swagent.log" on this host for more information.
NOTE: The patch match operation failed to find patches for target
software on "meade" which passed the filter.
NOTE: Cannot continue the "swinstall" task.

======= 06/13/00 15:54:22 PDT END swinstall SESSION (non-interactive)

# /usr/sbin/swinstall -x autoreboot=true -x patch_match_target=true -s /tmp/PHSS_20014.depot

======= 06/13/00 16:07:54 PDT BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@meade".

* Beginning Selection
* Target connection succeeded for "meade:/".
* "meade:/tmp/PHSS_20014.depot": This source is a tape device.
* "meade:/tmp/PHSS_20014.depot": Cannot open the logfile on
this target or source. Possibly the media is read-only or
there is a permission problem. Check the daemon logfile and
"/var/tmp/swagent.log" on this host for more information.
NOTE: The patch match operation failed to find patches for target
software on "meade" which passed the filter.
NOTE: Cannot continue the "swinstall" task.

======= 06/13/00 16:07:56 PDT END swinstall SESSION (non-interactive)
5 REPLIES 5
ESC Team
Advisor

Re: Problems installing patches on HP-UX 11.x

The patch_match_target option matches filesets contained in the patch with filesets on your system. In the install logs that you have shown, none of the filesets in the patches existed on your system. You may have a problem with your IPD (installed products database). Type swlist -l fileset and see if you get a listing of filesets. If you do then try a swlist -l fileset -s /tmp/PHSS_20014.depot (or any other depot) to see what filesets this patch contains.

Rick Frankel
HP Response Centre.
ESC Team
Andy Monks
Honored Contributor

Re: Problems installing patches on HP-UX 11.x

You can't swinstall a tarball (usually).

Untar the file into a directory. It will either then contain a file called '*.depot' or will have a directory/file called 'catalog/INDEX'.

If it's got a .depot file do 'swinstall -s /..../ etc'

or with the INDEX file do :-

'swinstall -s etc'
Alex Glennie
Honored Contributor

Re: Problems installing patches on HP-UX 11.x

I'm with Andy on this one : run tar -xv on the file and use the untarred file(s) as the depot(s).
Brian M. Fisher
Honored Contributor

Re: Problems installing patches on HP-UX 11.x

The Y2K patch bundles ARE to be installed without untarring them first. I recommend you follow the advice of the Rick Frankel
HP Response Centre.

Brian
<*(((>< er
Perception IS Reality
Randy Jew
Occasional Contributor

Re: Problems installing patches on HP-UX 11.x

I did a swilist -l fileset and it displays the Java filesets that I installed a while ago. I also did a swlist on the PHSS_20014.depot and it looks okay too, but I can't install it with swinstall still.

thanks!
Randy

# swlist -l fileset
# Initializing...
# Contacting target "meade"...
#
# Target: meade:/
#

# Java-PlugIn1-2 1.2.2.03.00 Plug-In for Java 2
Java-PlugIn1-2.JAVA2-PLUGIN 1.2.2.03.00 Plug-In for Java 2
# Java2JDK_base 1.2.2.03.00 Java 2 SDK (700/800), PA1
.1 Portable
Java2JDK_base.JAVA2-DEMO 1.2.2.03.00 Java 2 Demos
Java2JDK_base.JAVA2-JDK-BASE 1.2.2.03.00 Java 2 SDK, PA1.1 Portabl
e
Java2JDK_base.JAVA2-JPD-BASE 1.2.2.03.00 Java 2 JPDA, PA1.1 Portab
le
# Java2JDK_perf 1.2.2.03.00 Java 2 SDK (700/800), PA2
.0 Performance Add On
Java2JDK_perf.JAVA2-JDK 1.2.2.03.00 Java 2 SDK, PA2.0 Add On
Java2JDK_perf.JAVA2-JPD 1.2.2.03.00 Java 2 JPDA, PA2.0 Add On

# Java2RTE_base 1.2.2.03.00 Java 2 RTE (700/800), PA1
.1 Portable
Java2RTE_base.JAVA2-JRE-BASE 1.2.2.03.00 Java 2 RTE, PA1.1 Portabl
e
# Java2RTE_perf 1.2.2.03.00 Java 2 RTE (700/800), PA2
.0 Performance Add On
Java2RTE_perf.JAVA2-JRE 1.2.2.03.00 Java 2 RTE, PA2.0 Add On

# cd /tmp
# swlist -l fileset -s /tmp/PHSS_20014.depot
# Initializing...
# Contacting target "meade"...
#
# Target: meade:/tmp/PHSS_20014.depot
#

# PHSS_20014 1.0 ld(1) and linker tools cumulative
patch
PHSS_20014.C-ENG-A-MAN 1.0 B.11.00
PHSS_20014.C-INC 1.0 B.11.00
PHSS_20014.C-KRN 1.0 B.11.00
PHSS_20014.C-MIN 1.0 B.11.00
PHSS_20014.C-MIN-64ALIB 1.0 B.11.00
PHSS_20014.CAUX-ENG-A-MAN 1.0 B.11.00
PHSS_20014.CMDS-AUX 1.0 B.11.00
PHSS_20014.CORE-64SLIB 1.0 B.11.00
PHSS_20014.CORE-SHLIBS 1.0 B.11.00
PHSS_20014.LANG-MIN 1.0 B.11.00
PHSS_20014.PAUX-ENG-A-MAN 1.0 B.11.00
PHSS_20014.PROG-AUX 1.0 B.11.00
PHSS_20014.PROG-AX-64ALIB 1.0 B.11.00
#