- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to apply xxx.depot files on hpux 11.11
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
10-19-2007 01:16 AM
10-19-2007 01:16 AM
from hp website.
I try to install with swinstall but it doesn't understand. I tried with swcopy but that is hanging.
Can someone give me the correct commandline procedure for installing xxx.depot files for hpux pa_risc 11.11 so I can check where I go wrong .
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2007 01:26 AM
10-19-2007 01:26 AM
SolutionAny errors/messages? How about your command?
In general it works like this:
swinstall -s /full/path/to/dep.depot
(interactive) or
swinstall -s /full/path/to/dep.depot \*
(basically the same for swcopy).
Compare the checksum of the depot to ensure it is not corrupted.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2007 01:49 AM
10-19-2007 01:49 AM
Re: How to apply xxx.depot files on hpux 11.11
is /install/depot
It found a bundle there which I put there.
It installed it no problem.
Then I copied about 6 xxx.depot files
for other stuff int that depot
run swinstall again, it only sees
the old bundle
Surely they can't all be corrupt ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2007 01:52 AM
10-19-2007 01:52 AM
Re: How to apply xxx.depot files on hpux 11.11
for other stuff int that depot"
copy (cp) or swcopy?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2007 09:21 AM
10-19-2007 09:21 AM
Re: How to apply xxx.depot files on hpux 11.11
from hp website.
If you have downloaded multiple patches, you can get a script to install all at once.
>swinstall says that my depot path is /install/depot
You should create a new temp directory and start with that.
>Then I copied about 6 xxx.depot files for other stuff into that depot run swinstall again, it only sees the old bundle
Can you show the commands you did?
Typically you would do:
for depot in *.depot; do
swcopy -x enforce_dependencies=false \
-s $PWD/$depot @ $PWD/big.depot \*
done
# swinstall -s $PWD/big.depot \*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2007 03:15 AM
10-20-2007 03:15 AM
Re: How to apply xxx.depot files on hpux 11.11
To find out what depots you have on your server:
cat /var/adm/sw/host_object | grep path | awk '{print $2}'
To unregister those depots, type:
swreg -u -l depot /path/to/depot
To make your own depot:
Assume you have two patches - PHNE_20000 and PHNE_20001.
Unshare the patches by typing the following commands.
sh PHNE_20000
sh PHNE_20001
Create a new software depot in the directory /newdir/depot
mkdir /newdir/depot
swpackage -s PHNE_20000.depot -d /newdir/depot
Register your new depot:
swreg -l depot /newdir/depot
Copy the next patch to the newly created software depot:
swcopy -s `pwd`/PHNE_20001.depot PHNE_20001 @ /newdir/depot
Install your patches.
swinstall -s /newdir/depot
Hope that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2007 07:06 AM
10-20-2007 07:06 AM
Re: How to apply xxx.depot files on hpux 11.11
Wouldn't "swlist -l depot" be easier?
>Create a new software depot in the directory
swpackage -s PHNE_20000.depot -d /newdir/depot
You should not be seduced over to the SD darkside. (These are not the droids you are looking for. :-) If there are N ways to use SD tools, you should use the obvious, swcopy, not swpackage:
# swcopy -s $PWD/PHNE_20000.depot \* @ /newdir/depot
You should only use swpackage to create the initial depot or a tape depot.
>Register your new depot:
swcopy does that automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2007 06:01 PM
10-21-2007 06:01 PM
Re: How to apply xxx.depot files on hpux 11.11
What I did was I copied (with plain cp )
the downloaded xxx.depot files to the registered depot path. Which in my case happenes to be /install/depot.
Then I run:
swinstall -s /install/depot/xx1.depot
and that worked. (Thanks to the first replier!)
Then I run:
swinstall -s /install/depot/xx2.depot
and so on.
Now I understand I could have done all this all in one go. Nice to know for the future.
Main thing though , job got done and in time.
successfully.
cheerio maties :))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 10:00 AM
10-22-2007 10:00 AM
Re: How to apply xxx.depot files on hpux 11.11
There is no benefit of copying them there, they aren't part of the "registered depot" since you didn't use swcopy. You can swinstall from anywhere.
>Now I understand I could have done all this all in one go.
The main purpose of this is so you don't have to reboot N times.