This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Setup problem: incomplete nonexistent package

Here's an executive summary: it's a mystery.  It just started

In slightly more detail, rsync from another site did replace the
TeXmacs package.

But re-running setup still failed on TeXmacs.  Our local mirror is
shared via Samba (v 2.2something).  Some hours later, with no extra
rsyncs (in fact, after no actions of any kind except running the check
script), setup.exe worked.

I've appended the md5 check script anyway.

Should there be an md5.sum file for setup.exe, setup.bz2 and

On  3 Sep, luke wrote:
>  I tried again installing from our mirror, and it failed with an 
>  incomplete download message on TeXmacs-  I chose not to try 
>  again, and then setup terminated with a runtime exception (as it always 
>  does in that situation: "Runtime exception ... This application has 
>  requested that the Runtime terminate it in an unusual way.  Please 
>  contact the application's support team for more information."). 
>  It also left no log files at all under c:/cygwin/var/log (in fact, the 
>  directory had not been created), and the next time I ran setup it had 
>  not remembered any of the settings I'd chosen. 
>  I just tried again and it failed the same way, the same package, and 
>  didn't create the log directory so I can't give more details.  It did 
>  remember my setup settings the 2nd time, though. 
>  So, actually, I'm pretty badly off - I have no Cygwin any more (I have 
>  an old version of U/Win I've used to collect some of the info above).  
>  Oh, speaking of which, here's the U/Win ls and md5sum for our setup 
>  directory in our mirror: 
>  ..../cygwin$ ls -l //samba/mirror/cygwin 
>  total 1858 
>  drwxrwxr-t  7 322674   262825       512 Sep  1 13:05 mail-archives 
>  drwxrwxr-t245 322674   262825       512 Aug 31 18:40 release 
>  -rw-rw-r--  1 322674   262825     79753 Sep  3 02:20 setup.bz2 
>  -rwxrwxr-x  1 322674   262825    268800 Apr 26 01:03 setup.exe 
>  -rwxrwxr-x  1 322674   262825    268800 Oct  7  2003 setup.exe.old 
>  -rw-rw-r--  1 322674   262825    331860 Sep  3 02:20 setup.ini 
>  drwxrwxr-t  2 322674   262825       512 Apr  4 02:41 tmp 
>  ..../cygwin$ /usr/bin/md5sum.exe //samba/mirror/cygwin/setup.exe 
>  51db88989d4886688ed9241406961b0e //samba/mirror/cygwin/setup.exe 
>  > > luke 
>  >   
>  >  Also, read about the "upset" script if you want to have packages on your 
>  >  local server in addition to the mirrored ones.  Google for "upset script 
>  >". 
>  >  HTH, 
>  >  	Igor 
>  Thanks, I'll have a look - if I can figure out how to install Cygwin 
>  again! 
>  The mirror site we are currently using, and which I used last night for 
>  the direct attempt, was  (I didn't know that I'd chosen 
>  the same site that our SysAdmin rsync to make our mirror, when I chose 
>  it!) 
>  Setup.exe says it's version 2.427.  Our mirror is 2.06GB (2,220,822,916 bytes), 
>  2,739 files, 491 folders.  Sept 3rd 2004. 
>  I'll try another reboot and see if that helps. 

No joy.  We also synced to another mirror and it didn't help.

I've run my script and checked, and some checksums failed, but not the
TeXmacs- one:

Summary of files with broken checksums:

In ./binutils:
md5.sum: FAILED
md5sum: WARNING: 1 of 6 computed checksums did NOT match

In ./check:
check-0.8.4-1-src.tar.bz2: FAILED
md5sum: WARNING: 1 of 3 computed checksums did NOT match

In ./ncurses/libncurses5:
libncurses5-5.2-1-src.tar.bz2: FAILED
md5sum: WARNING: 1 of 3 computed checksums did NOT match

I'll append the check script in case it's of use to others.  (Sorry for
the delay, other more urgent problems cropped up for me.)

I notice that there is no md5.sum file for setup.exe, setup.bz2 and
setup.ini, which I imagine are pretty critical.  How do I tell if any
of those are suspect?

-rw-rw-r--    1 cameron  postdrop    79738 Sep  1 03:00 setup.bz2
-rwxrwxr-x    1 mirror   postdrop   268800 Apr 26 01:03 setup.exe
-rw-rw-r--    1 cameron  postdrop   331839 Sep  1 03:00 setup.ini

$ md5sum setup.bz2 setup.exe setup.ini
a1a3a8cc37f1068f769869a70adb3e9b  setup.bz2
51db88989d4886688ed9241406961b0e  setup.exe
aab5a01b13cdcb372b47f3bb632f2371  setup.ini

To pick an example one with an apparent problem,
: [luke@cage] .../check; ls
check-0.8.4-1-src.tar.bz2  check-0.8.4-1.tar.bz2  md5.sum  setup.hint
: [luke@cage] .../check; md5sum --check md5.sum 
check-0.8.4-1-src.tar.bz2: FAILED
check-0.8.4-1.tar.bz2: OK
setup.hint: OK
md5sum: WARNING: 1 of 3 computed checksums did NOT match

: [luke@cage] .../check; cat md5.sum
2869c0fb14b9e277931dbe3df22de1ab  check-0.8.4-1-src.tar.bz2
52155707ea1c471ff4ec950009174e59  check-0.8.4-1.tar.bz2
925e6963dec65e9da0489cb2d74a638d  setup.hint

And from our setup.bz2file:

@ check
sdesc: "A unit test framework for C"                                            ldesc: "Check is a unit test framework for C. It features a simple              interface for defining unit tests, putting little in the way of the             developer. Tests are run in a separate address space, so Check can              catch both assertion failures and code errors that cause segmentation
faults or other signals. The output from unit tests can be used within
source code editors and IDEs.
More information at:";
category: Devel
requires: cygwin
version: 0.8.4-1
install: release/check/check-0.8.4-1.tar.bz2 70344 52155707ea1c471ff4ec950009174e59
source: release/check/check-0.8.4-1-src.tar.bz2 96934 2869c0fb14b9e277931dbe3df22de1ab


---------------------- md5cygchk ------------------------------
# Check all the md5 signatures for a Cygwin mirror.
# Author: Luke Kendall
MYNAME=`basename "$0"`
USAGE="Usage: $MYNAME [-q] cygwin-mirror-directory
    Where -q means quiet, and cygwin-mirror-directory should be the
    directory where you find setup.bz2 setup.exe setup.ini

    E.g.: $MYNAME /u/mirror/cygwin/release"

trap 'rm -f $TMP; exit 1'

if [ "x$1" = "x-q" ]
if [ $# != 1 ]
    echo "$USAGE" >&2
    exit 1
cd $1 || exit 1
if [ ! -s ../setup.bz2 ]
    echo "$MYNAME: Not a cygwin download (no file setup.bz2 in $1 parent)" >&2
    exit 1

find . -type d -print | \
    while read dir
	pushd "$dir" > /dev/null
	if [ -s md5.sum ]
	    $ECHO "$dir:"
	    if md5sum $MD5ARG --check md5.sum
		    echo "In $dir:"
		    md5sum --check md5.sum 2>&1 | grep -v OK
		} >> $TMP
	elif [ `ls -l | grep "^-" | wc -l` = 0 ]
	    echo "Worrying: $dir has no md5.sum file" >&2
	    echo "Worrying: $dir has no md5.sum file" >> $TMP
	popd > /dev/null

if [ -s $TMP ]
    echo "Summary of files with broken checksums:"
    cat $TMP
    rm $TMP
    exit 1
    $ECHO "--- All files checked okay. ---"
    exit 0
trap '' 0

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]