Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-11-19 09:33:38

jmmygoggle
New Member
Registered: 2004-10-14
Posts: 3

textpattern-4.0.4.tar.gz This does not look like a tar archive

Just grabbed the latest tar.gz of txp 4.0.4 and it seems to have problems, both in 7-zip gui client and bash via putty on my server those results below. The suggestion here: http://forum.textpattern.com/viewtopic.php?id=19381 was not helpful.
The zip seems to work fine but I’m wondering if others are having similar problems with the tar.gz file.
Thoughts?

# tar -xzf textpattern-4.0.4.tar.gz textpattern-4.0.4
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: textpattern-4.0.4: Not found in archive
tar: Error exit delayed from previous errors

# tar -xvzf textpattern-4.0.4.tar.gz textpattern-4.0.4
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: textpattern-4.0.4: Not found in archive
tar: Error exit delayed from previous errors

# gzip -d textpattern-4.0.4.tar.gz
# tar -xf textpattern-4.0.4.tar
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors

Offline

#2 2006-11-19 11:28:52

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: textpattern-4.0.4.tar.gz This does not look like a tar archive

The file is gzipped twice (known problem), so gunzip it once manually and then use tar -xzf

Offline

#3 2006-11-19 20:59:29

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: textpattern-4.0.4.tar.gz This does not look like a tar archive

It’s not gzipped twice. The server runs mod_deflate, which compresses the already-compressed content. Some browsers have a “feature” that tries to “fix” this, by not unzipping the deflate compression when the file extension ends in “gz”.


Alex

Offline

#4 2006-11-19 21:13:05

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: textpattern-4.0.4.tar.gz This does not look like a tar archive

So the downloaded file he’s got there is gzipped twice. Once gzipped by mod_deflate and once because the file on the server was already gzipped (even before mod_deflate).

Offline

#5 2006-11-19 21:43:47

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: textpattern-4.0.4.tar.gz This does not look like a tar archive

True enough. This is what the mysterious trailing ampersand in file download URLs is intended to fix, btw.


Alex

Offline

#6 2006-11-20 11:23:47

jmmygoggle
New Member
Registered: 2004-10-14
Posts: 3

Re: textpattern-4.0.4.tar.gz This does not look like a tar archive

Thanks for the fix ruud, and for the details as well zem.

Offline

Board footer

Powered by FluxBB