- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: installing patches from extracted depot
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
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
08-21-2007 09:44 PM
08-21-2007 09:44 PM
installing patches from extracted depot
mkdir /tmp/patches
hpr63# cp /HP_export/BASIC/MUSTHAVE_6.0/11.11/NEW60/HP_PATCH4/latest_hp_add_patches/PHSS_31000.depot /tmp/patches/.
hpr63# ls /tmp/patches
PHSS_31000.depot
hpr63# mkdir /tmp/patches/ex
hpr63# pwd
/tmp/patches
hpr63# cp PHSS_31000.depot ./ex/.
hpr63# pwd
/tmp/patches/ex
hpr63# tar -xf PHSS_31000.depot
hpr63# ls
PHSS_31000 PHSS_31000.depot catalog
hpr63# rm -rf PHSS_31000.depot
hpr63# ls
PHSS_31000 catalog
hpr63# swinstall -s /tmp/patches/ex/ PHSS_31000
======= 08/22/07 15:00:43 IST BEGIN swinstall SESSION
(non-interactive) (jobid=hpr63-0421)
* Session started for user "root@hpr63".
* Beginning Selection
* Target connection succeeded for "hpr63:/".
ERROR: "hpr63:/tmp/patches/ex/": Cannot establish a lock on this
target because of an external error (for example, the lock
file could not be created).
* Source connection failed for "hpr63:/tmp/patches/ex/".
WARNING: More information may be found in the daemon logfile on this
target (default location is hpr63:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 08/22/07 15:00:44 IST END swinstall SESSION (non-interactive)
(jobid=hpr63-0421)
so basically patch install fails if I use the extract directory as source.
What am I missing?
Please help. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 09:47 PM
08-21-2007 09:47 PM
Re: installing patches from extracted depot
This is caused by a missing lock file in the catalog sub-directory
of the depot. To fix the problem, you would need to issue the touch(1)
command as root to create a file called swlock in the appropriate
directory:
cd /depot_path/catalog
touch swlock
where depot_path is the full path to the depot location.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 09:58 PM
08-21-2007 09:58 PM
Re: installing patches from extracted depot
# swinstall -s /tmp/patches/PHSS_31000.depot \*
(You don't need that ex/ directory.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 10:02 PM
08-21-2007 10:02 PM
Re: installing patches from extracted depot
to install patches on hpux systme you need to extract shar file to .depot file. sh PHXX.XXXX will create two files. .txt and PHXX.xxxx.depot.
To install patch on hpux system run swinstall command as follows
# swinstall -s /tmp/patches/PHxx_xxxx.depot
thanks
dipesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 10:20 PM
08-21-2007 10:20 PM
Re: installing patches from extracted depot
once you sh PHSS_31000 -> it will extract PHSS_31000.depot => Good enough!!
#cp PHSS_31000.depot /tmp/patch
#swinstall -s /tmp/patch/PHSS_31000.depot
Those are the dependencies of this PHSS_31000.depot
PHCO_31923 libc cumulative header file patch
PHCO_35743 libc cumulative patch
PHKL_34805 JFS3.3 patch; mmap
PHSS_35711 X/Motif Runtime Periodic Patch
WK
ps: please assign points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2007 10:46 PM
08-21-2007 10:46 PM
Re: installing patches from extracted depot
mkdir /tmp/patches
cd /tmp/patches
Move the shar depot file here.
unshar it by sh PHSS_31000*
it will create two file (the depot and txt file)
then
#swinstall -s /tmp/patches/PHSS_31000.depot \*