VMware Cloud Community
wilisbr
Contributor
Contributor

Problem unzipping installation file

The problem occurs on both versions (Windows and Linux). Here is the output of the Linux tar:

[root@sbcdf567 ~]# tar -zxf hyperic-hq-agent-2.7.7-165-x86-linux.tgz

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now


[root@sbcdf567 ~]# unzip hyperic-hq-agent-2.7.7-165-x86-linux.tgz
Archive: hyperic-hq-agent-2.7.7-165-x86-linux.tgz
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of hyperic-hq-agent-2.7.7-165-x86-linux.tgz or
hyperic-hq-agent-2.7.7-165-x86-linux.tgz.zip, and cannot find hyperic-hq-agent-2.7.7-165-x86-linux.tgz.ZIP, period.
0 Kudos
1 Reply
cwitt_hyperic
Hot Shot
Hot Shot

This looks like a file integrity problem with your download. The MD5 checksums for the 2.7.7-165 Open Source bundles are as follows:

1c744196cdde9e96ed946e20774ff242 hyperic-hq-agent-2.7.7-165-amd64-linux.tgz
1c606096dfda7dbfadf01846d6a6312d hyperic-hq-agent-2.7.7-165-apple-darwin.tgz
65843eec1523200db74a9b6ef53bf216 hyperic-hq-agent-2.7.7-165-hpux-11.tgz
99ed18a3e691159b49ebd0b5540a4b1c hyperic-hq-agent-2.7.7-165-noJRE.tgz
1590253b0804445d5238d0095dd210d9 hyperic-hq-agent-2.7.7-165-noJRE.zip
09a9038bc974b9b3f901f62212c0c5de hyperic-hq-agent-2.7.7-165-ppc-aix.tgz
375841bdaf7ce4b9c6d2afda570b52a8 hyperic-hq-agent-2.7.7-165-sparc-solaris.tgz
61e6c0b64470487b902c15f5f8e951d3 hyperic-hq-agent-2.7.7-165-win32.zip
ea8cb0edbbf2f32b586be54aa44b4e51 hyperic-hq-agent-2.7.7-165-x86-linux.tgz
9007ca3cb6153cd07714b51468909f2a hyperic-hq-installer-2.7.7-165-amd64-linux.tgz
a00e85e89c8e4e8c8dfb54968466c183 hyperic-hq-installer-2.7.7-165-apple-darwin.tgz
bc0b6cd7d8c0dbfcfa77d5d6726c9e24 hyperic-hq-installer-2.7.7-165-hpux-11.tgz
a7f38e0217e027abcbb0ca5c72e1f71d hyperic-hq-installer-2.7.7-165-noJRE.tgz
643f2dccfde0dcdbf26407aedb95bf89 hyperic-hq-installer-2.7.7-165-noJRE.zip
dc7e45de672bbc3db0524ee898698c74 hyperic-hq-installer-2.7.7-165-sparc-solaris.tgz
74bc6609a5e2e0ad44dda4f3193ed216 hyperic-hq-installer-2.7.7-165-win32.zip
3d2766e3f108cf6497ce524555189f06 hyperic-hq-installer-2.7.7-165-x86-linux.tgz
ea97c95973bda326a40c33abdbcac5b3 hyperic-hq-src-2.7.7-165.tgz
91927a393aaa369fc3f42ed45c4e1be3 hyperic-hq-src-2.7.7-165.zip
5e2e2c9f9e1606d65a0ebfd862869778 hyperic-pdk-2.7.7-165.zip

The integrity of our uploaded files is checked after each release is published. You can check your downloaded files against these checksums using the tool md5sum. This is readily available on most Linux distributions by default, and easily found if it is not. A web search for the tool will also produce an executable for Windows as well. To use it, open a terminal window, and type:

md5sum <name_of_file>

It will then present a hash that should match the hash next to the filename above. If it does not, you need to download the file again.

Example:

[cwitt@bronco 2.7.7_sf]$ md5sum hyperic-hq-agent-2.7.7-165-x86-linux.tgz
ea8cb0edbbf2f32b586be54aa44b4e51 hyperic-hq-agent-2.7.7-165-x86-linux.tgz

Problems with files that otherwise appear to download properly are often a result of a wrong FTP mode setting used when distributing them to other machines. The transfer mode for a gzipped tar archive should be set to binary if the FTP client being used does not automatically detect, and correctly set the transfer mode.

BTW - unzip will not expand a gzipped tar archive. Your use of `tar -zxf` was correct for files of this type.
0 Kudos