LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 11-18-2012, 10:30 AM   #121
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848

mh, it seems to be another format, not zipped not compressed. I don't know. Call the provider of this package.

Markus
 
Old 11-18-2012, 02:17 PM   #122
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
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
 
Old 11-18-2012, 02:27 PM   #123
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
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.

Markus
 
Old 11-18-2012, 02:29 PM   #124
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Hi Markush

I did a search on this site to find out if anyone else had similar issue. Found someone here

http://itsfoss.com/how-solve-stdin-gzip-format/

The following was suggested:

Quote:
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:

tar xvf MyFile.tar.gz
 
Old 11-18-2012, 02:39 PM   #125
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Yes, I thought something similar, go to /tmp/install.dir.4004/Linux/resource/ and execute
Code:
tar xf vm.tar.Z
Markus
 
Old 11-18-2012, 03:08 PM   #126
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-19-live-usb/ aix
Posts: 3,822

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
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.

Last edited by schneidz; 11-18-2012 at 03:10 PM.
 
Old 11-19-2012, 04:28 PM   #127
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by markush View Post
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]#
 
Old 11-19-2012, 04:32 PM   #128
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by schneidz View Post
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:

Quote:
Quote:
[root@localhost /]# file /tmp/install.dir.4004/Linux/resource/vm.tar.Z
/tmp/install.dir.4004/Linux/resource/vm.tar.Z: data
[root@localhost /]# zcat /tmp/install.dir.4004/Linux/resource/vm.tar.Z > vm.tar

gzip: /tmp/install.dir.4004/Linux/resource/vm.tar.Z: not in gzip format
 
Old 11-19-2012, 04:41 PM   #129
carltonp
Member
 
Registered: Nov 2012
Posts: 69

Original Poster
Rep: Reputation: Disabled
schneidz,

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.
 
Old 11-20-2012, 08:20 AM   #130
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-19-live-usb/ aix
Posts: 3,822

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Quote:
Originally Posted by carltonp View Post
schneidz,

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 View Post
[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.

Last edited by schneidz; 11-20-2012 at 08:37 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Converting a binary file from little endian to big endian jaepi Programming 6 09-05-2011 09:51 PM
'Cannot Execute Binary File' issue kickout Linux - Software 4 09-16-2010 10:54 PM
Tar archive from windows to linux, binary file issue jblevins Linux - General 3 04-13-2009 11:50 PM
converting a hex file to binary linx win Programming 3 07-20-2006 03:04 AM
j2sdk installation issue - cannot execute binary file mcolley73 Linux - Software 2 04-18-2004 12:40 PM


All times are GMT -5. The time now is 07:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration