One of my windows-using students is back from the field and wanting to
install the new binaries for GRASS 5.7.
He's downloaded them several times and tried to install them without
success, getting the error "The size of the binary package is not correct"
However, if we use a separate untar utility (or tar), it seems to uncompress
and expand fine. He is going to go ahead and install it manually.
Is there perhaps a problem with the shell script? In line 24
TAR_FILE_SIZE=41899191
Thanks
Michael
____________________
C. Michael Barton, Professor
School of Human Diversity and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
------ Forwarded Message
From: Teague O'Mara <teague.omara@asu.edu>
Organization: Arizona State University
Reply-To: <teague.omara@asu.edu>
Date: Sat, 28 Aug 2004 09:48:25 -0700
To: 'Michael Barton' <michael.barton@asu.edu>
Subject: GRASS 5.7 binary
Hi Michael. I tried downloading both the binary and the install shell this
morning and it's giving me the same errors. This is exactly what I get
after I hit enter:
GRASS GIS 5.7.0-i686-pc-cygwin-24_06_2004 binary package installation tool
ERROR: The size of the binary package is not correct. Perhaps there was a
transmission error. Please download the package again
That's what I've been getting each time. But the good news is that it will
unpack with a secondary program!
Have a good weekend.
Teague
------ End of Forwarded Message
On Sat, 28 Aug 2004, Michael Barton wrote:
He's downloaded them several times and tried to install them without
success, getting the error "The size of the binary package is not correct"
However, if we use a separate untar utility (or tar), it seems to uncompress
and expand fine. He is going to go ahead and install it manually.
Is there perhaps a problem with the shell script? In line 24
TAR_FILE_SIZE=41899191
Change that number to the size of the file in bytes (check with ls -l) if you're sure it downloaded correctly. Or just delete the lines in the installation script that check the file size.
Paul
On Sun, Aug 29, 2004 at 11:51:51PM +0100, Paul Kelly wrote:
On Sat, 28 Aug 2004, Michael Barton wrote:
>He's downloaded them several times and tried to install them without
>success, getting the error "The size of the binary package is not correct"
From which server did he download?
>However, if we use a separate untar utility (or tar), it seems to
>uncompress
>and expand fine. He is going to go ahead and install it manually.
>
>Is there perhaps a problem with the shell script? In line 24
>
>TAR_FILE_SIZE=41899191
The shell script is ok, I think:
[grass.itc.it]
bash-2.04$ cd binary/mswindows_cygwin/
bash-2.04$ l
total 44288
-rw-rw-r-- 1 neteler grass 9149 Jun 24 16:23 grass-5.7.0-i686-pc-cygwin-24_06_2004-install.sh
-rw-rw-r-- 1 neteler grass 41899191 Jun 24 16:28 grass-5.7.0-i686-pc-cygwin-24_06_2004.tar.gz
bash-2.04$ grep 41899191 grass-5.7.0-i686-pc-cygwin-24_06_2004-install.sh
TAR_FILE_SIZE=41899191
bash-2.04$ pwd
/hardmnt/grass0/neteler/www/grass57/binary/mswindows_cygwin
So that looks ok. Maybe MS-Windows has a different idea of bytes?
Change that number to the size of the file in bytes (check with ls -l) if
you're sure it downloaded correctly. Or just delete the lines in the
installation script that check the file size.
Up to now it always worked.
Markus