Operating System - HP-UX
1828577 Members
2775 Online
109982 Solutions
New Discussion

running patch error using swinstall

 
tash S
Frequent Advisor

running patch error using swinstall

Hello all,

Here error is when I run "running patch error using swinstall". I want to adopt "PHCO_33609".


================================
bash-2.04# swinstall -x autoreboot=true -x patch_match_target=true -s /var/tmp/
patches/depot

======= 08/08/06 09:24:37 JST BEGIN swinstall SESSION
(non-interactive) (jobid=xxx-hp-0165)

* Session started for user "root@xxx-hp".

* Beginning Selection
* Target connection succeeded for "xxx-hp:/".
* Source connection succeeded for
"xxx-hp:/var/tmp/patches/depot".
NOTE: The patch match operation failed to find patches for target
software on "xxx-hp" which passed the filter.
NOTE: Cannot continue the "swinstall" task.

======= 08/08/06 09:24:41 JST END swinstall SESSION (non-interactive)
(jobid=xxx-hp-0165)

================================

If anyone has any ideas, please let us know.

Regards;
tash S
10 REPLIES 10
Denver Osborn
Honored Contributor

Re: running patch error using swinstall

Is the patch already installed?

swlist -l fileset -a state PHCO_33609

If all else fails.. download the patch and save it to /tmp on your system. The unshar and try the install in preview again. If no errors, do it w/out -p optio.

cd /tmp
sh PHCO_33609
swinstall -p -s /tmp/PHCO_33609 \*

hope this helps,
-denver
tash S
Frequent Advisor

Re: running patch error using swinstall


> Is the patch already installed?>
>
NO, we have not installed

> swlist -l fileset -a state PHCO_33609

bash-2.04# swlist -l fileset -a state PHCO_33609
# Initializing...
# Contacting target "xxx-hp"...
ERROR: Software "PHCO_33609" was not found on host "xxx-hp:/".
bash-2.04#

===========================
>cd /tmp
>sh PHCO_33609
>swinstall -p -s /tmp/PHCO_33609 \*

The same result is the first one.

Regards;
tash S

tash S
Frequent Advisor

Re: running patch error using swinstall

Hi,

Here is error running sh command.

