Operating System - HP-UX
1836993 Members
2035 Online
110111 Solutions
New Discussion

Patch Installation Problem

 
SOLVED
Go to solution
Rahul Pednekar
Frequent Advisor

Patch Installation Problem

Dear All

I have downloded the patches but i'm not able to unzip it. please tell me how do i unzip it. the extention of the patches downloaded are .zip and .tgz

thanks

Rahul
7 REPLIES 7
Arunvijai_4
Honored Contributor
Solution

Re: Patch Installation Problem

Hi Rahul,

If it is with .tgz extension, you can use this command,

# tar -xvf |gunzip -

For zip files,
#/opt/java1.4/bin/jar -xvf

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Devender Khatana
Honored Contributor

Re: Patch Installation Problem

Hi,

You can use windows winzip itself to unzip them. If this does not help I would recommend to check the checksum for downloaded file to be certain that the file has no coppution before unzipping.

HTH,
Devender
Impossible itself mentions "I m possible"
Victor Fridyev
Honored Contributor

Re: Patch Installation Problem

Hi,

In both cases you have to use gunzip.
If the download had problems, the command may not work. I'd recommend you not to download files, but better to download a shell (the last option) and by this shall to download all patches.

HTH

Entities are not to be multiplied beyond necessity - RTFM
Muthukumar_5
Honored Contributor

Re: Patch Installation Problem

Check this:

file
cksum

before doing tar action.

Using .tgz file,

# gunzip filename.tgz
# tar -xvf filename.tar

Using .zip file,

# unzip filename.zip

--
Muthu

Easy to suggest when don't know about the problem!
Steven E. Protter
Exalted Contributor

Re: Patch Installation Problem

Shalom Rahul,

Often downloads from hp's patch database terminate prior to completed download. If you think everything else is good, try the download again. Watch it and make sure it gets to a number that is close to the estimate HP gave prior to the download.

This one often gets me.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Asif Sharif
Honored Contributor

Re: Patch Installation Problem

Hi Rahul,

To unzip it: gunzip file.tgz
That should create file.tar

To unzip and untar inline: gzip -dc file.tgz - | tar xf -
That will leave file.tgz unchanged but its contents will be untarred.

Regards,

Asif Sharif
Regards,
Asif Sharif
Rahul Pednekar
Frequent Advisor

Re: Patch Installation Problem

thanks