1832645 Members
3060 Online
110043 Solutions
New Discussion

Re: Help a novice please

 
Kevin Farrell_4
Frequent Advisor

Help a novice please

Hi, I've downloaded a bunch of dataprotector patches as a bundle, or a tar package. I untarred them and got an error and I'm not sure what to do? Also, since they were downloaded as a bundle do I have to install them one at a time or what? I'm not sure why I have a depot directory. I also got an error running the tar command. Any help is apprecieted.

root(cardinal)/var/opt/omni/dp_patches:
#ls
hpux_800_11.11_06100158.tar
root(cardinal)/var/opt/omni/dp_patches:
#tar -xvf hpux_800_11.11_06100158.tar
x patch_manifest, 364 bytes, 1 tape blocks
x README_hp-ux, 1780 bytes, 4 tape blocks
x create_depot_hp-ux_11, 5768 bytes, 12 tape blocks
x PHSS_32333, 188967383 bytes, 369077 tape blocks
x PHSS_32337, 106315631 bytes, 207648 tape blocks
x PHSS_32347, 189705361 bytes, 370519 tape blocks
x PHSS_32348, 8291785 bytes, 16195 tape blocks
x PHSS_32828, 45571998 bytes, 89008 tape blocks
x PHSS_32838, 17502549 bytes, 34185 tape blocks
Tar: error! blocksize changed

Is that error crucial?

Kevin
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: Help a novice please

Kevin,

Yes - it's crucial. I would retry the download. It looks like you didn't get the complete package.


Pete

Pete
RAC_1
Honored Contributor

Re: Help a novice please

Did it download correctly?? I think you need to download it again. The problem seems to be with downloaded tar file.

Anil
There is no substitute to HARDWORK
Rick Garland
Honored Contributor

Re: Help a novice please

Yes, the tar error would prevent successful patch installation. Try to download again.

You do not have tp apply patches individually. If patches are in a depot then you can select all patches in that depot and install at once.
The create_depot_hp-ux_11 script will assist you in creating that depot. From the you can use the swinstall command, select the deppot, then select the patches in that depot.
Geoff Wild
Honored Contributor

Re: Help a novice please

Make sure you use BINARY to download tar files via ftp.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Kevin Farrell_4
Frequent Advisor

Re: Help a novice please

Tried it again and once more, same error. I did ftp them over from my pc in binary mode as well.
Mel Burslan
Honored Contributor

Re: Help a novice please

My advice is to go back to the patch database and start from a clean slate. Select the patches one by one and at the end when you select "download selected patches" option, select the gzipped/tared option. After selecting this option, wait for a few seconds. Even though you think the selection is immediate, actually there is a javascript running on the background, changing the target of download button as you change the type of bundle to download. If you are using mozilla variety (not IE) you will notice a reload of the page after few seconds of changing the selection.
Then click on download to your PC and as you have said, upload to your hpux server using binary ftp transfer method. Then use gunzip to re-inflate the file then use tar -xvf *.tar to extract your archive.

If after all of this, you are getting the same message, I'd call hp and let them now about it as the patch database website may be assembling the tar image incorrectly for some reason.
________________________________
UNIX because I majored in cryptology...