- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to install multiple patch
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 12:18 AM
06-11-2007 12:18 AM
how to install this patch "perl-5.8.8-hppa-11.11.depot.tgz" to this /tmp directory by using swinstall.
and i need to reboot the server
" -x autoreboot=true"
Plz with details.
thanks and best regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 12:20 AM
06-11-2007 12:20 AM
Re: How to install multiple patch
First, in generel I unzip/untar the patch.
swinstall -x autoreboot=true -s /tmp/perl-5.8.8-hppa-11.11.depot \*
This depot is not going to autoreboot anything though. Best to just manually boot after the installation or use a script including the line above.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 12:38 AM
06-11-2007 12:38 AM
Re: How to install multiple patch
First, to do so with only one re-boot, use swcopy to place them all into the same depot, then use swinstall. I do it interactively and select all the patches and click install.
Second, you can use a simple for loop like this:
for i PH*.depot
do
swinstall -x autoreboot-true -x patch_match_target=true
done
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 12:44 AM
06-11-2007 12:44 AM
Re: How to install multiple patch
the error message is appeared "could not contact host 'perl-5.8.8-hppa-11.11.depot\*' make sure the hostname is correct and absolute pathname is specified (beginning with / ) "
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 12:50 AM
06-11-2007 12:50 AM
Re: How to install multiple patch
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 01:07 AM
06-11-2007 01:07 AM
Re: How to install multiple patch
most probably, the path specified is not correct.
can you retry using the absolute path?
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 04:55 AM
06-11-2007 04:55 AM
Re: How to install multiple patch
you missed a space here:
NOT: 'perl-5.8.8-hppa-11.11.depot\*'
BUT: 'perl-5.8.8-hppa-11.11.depot \*'
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 05:38 PM
06-11-2007 05:38 PM
Re: How to install multiple patch
Hi peter
the same problem and the same message
this the message ---->
" # swinstall -s perl-5.8.8-hppa-11.11.depot \*
======= 06/12/07 15:10:02 WAT BEGIN swinstall SESSION
(non-interactive) (jobid=ruxapp02-0081)
* Session started for user "root@ruxapp02".
* Beginning Selection
* Target connection succeeded for "ruxapp02:/".
ERROR: Could not contact host "perl-5.8.8-hppa-11.11.depot".Make sure the hostname is correct and an absolute pathname is
specified (beginning with "/").
* Source connection failed for "perl-5.8.8-hppa-11.11.depot:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this target (default location is perl-5.8.8-hppa-11.11.depot:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 06/12/07 15:10:03 WAT END swinstall SESSION (non-interactive)(jobid=ruxapp02-0081) "
and i am using the absolute path and useless
i need the solve this problem in fast time
thanks and best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 05:56 PM
06-11-2007 05:56 PM
Re: How to install multiple patch
Exact syntax is :
swinstall -s /path/to/perl-5.8.8-hppa-11.11.depot \*
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 06:17 PM
06-11-2007 06:17 PM
Re: How to install multiple patch
th same problem
" ERROR: There is currently no depot software on host "ruxapp02" at location "/tmp/perl-5.8.8-hppa-11.11.depot". Make sure that an
absolute pathname is specified for location (beginning with "/").
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 07:00 PM
06-11-2007 07:00 PM
Re: How to install multiple patch
gunzip perl-5.8.8-hppa-11.11.depot.tgz
tar xvf perl-5.8.8-hppa-11.11.depot.tar
After this you can use the swinstall command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 07:14 PM
06-11-2007 07:14 PM
Re: How to install multiple patch
i am unpack the file before first my message in this forum.
thanks
Note: what the mean of
" ERROR: There is currently no depot software on host "ruxapp02" at location "/tmp/perl-5.8.8-hppa11.11.depot".
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 07:23 PM
06-11-2007 07:23 PM
Re: How to install multiple patch
what was the working directory, when you did unpack the *.tgz file? It should have been /tmp .
Please send us the output of
gunzip
to see the directory name after the unpacking of the tgz-file.
The message means exactly what it says - I suspect, that the directory
/tmp/perl-5.8.8-hppa11.11.depot
doesn't exist. Try
ls -l /tmp/perl-5.8.8-hppa11.11.depot
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 07:24 PM
06-11-2007 07:24 PM
Re: How to install multiple patch
That's why I wondered if it still was packed and had a different name or something like that.
Is that depot file actually located in /tmp ?
Is your server running HPUX 11.11 ( 11i V1 ) ?
Have you tried to just do
swinstall -s /
( so without the \* at the end of the command )
Might be some obvious questions but you have to start somewhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 07:42 PM
06-11-2007 07:42 PM
Re: How to install multiple patch
" gunzip and gzip -d " to this file only not work i don't know this the output
" # gunzip
gunzip: stdin: not in gzip format
Tar: blocksize = 0; broken pipe? "
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 08:01 PM
06-11-2007 08:01 PM
Re: How to install multiple patch
possibly the unzip has already been performed - check via
file perl-5.8.8-hppa-11.11.depot.tgz
If this is the case, try the tar command directly:
tar tvf perl-5.8.8-hppa-11.11.depot.tgz | sed 2q
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 08:36 PM
06-11-2007 08:36 PM
Re: How to install multiple patch
this is the output "
# tar tvf perl-5.8.8-hppa-11.11.depot.tar | sed 2q
rw-r--r-- 0/3 1186 Sep 19 19:05 2006 catalog/INDEX
rw-r--r-- 0/3 193 Sep 19 19:05 2006 catalog/dfiles/INDEX "
in addition to
"
wd_action.dbg
dtdbcache_10.8.33.43:0
catalog
perl "
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 08:53 PM
06-11-2007 08:53 PM
Re: How to install multiple patch
rw-r--r-- 0/3 1186 Sep 19 19:05 2006 catalog/INDEX
Unless this is a tar of a directory depot, you should NOT untar this. Just tell swinstall to install directly:
# swinstall -s $PWD/perl-5.8.8-hppa-11.11.depot.tar \*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 09:11 PM
06-11-2007 09:11 PM
Re: How to install multiple patch
there is some improvement
but still some error ----->
see in Attachment
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 09:31 PM
06-11-2007 09:31 PM
Re: How to install multiple patch
This is not a text file. I need something that can be seen on HP-UX. Try good old cut&paste.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 09:37 PM
06-11-2007 09:37 PM
Re: How to install multiple patch
OK i am attach text file
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 09:37 PM
06-11-2007 09:37 PM
Re: How to install multiple patch
OK i am attached text file
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 09:58 PM
06-11-2007 09:58 PM
Re: How to install multiple patch
On the page where you download perl it says there's a number of runtime dependencies.
http://hpux.its.tudelft.nl/hppd/hpux/Languages/perl-5.8.8/
Before you can install perl you need to make sure you have those dependencies installed as well.
The dependencies are : db gdbm gettext libgcc libiconv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 10:09 PM
06-11-2007 10:09 PM
Solutionsince your depot (= tarfile) does not contain each dependency of the product(s) to be installed AND these deps are not installed already at the target, check if ypu have already a depot containing the product 'gdbm'.
If not, download it from the porting center together with all its dependencies.
Then you have two possiblities:
1) Install gdbm and friends in the first step, then your perl depot
2) Create a depot containing the products completely via swcopy, e.g.
swcopy -s /path/to/depot_or_tar \* @ /path/to/newdepot
and then install from that depot.
Having more than one machine to be installed, I recommend 2).
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 10:11 PM
06-11-2007 10:11 PM
Re: How to install multiple patch
NOTE: but it depends on
the following software items which could not be found in the
source. However, these items may already be in the target.
This will be checked during the Analysis Phase: db.db-RUN
gdbm.gdbm-RUN
So either you must install db.db-RUN & gdbm.gdbm-RUN first, or you must install them all at once.
I don't see anyone telling you about using swcopy:
# swcopy -s $PWD/perl-5.8.8-hppa-11.11.depot.tar \* @ $PWD/big_depot
And repeat with the other dependencies. Then use swinstall to install from big_depot:
# swinstall -s $PWD/big_depot \*