Re: Broken snapshot archives

2006-09-29 Thread Simon Marlow

Tomasz Zielonka wrote:


Some recent GHC snapshot files seem to be broken.
For example with

http://www.haskell.org/ghc/dist/current/dist/ghc-6.5.20060927-i386-unknown-linux.tar.bz2
I get:
$ tar jxf ghc-6.5.20060927-i386-unknown-linux.tar.bz2

bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become
corrupted.
You can use the -tvv option to test integrity of such
files.

You can use the `bzip2recover' program to attempt to
recover
data from undamaged sections of corrupted files.

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now


Yes, this is due to a long-standing problem with our firewalls that sometimes 
cause corruption of an SSH connection.  I'll try to make it retry or delete the 
file on failure instead of leaving a broken tarball in place.


Cheers,
Simon
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: Broken snapshot archives

2006-09-29 Thread Tomasz Zielonka
On Fri, Sep 29, 2006 at 12:30:10PM +0100, Simon Marlow wrote:
 Tomasz Zielonka wrote:
 Some recent GHC snapshot files seem to be broken.
 
 Yes, this is due to a long-standing problem with our firewalls that 
 sometimes cause corruption of an SSH connection.  I'll try to make it retry 
 or delete the file on failure instead of leaving a broken tarball in place.

Try using rsync. It doesn't leave partially transferred files (unless
you ask it to do it). The file on the target machine is first created
with a different name, and renamed to the final name only if it was
transferred successfully.

rsync can work over SSH, and in the basic scenario has similar
command-line options.

Best regards
Tomasz
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Broken snapshot archives

2006-09-28 Thread Tomasz Zielonka
Hello!

Some recent GHC snapshot files seem to be broken.
For example with

http://www.haskell.org/ghc/dist/current/dist/ghc-6.5.20060927-i386-unknown-linux.tar.bz2
I get:
$ tar jxf ghc-6.5.20060927-i386-unknown-linux.tar.bz2

bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become
corrupted.
You can use the -tvv option to test integrity of such
files.

You can use the `bzip2recover' program to attempt to
recover
data from undamaged sections of corrupted files.

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Best regards
Tomasz
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs