1822014 Members
3986 Online
109639 Solutions
New Discussion юеВ

Re: gz extension

 
SOLVED
Go to solution
Ragni Singh
Super Advisor

gz extension

Hi all, what command removed the .gz extension. Any help is greatly appreciated.
11 REPLIES 11
Pete Randall
Outstanding Contributor

Re: gz extension

gunzip?

Pete

Pete
Ragni Singh
Super Advisor

Re: gz extension

This is the result of gunzip.

$ gunzip samba_2.2.7_HPUX_withwinbind.depot.gz

gunzip: samba_2.2.7_HPUX_withwinbind.depot.gz: not in gzip format

Marco Santerre
Honored Contributor

Re: gz extension

This is most probably a gunzip file and in this case you will need to use gunzip to unzip it.

gzip -d filename.gz
Cooperation is doing with a smile what you have to do anyhow.
Pete Randall
Outstanding Contributor

Re: gz extension

You could ignore the extension (by renaming, if necessary) and try unpack - or any other compression you can find/think of.

Pete

Pete
Steven E. Protter
Exalted Contributor

Re: gz extension

the normal way to remove the .gz extension is gunzip.

But you can do it with a rename ie the mv command.

If the second method is used, the file is not unzipped or uncompressed.

Steve
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
Ragni Singh
Super Advisor

Re: gz extension

Still no luck.

$ gzip -d samba_2.2.7_HPUX_withwinbind.depot.gz

gzip: samba_2.2.7_HPUX_withwinbind.depot.gz: not in gzip format
John Poff
Honored Contributor

Re: gz extension

Hi,

Maybe the file is corrupt? Did you download it from a web site or ftp it? Can you check the size and/or checksum against what it should be?

JP
Niraj Kumar Verma
Trusted Contributor
Solution

Re: gz extension

Hi ,

try

# file samba_2.2.7_HPUX_withwinbind.depot.gz

if its not a gzipped file then try

# swinstall -s `pwd`/samba_2.2.7_HPUX_withwinbind.depot.gz


regards
-Niraj
Niraj.Verma@philips.com
Ravi_8
Honored Contributor

Re: gz extension

Hi,

sometimes it worked me like this:
#mv x.depot.gz x.depot
#swinstall x.depot

if this doesn't work download again
never give up
Niraj Kumar Verma
Trusted Contributor

Re: gz extension

hi,

does it solve ur problem ???
please do post ur reply ?

-Niraj
Niraj.Verma@philips.com
Ragni Singh
Super Advisor

Re: gz extension

Thanks for al your help guys. I did exactly what Niraj had suggested.