Operating System - HP-UX
1833875 Members
1972 Online
110063 Solutions
New Discussion

Re: swinstall ends with an I/O Error

 
Eric Tchepannou
Occasional Contributor

swinstall ends with an I/O Error

Hi to all.

I have the problem described in th subject. Anytime I apply swinstall on a .depot file it ends with an I/O error!!!
Can somebody help me?

Thanks

---
Eric Tchepannou
Eric
7 REPLIES 7
Trevor Dyson
Trusted Contributor

Re: swinstall ends with an I/O Error

Are your .depot files in the right format(ie not compressed).

Try doing a 'tar tvf file.depot' where file.depot is the name of your tar file.

If you get an error then maybe the file is incomplete or compressed.

Where did you get the .depot files from?
I've got a little black book with me poems in
Eric Tchepannou
Occasional Contributor

Re: swinstall ends with an I/O Error

Hi

tar on the .depot file does not work:
tar: Hmm, this doesn't look like a tar archive
tar: Skipping to next file header
tar: Only read 8995 bytes from archive PHSS_16429.depot
tar: Error is not recoverable: exiting now

The depot file is actually a HP patch ( PHSS_1629 ) that I have downloaded from this hp site. After applying a sh on this file 2 new files have been created a .text and a .depot.
This problem has occured on all depot files I have downloaded up to now, so that I have always been obliged to get the source and compile them by myself.
Can I also get the source of a patch somewhere?

Thanks
Eric
Trevor Dyson
Trusted Contributor

Re: swinstall ends with an I/O Error

How did you download the patch. Did you ftp it directly on to the HP-UX system from the ITRC or some other method.
I've got a little black book with me poems in
Kofi ARTHIABAH
Honored Contributor

Re: swinstall ends with an I/O Error

Eric:

Can you detail the error that is produced. You should find this in your swinstall.log file.

However, you are on the right path - after you sh the source, you should get a .text and a .depot file - you should be able to do an swinstal -s /tmp/patchname.depot and follow the prompts. Sometimes, the system will complain that the source is not a tape or the "tape" is write protected - you can safely ignore it.

good luck
nothing wrong with me that a few lines of code cannot fix!
Suhas_2
Regular Advisor

Re: swinstall ends with an I/O Error

Eric,
It looks as if the patch has been downloaded from itrc.hp.com. You must have got an html file, from where you got the .depot file. During extraction, have you came across an error like "short file" ?....if it is so then pls download the patch again, because the file is incomplete.

Hope this helps....
Suhas.
Never say "Die"
Darrel Louis
Honored Contributor

Re: swinstall ends with an I/O Error

Eric,

When downloading patches from the ITRC site I use Netscape.
If you can't do a tar tvf patch.depot, the file is corrupt.
Check with wc patch.depot for size etc.

Try downloading the patch with Netscape.
Cheryl Griffin
Honored Contributor

Re: swinstall ends with an I/O Error

If this is 11.00, try the following:
# ll /var/adm/sw/.codewords

If it is not there, try:
# touch /var/adm/sw/.codewords


"Downtime is a Crime."