Operating System - HP-UX
1834736 Members
2670 Online
110070 Solutions
New Discussion

Re: command to uncompress the depot files

 
SOLVED
Go to solution
Shivkumar
Super Advisor

command to uncompress the depot files

Hi,

I am trying to unzip a file having extension
abc_depot.gz. I gave the command $gzip -d abc_depot.gz

I am executing the above command on hpux 11.00.

But it is me giving error.

Is there some other command to uncompresss the above compressed depot files ?

Thanks,
Shiv
9 REPLIES 9
Patrick Wallek
Honored Contributor

Re: command to uncompress the depot files

Since you don't give the error it is very hard to tell what the problem is.

BUT, chances are that the download did not complete successfully. The first thing I would try is to download the depot again. The site you downloaded from should give byte counts and possibly checksums for the files. Verify that those are correct after the download.
RAC_1
Honored Contributor

Re: command to uncompress the depot files

What does following say?
file "your_file"
There is no substitute to HARDWORK
sysadm_1
Valued Contributor

Re: command to uncompress the depot files

DOwnload the file again

try gunzip filename.gz

or you can unzip using winrar or winzip the file from windows and ftp to server.


-sysadm-
Shivkumar
Super Advisor

Re: command to uncompress the depot files

Here is the error:-

[sksonkar@bigguy:/home/sksonkar]$ gzip -d tusc-7.8-hppa-11.11.depot.gz

gzip: tusc-7.8-hppa-11.11.depot.gz: not in gzip format
Rajeev  Shukla
Honored Contributor

Re: command to uncompress the depot files

This could be only because of 2 reasons.
1. The downloaded file is not a complete file (try downloading it again)
2. The file is not a zip file, do
file "file_name" to see the fowmat of the file. Sometimes the file is already in depot format but named as .gz in which case you could just rename the file and start your installation.

Raj D.
Honored Contributor

Re: command to uncompress the depot files

Hi Shiv ,

Check the file format using the 'file' command. If it lists as a gzip format , you can uncompress it.

# gunzip filename.gz

or

# gzip -d filenma.gz

Else you need to re-download if its seems to be corrupt or broken gzip.

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Shivkumar
Super Advisor

Re: command to uncompress the depot files

$ file tusc-7.8-hppa-11.11.depot.gz
tusc-7.8-hppa-11.11.depot.gz: tar file

Is it a depot file ?
Rajeev  Shukla
Honored Contributor
Solution

Re: command to uncompress the depot files

Hi Shiv,

Thats right, its a depot file. You could rename the file to filename.depot instead of filename.depot.gz and start your installation.
Alternatively depot files can be seen by doing tar tvf .. have a try

Nguyen Anh Tien
Honored Contributor

Re: command to uncompress the depot files

Just rename your file to .depot file
#mv abc_depot.gz abc_depot.depot
then install it
#swinstall -s $PWD/abc_depot.depot
That's all
HTH
HP is simple