- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- can not unzip a .gz file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2005 06:19 AM
тАО12-27-2005 06:19 AM
just down load a tool from to the Porting And Archive Centre for HP-UX in the United Kingdom
the file has a format
lsof-4.75-hppa-11.11.depot.gz
i was using
$gunzip lsof-4.75-hppa-11.11.depot.gz
gunzip: lsof-4.74-sd-11.11.depot.gz: not in gzip format
and
#gzip -d lsof-4.74-sd-11.11.depot.gz
gzip: lsof-4.74-sd-11.11.depot.gz: not in gzip format
root]:/tmp/tmp
#file lsof-4.74-sd-11.11.depot.gz
lsof-4.74-sd-11.11.depot.gz: tar file
it is a tar file.
i can untar the file but do not know how to install from there.
my question is: is this an in-corrected file format.
or if i was using a wrong command.
Please help.
Regards,
Tom
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2005 06:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2005 06:32 AM
тАО12-27-2005 06:32 AM
Re: can not unzip a .gz file
Most likely your download is not complete.
You are probably better off doing the download again.
The correct command sequence is:
gunzip filename.gz
tar xvf filename.tar
If you are doing this and have a halfway recent copy of gunzip and tar you should be okay.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2005 06:35 AM
тАО12-27-2005 06:35 AM
Re: can not unzip a .gz file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2005 06:42 AM
тАО12-27-2005 06:42 AM
Re: can not unzip a .gz file
To verify the integrity, use checksums, if you could untar the file, the file should be ok, otherwise, you will have "does not look like a tar file".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2005 06:49 AM
тАО12-27-2005 06:49 AM
Re: can not unzip a .gz file
Thanks very much for your help.
i did download to windows and using ftp with transfer mode set to bin but it still did not work.
with the Procure's method, it works
Procure, would you please explain why it works that way( just rename the file).
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2005 07:00 AM
тАО12-27-2005 07:00 AM
Re: can not unzip a .gz file
1. It was not gzipped in the first place. (Author misnamed it)
2. Someone or something else already ungzipped it, but did not rename the file (blame the browser)
3. Someone misnamed it on purpose to confuse you
4. Use your imagination :)
As you already stated in your initial post, use the 'file' command to tell you what file type a file realy is. The extension is only an indicator. Some examples
# echo "Hello world!" > banner.ico
# echo "#!rm -rf /" > virus.exe
See? Do not trust an extension
The only knowledge you missed was that a depot is just a tar file with some control files in it. That's why a depot shows up as tar when using 'file'
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2005 07:26 AM
тАО12-27-2005 07:26 AM
Re: can not unzip a .gz file
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2005 07:28 AM
тАО12-27-2005 07:28 AM