tar is not zipped

Bug #138983 reported by Jason Viloria
4
Affects Status Importance Assigned to Milestone
Gladex
Invalid
Undecided
Unassigned

Bug Description

I am doing an rpm package and tar -zxvf does not work even though the file has tar.gz externsion.
This is because the file is not zipped, just tarred.
Please create tar file with tar -czvf so that it is zipped as well.

Revision history for this message
Jason Viloria (jnvilo) wrote :

nevermind, rpmbuild does manage to extract it, it's just with commandline tar -zxvf that fails with:

tar -zxvf /home/jnvilo/Desktop/gladex-0.3.4.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

Changed in gladex:
assignee: nobody → jnvilo
status: New → Invalid
Revision history for this message
Christopher Pax (paxmanchris) wrote :

I see what you are talking about. I think that the -z flag is for when the archive is zip. Do not hold my word on that, read the tar man pages.

Thank you for submitting this bug. If there is another bug you find, please report just like you did with this one.

Thank you for using gladex. If you enjoyed using gladex, and like to spread the word, please make a post at http://ubuntuforums.org/showthread.php?t=529925. And if you encounter someone who wants to do some programming, please let them know about this program. Reffer them to our homepage http://www.openphysics.org/~gladex/ if they have trouble, or you can use the question section in launchpad.

Thanks again,
its people like you that keep use programming.

ps, if you made something really cool using gladex, please send it to cp67 AT njit DOT com as a attachment.

Revision history for this message
Charles Edward Pax (pax) wrote :

This is very strange. I made the .tar.gz on my system and used 'tar -zxvf gladex-0.3.4.tar.gz'; it worked fine. I then uploaded the file to Launchpad. I then downloaded the file back to my computer. I then used 'tar -zxvf gladex-0.3.4.tar.gz' on this new file. I get the same output as you:
"""
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
"""

It seems to be related to bug #44773 (https://bugs.launchpad.net/launchpad/+bug/44773). I'll make a post there referencing this bug

Revision history for this message
Charles Edward Pax (pax) wrote :

Since this seems to be a bug in Launchpad I'm marking it as "Won't Fix" rather than "Invalid".

Changed in gladex:
assignee: jnvilo → nobody
status: Invalid → Won't Fix
Revision history for this message
Christian Reis (kiko) wrote :

I don't think it's related to bug 44773. Can you point me to this file in Launchpad?

Revision history for this message
Christian Reis (kiko) wrote :

I think I found it. But here:

% wget https://edge.launchpad.net/gladex/0.3/0.3.4/+download/gladex-0.3.4.tar.gz
...
% tar xvfz gladex-0.3.4.tar.gz
gladex-0.3.4/docs/figures/gladex-plugin-perl.png
...

So it works for me.

Revision history for this message
Charles Edward Pax (pax) wrote :

Looks like is a problem with how tar was used. The original bug reporter used

$ tar -zxvf ...

Which gives errors. There are no errors when using

$ tar xvfz ...

Marking bug as invalid. Thanks Christian.

Changed in gladex:
status: Won't Fix → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.