Unexpected end of file gzip

Asked by Gilles

I am trying to download cyclos 3.06 from sourceforge. to decompress the archive it is always ending up with this message:
gzip: stdin: unexpected end of file
I have tried to ask the developpers and they check and say that there is nothing wrong with their archive.
However I can't download it and open it.
It seems to be a problem with the file roller.
Is there a way to repair the archive according to the standard of this file roller or a way to force the extraction of the archive. I have downloaded alomost 30 times form now on and it never work.
I have tried with X archiver it seems to be simply a little bit better? I tried from different mirrors too.
Please assist me.

Gilles

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu file-roller Edit question
Assignee:
No assignee Edit question
Solved by:
Gilles
Solved:
Last query:
Last reply:
Revision history for this message
Gilles (ipcadvisors) said :
#1

Pleaseexplain too what is stdin?

Revision history for this message
Pete (pete123) said :
#2

Stdin is basically just data going into a program, in this case the cyclos gzip file. The error given would usually indicate a corrupted archive, try some different gz archives and they should work. I'm unable to download the specific file in question due to network limitations, hopefully someone else can try it though.

Revision history for this message
Gilles (ipcadvisors) said :
#3

Thank you. My system is working for any other .gz file but not for this one and the administrator and developers say it works well for them. So I do not know what to do to force opening the archive or get it opened.

Revision history for this message
Kris Marsh (moogman) said :
#4

Hi Gilles,

Can you paste the link to the download? Could you also try it from the command line. Click Applications->Accessories->Terminal, and then type the following:

tar -xzf cyclosfilename.tar.gz

tar is a command-line compression (and compression) application, and the -xzf means "extract, pass to gunzip and the filename to uncompress is next"

Hope this helps
Kris

Revision history for this message
Gilles (ipcadvisors) said :
#5

Hi Kris,
I just tried from the command line and it gives teh same result.

the link to download is http://sourceforge.net/project/downloading.php

I really do not know what to do. There is no way to force opening?

Thx

Gilles

Revision history for this message
Kris Marsh (moogman) said :
#6

Hi Gilles,

I've just downloaded Cyclos 3.0.6 via this link - http://ovh.dl.sourceforge.net/sourceforge/cyclos/cyclos_3.0.6_standalone_linux_i386.tar.gz and uncompressed it fine.

I have two suggestions that I would like you to try:

1) Run the command: md5sum cyclos_3.0.6_standalone_linux_i386.tar.gz and paste the output. I've done the same here, and my output is: 51da4cc27f4a15a92902737b3cb24a97. Yours should be the same value, otherwise the download is corrupt.

2) Possibly try re-downloading from the link above.

Thanks,
Kris

Revision history for this message
Gilles (ipcadvisors) said :
#7

Sorry Kris I had a visitor.

Ok I have the following result and I do not understand:

5973e74c73fc0a580a1c46347c931954

it is different from yours but I do not see why it could be corrupted as you said.
I try the other link in the meantime

Thx
Gilles

Revision history for this message
Gilles (ipcadvisors) said :
#8

Then I have the same thing with your link. It has been downloaded at 25Ko and the devloper is trying to explain me that the corruption of the file has a link to the download speed!!!!
Apparently it is only in my computer. With the link you gave it even didn't finished to save the download.
Any further idea?

Revision history for this message
Pete (pete123) said :
#9

I downloaded the file, my md5 of the file matches Kris's.

So, as you would expect it extracts fine. I'm interested to see if the file you have is of a similar size, can you run the following please:

du -b cyclos_3.0.6_standalone_linux_i386.tar.gz

and report the output here.

An 'easy' solution could be to download the file elsewhere and copy it over, if this is an option for you.

Revision history for this message
Gilles (ipcadvisors) said :
#10

Thx Pete,

my md5 didn't match at all.
Then the developer sent me the same link with a link that returned the md5
and then it worked out I do know why and did not understand why too.

Now the way practical for everybody who encounters my difficulties that I found too was as follow:
recompress your archive in another folder.
Then decompress the first one and then decompress the second one and it should work.
Thx all for your help although we didn't find what the mystery was.

Regards
Gilles

Revision history for this message
Pete (pete123) said :
#11

Compressing an archive inside another and then decompressing it should really have no effect at all on the original archive. Glad you got it working though!

Revision history for this message
Carlos Olivares (hyperhelium) said :
#12

I had the same problem when I created a tar file in a given folder, and then tried decompressing it. I don't know, but I was creating it in the same folder the files were (FAT by the way). When I compressed it in another folder (NTFS by the way). It just worked fine.

Hope it might be a clue for someone.