Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OK, guys one last thing before I call it quits. I've display the information in the vm.tar.z file that the following error message references. Can you please tell me if it can be fixed?
Quote:
[root@localhost Linux]# ./newfile.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
gzip: /tmp/install.dir.4004/Linux/resource/vm.tar.Z: not in gzip format
/tmp/install.dir.4004/Linux/resource/vm.tar.Z: not in compressed format
gzip: /tmp/install.dir.4004/Linux/resource/vm.tar.Z: not in gzip format
The included VM could not be uncompressed (GZIP/UNCOMPRESS). Please try to
download the installer again and make sure that you download using 'binary'
mode. Please do not attempt to install this currently downloaded copy.
Quote:
gzip: stdin: not in gzip format
/bin/gtar: Child returned status 1
/bin/gtar: Error is not recoverable: exiting now
The problem is that nobody knows what exactly the problem is. If the file is damaged or if it is simply in the wrong format.
Another problem is that you need the installer to install it, it doesn't help to simply uncompress (with which program ever) the data.
As I said above: call the provider of the software, explain your problem to them and hear what they say.
Reason: Reason for the error is quite evident. The file is not a gzipped file but a POSIX tar archive file. Which means it was not zipped at all but instead it was compressed using tar. It was simply renamed afterwards.
Solution: Since it was not a a gizzped file, a simple tar is able to extract the file:
in posts #'s 84 and 99 i told you to run the file command to know what type of file it is. if you did that you wouldve saved yourself a little headache.
Yes, I thought something similar, go to /tmp/install.dir.4004/Linux/resource/ and execute
Code:
tar xf vm.tar.Z
Markus
I ran the command and got the following:
Code:
[root@localhost resource]# tar xf vm.tar.Z
stdin: not in compressed format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
[root@localhost resource]#
in posts #'s 84 and 99 i told you to run the file command to know what type of file it is. if you did that you wouldve saved yourself a little headache.
OK schneidz,
I ran the commands as you suggested, please see the following:
I noticed that each time I run the command you suggested the install.dir changes. For example, the last post it was install.dir.4004. After the running the ./newfile.bin the directory changed to install.dir.4497, see below. Is there any suggestion why?
Quote:
[root@localhost Linux]# ./newfile.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
gzip: /tmp/install.dir.4497/Linux/resource/vm.tar.Z: not in gzip format
/tmp/install.dir.4497/Linux/resource/vm.tar.Z: not in compressed format
gzip: /tmp/install.dir.4497/Linux/resource/vm.tar.Z: not in gzip format
The included VM could not be uncompressed (GZIP/UNCOMPRESS). Please try to
download the installer again and make sure that you download using 'binary'
mode. Please do not attempt to install this currently downloaded copy.
I noticed that each time I run the command you suggested the install.dir changes. For example, the last post it was install.dir.4004. After the running the ./newfile.bin the directory changed to install.dir.4497, see below. Is there any suggestion why?
without seeing the code, i would assume that the programmer wrote it so that the random temp directory name would be generated from the pid (process id) ?
the normal way to install programs is thru the package manager (so that things like dependencies are automatically handled). the author of this software seems to have many bugs in it.
seems like your pc is unable to determine the file type of vm.tar.Z
Quote:
Originally Posted by carltonp
[root@localhost /]# file /tmp/install.dir.4004/Linux/resource/vm.tar.Z
/tmp/install.dir.4004/Linux/resource/vm.tar.Z: data
you can try running:
Code:
which uncompress
uncompress /tmp/install.dir.4004/Linux/resource
but it probably wont work.
have you had any luck contacting the creator of this installer; maybe you can look in the software repositories for a suitable replacement for a network monitoring program.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.