- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How the heck does swcopy work?
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-11-2000 02:47 PM
08-11-2000 02:47 PM
My next step was to refer to the man pages regarding swinstall. There I found a reference to swcopy. I entered:
swcopy -f /home/tlk00/gcc/gcc-2.95.2-sd-10.20.depot
no dice, got a message about "can't read". I checked the permissions, chmod to 666 and tried again. Still no dice. Changed directory to /var/inf_depot and tried again,
Still no dice. What the heck am I doing wroing?
The actual interactions are:
# cd /var/inf_depot
# swcopy -f /home/tlk00/gcc/gcc-2.95.2-sd-10.20.depot
ERROR: Could not read input file
"/home/tlk00/gcc/gcc-2.95.2-sd-10.20.depot"
ERROR: Command line parsing failed
Thanks in Advance!
Terry Kummell
CCI-Triad
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2000 03:12 PM
08-11-2000 03:12 PM
Re: How the heck does swcopy work?
A good thread exists at:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xdf52c5ea0230d411ade80090279cd0f9,00.html
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2000 03:13 PM
08-11-2000 03:13 PM
Re: How the heck does swcopy work?
# swcopy -i
It could you help avoid any syntax confusion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2000 03:22 PM
08-11-2000 03:22 PM
SolutionJust type "swinstall" at the command prompt and you will be given either a Xwindows GUI swinstall or a terminal non-GUI swinstall if your console is not X-capable.
It will churn and think for a minute then give you a sub-window that will ask where the "Source" is the file (.depot) that you have is the source.
1.) Switch "Source Depot type:" to "Local Directory"
2.) Make sure that "Source hostname" is set to your machine.
3.) Set "Source Depot Path" to the .depot file you listed. (i.e. /path/to/my.depot)
4.) Hit OK
5.) Either click (GUI) or hit the space bar (non-Gui) on the gcc bundle.
6.) Hit "tab" then "Actions" (non-GUI) or click on Actions (GUI)
7.) Click on Install(analysis) or arrow down to it and hit enter.
It will go through the analysis first and when you get a "ready" then hit OK and it will install the product.
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2000 04:18 PM
08-11-2000 04:18 PM
Re: How the heck does swcopy work?
swinstall -s /home/tlk00/gcc/gcc-2.95.2-sd-10.20.depot *
Also make note that for GCC there is a dependency needed for it -you can down load it here. http://hpux.cs.utah.edu/ftp/hpux/Gnu/binutils-2.9.1/binutils-2.9.1-sd-10.20.depot.gz
I would suggest downloading this file 1st, gunzip it, then install it.
swinstall -s /path_to_file/binutils-2.9.1-sd-10.20.depot *
After the binutils is installed, run the swinstall command from above to install GCC. If you swinstall GCC before binutils you'll probably get a dependency error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2000 04:31 PM
08-11-2000 04:31 PM
Re: How the heck does swcopy work?
be sure to use "*"
backslash* at the end of your swinstall command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2000 04:49 AM
08-13-2000 04:49 AM
Re: How the heck does swcopy work?
It has the SD-UX commands explained in detail as well as sample of the commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2000 04:49 AM
08-14-2000 04:49 AM
Re: How the heck does swcopy work?
What I first learned about installing software on HP-UX.
You will either install a patch; a bundle; or from a CD. Sounds like you got either a patch or a bundle. A bundle is just a bunch of patches bundled together. Now you
can do an install from a CD without doing a swcopy. But as a GENERAL rule of thumb you will do an swcopy before you do an swinstall of a patch or a bundle.
And here is the kicker. You must shar it first. What you may ask is shar'ing??
Well if you download a patch or bundle (like PHSS_12345) you would enter:
sh PHSS_12345
And this little utility would create a text file for you to read about the patch/bundle and
a depot file called PHSS_12345.depot.
After you have shar'd the original file you would swcopy it to your depot for installtion.
swcopy -v -s /tmp/patches/PHSS_12345.depot @ /tmp/patch_depot
Then you will get a swcopy menu come up and you run it (looks like swinstall). Mark what you want copied and then do the copy. When it finishes checking and copying the files over to your depot directory you can then run swinstall....
Again here highlight and mark what you want to install and run it.
**********
But !! and this is a big 'but' (no pun intended...)
You may want to double check that you do in fact have what you need....Remember there are alot of us relative newbies our here. Do you have tech support w/HP? You could call 1-800-633-3600 and double check this with them.
I have been turned down a dark path myself....I have learned to carry a candle and matches before I just start down it....and oh yes-----walk, don't run !
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2000 06:07 AM
08-14-2000 06:07 AM
Re: How the heck does swcopy work?
The line to swcopy should read:
swcopy -v -s /tmp/patches/PHSS_12345.depot @ /tmp/patch_depot
After the @ it is a back slash followed by a forward slash (that's not a capital V).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2000 06:37 AM
08-15-2000 06:37 AM