[SLUG] gunzip error: invalid compressed data--format violated

2005-05-04 Thread Michael Lake
Hi all
I'm getting errors trying to gunzip some files of xray diffration data.
I'm unzipping on a Linux box. The data was gziped on an SGI IRIX, stored on a 
Novel server,
moved over to a Windows box and eventually to my Linux box.
$ file mikel.tar.gz
mikel.tar.gz: gzip compressed data, from Unix
$ gunzip mikel.tar.gz
incomplete literal tree
gunzip: mikel.tar.gz: invalid compressed data--format violated
$ gunzip archive.tar.gz
 gunzip: archive.tar.gz: invalid compressed data--format violated
Note slightly diff error on the two files.
googling indicates such probs can be from ftp transfers done as ascii instead of bin but I don't think 
that problem has occured here.

What should I try?
--
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] gunzip error: invalid compressed data--format violated

2005-05-04 Thread telford
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, May 05, 2005 at 12:05:56PM +1000, Michael Lake wrote:
 Hi all
 
 I'm getting errors trying to gunzip some files of xray diffration data.
 I'm unzipping on a Linux box. The data was gziped on an SGI IRIX, stored on 
 a Novel server,
 moved over to a Windows box and eventually to my Linux box.

The most common destruction of gzip files is ftp in ASCII mode
onto the MS-Windows box. If this is the problem then there is
no way that I know of to fix it. Check that the size of the
file is the same under Linux as it was on the original SGI box.

- Tel  ( http://bespoke.homelinux.net/ )
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iQIVAwUBQnmILcfOVl0KFTApAQK3lw//fnNh0KCw86kTC0skSL4QFwjA6uZIdHCd
ds6Pme5kDco6cTyWI5SqZl6xVERLGXHF4TsisvNjXvmdwWRn0B8y80o9wkSDzTSh
tvnhZytq4nZj+nYTXO4ERVrpwNEC3nCdnMsVkUBVkbr8+PLg5KAIdUa1kD5MQ0gF
nNLiDMUI8ZwDdrUdsr7jLwJqArZusagmsIsfOqBuV0KeE+C9WuLYcbV2ptBnPu4g
NRouuKLyq7anbvMluLprjrL1LynsSHdwBi26Jhnz2wTsssgpRv0UJY3UiBQ6xkmY
i6lpg1YEmGGrNzGZSWPAucbAlzS28WMFbEWLzROzz19Ksj96SHHqp5MOLvaVWo69
Uba9kgg/fTS2xqsKhhg0HQbeoHESJMf+3IzSPXPM6nmfyx8iQM3fflUGGI1yl8kA
xpjhl5Oyuri4MdD9CMQMst0nywdgx/QWUVja3yCvQ6JsugsvxRFhdhYT9ZMneqvb
k9ZE7m07FeLcgp3vCP7AErIk6F8xtgasggjh6qbSIEPFNaOvu3Jz6Ls0B7Kta62C
I882WtuTqCuut0TIx36+CWJtELBFuqUV+kF/2VKvmjITFBM/AF6tfVtXdRmFYkB2
0xfpDnypfoD5y5w31XZ/NTS8Y3XgwQaZyoOiS1c7pqN+oqnA+hGoo/JV/IQth4df
EMllPvzsFO4=
=mInW
-END PGP SIGNATURE-
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] gunzip error: invalid compressed data--format violated

2005-05-04 Thread Michael Lake
Hi
On Thu, May 05, 2005 at 12:05:56PM +1000, Michael Lake wrote:
I'm getting errors trying to gunzip some files of xray diffration data.
I'm unzipping on a Linux box. The data was gziped on an SGI IRIX, stored on 
a Novel server,
moved over to a Windows box and eventually to my Linux box.
[EMAIL PROTECTED] wrote:
The most common destruction of gzip files is ftp in ASCII mode
onto the MS-Windows box. If this is the problem then there is
no way that I know of to fix it. Check that the size of the
file is the same under Linux as it was on the original SGI box.
Yeah in most cases its an ASCII instead of bin prob but I dont think so 
here. If I do this:
gunzip -c admin.tar.gz | tar -xvf -
I get a bin directory and one of my scripts recovered (though mangled a 
lot) and then the error:

tar: skipping to next header
tar: Archive contains obsolescent base-64 headers
invalid compressed data--format violated
Thats why I'm wondering if it's an error because I used an IRIX gzip and 
trying to unzip with gunzip on a TiPowerBook under Debian.

Mike
--
Michael Lake
Chemistry, Materials  Forensic Science, UTS
Ph: 9514 1725 Fx: 9514 1460
[pls ignore idiot lawyer's msg below]

--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] gunzip error: invalid compressed data--format violated

2005-05-04 Thread QuantumG
Michael Lake wrote:
Thats why I'm wondering if it's an error because I used an IRIX gzip 
and trying to unzip with gunzip on a TiPowerBook under Debian.

I have had similar issues.  I actually installed gzip from source on the 
ancient machine I was using.  These days I'd install bzip2.

Of course, maybe you can locate some source for this ancient IRIX gzip.
Trent
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html