===================
bash-2.04# sh ./PHSS_33944
x - PHSS_33944.text
x - PHSS_33944.depot [non-ascii]
./PHSS_33944[841]: Syntax error at line 846 : `<<' is not matched.
===================

Regards;
-tash S
Robert-Jan Goossens
Honored Contributor

Re: running patch error using swinstall

Tash,

Try to redownload the patch, make sure to ftp in binary to your HPUX server.

Best regards,
Robert-Jan
tash S
Frequent Advisor

Re: running patch error using swinstall

Hi, I installed the both using
swinstall -x autoreboot=true -s /var/tmp/patches/depot \*,

And I reboot HP-UX box.

but swlist said in the following.
====================================
bash-2.04# swlist -l fileset -a state PHCO_33035
# Initializing...
# Contacting target "xxx-hp"...
ERROR: Software "PHCO_33035" was not found on host "xxx-hp:/".
bash-2.04# swlist -l fileset -a state PHCO_33944
# Initializing...
# Contacting target "rsasj-hp"...
ERROR: Software "PHCO_33944" was not found on host "xxx-hp:/".
====================================
regard;
-tash S
Robert-Jan Goossens
Honored Contributor

Re: running patch error using swinstall

Tash,

Try

# swlist -l fileset -a state | grep PHCO_33035

Robert-Jan
Bill Hassell
Honored Contributor

Re: running patch error using swinstall

The depot file is a tar file so after you download the file, make sure you use binary ftp to transfer the patch file to your /var/tmp directory. Then run sh PHCO_33609 to unpack the two files. Now run tar tvf PHCO_33609.depot and you will get a directory list of the files. No errors are allowed. Then you can use swinstall as mentioned above.


Bill Hassell, sysadmin
Denver Osborn
Honored Contributor

Re: running patch error using swinstall

sorry, I left off ".depot" w/ the syntax I recommended for the source location.

swinstall -p -s /tmp/PHCO_33609.depot \*


Also as everyone noted, be sure to xfer in binary mode.

If you've saved the patch via a "cut & paste" from your browser window, try right-click "save target as" or "save link as" to download the file from the ITRC. Less room for error...

ftp://ftp.itrc.hp.com/hp-ux_patches/s700_800/11.X/PHCO_33609


hope this helps,
-denver


tash S
Frequent Advisor

Re: running patch error using swinstall

Hi,

I swinstall for PHSS_33035 and PHSS_33944.
During analyzing, I got the following messages.

It seems to me that the both PHSS_33035 and PHSS_33944 have been installed.
Is this correct?

Here is logs for swinstall.


================================
bash-2.04# more print_info_2

======= 08/09/06 08:40:39 JST BEGIN install AGENT SESSION (pid=4458)

* Agent session started for user "root@xxxsj-hp.xxxs.com".
(pid=4458)

* Beginning Analysis Phase.
* Source:
xxxsj-hp.com:/var/tmp/patches6/depot_test
* Target: xxxsj-hp:/
* Target logfile: xxxsj-hp:/var/adm/sw/swagent.log
* Reading source for product information.
NOTE: The fileset "PHSS_33035.C-ENG-A-MAN,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.C-INC,r=1.0" is already installed. If
you wish to reinstall this fileset, change the "reinstall"
option to "true".
NOTE: The fileset "PHSS_33035.C-KRN,r=1.0" is already installed. If
you wish to reinstall this fileset, change the "reinstall"
option to "true".
NOTE: The fileset "PHSS_33035.C-MIN,r=1.0" is already installed. If
you wish to reinstall this fileset, change the "reinstall"
option to "true".
NOTE: The fileset "PHSS_33035.C-MIN-64ALIB,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.CAUX-ENG-A-MAN,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.CMDS-AUX,r=1.0" is already installed.
If you wish to reinstall this fileset, change the "reinstall"
option to "true".
NOTE: The fileset "PHSS_33035.CORE-64SLIB,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.CORE-SHLIBS,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.LANG-MIN,r=1.0" is already installed.
If you wish to reinstall this fileset, change the "reinstall"
option to "true".
NOTE: The fileset "PHSS_33035.LINKER-HELP,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.PAUX-ENG-A-MAN,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.PROG-AUX,r=1.0" is already installed.
If you wish to reinstall this fileset, change the "reinstall"
option to "true".
NOTE: The fileset "PHSS_33035.PROG-AX-64ALIB,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-FRE-I-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-FRE-U-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-GER-I-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-GER-U-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-ITA-I-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-ITA-U-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-JPN-E-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-JPN-S-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-JPN-U-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-KOR-E-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-KOR-U-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-SCH-H-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-SCH-U-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-SPA-I-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-SPA-U-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-TCH-B-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-TCH-E-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33035.UX-TCH-U-MSG,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33944.CORE-64SLIB,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33944.CORE-SHLIBS,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33944.LANG-64ALIB,r=1.0" is already
installed. If you wish to reinstall this fileset, change the
"reinstall" option to "true".
NOTE: The fileset "PHSS_33944.LANG-MIN,r=1.0" is already installed.
If you wish to reinstall this fileset, change the "reinstall"
option to "true".
* Reading source for file information.
* Executing preDSA command.
NOTE: The bundle "BUNDLE,r=B.11.11" is already installed. If you
wish to reinstall this bundle, change the "reinstall" option
to "true".

* Summary of Analysis Phase:
* 36 of 36 filesets will be Skipped.
* The Analysis Phase succeeded.

bash-2.04#

================================

Thanks in advance.
-tash S
Patrick Wallek
Honored Contributor

Re: running patch error using swinstall

Yes, those 2 patches are already installed on your system.