Re: Setup problem: incomplete nonexistent package

2004-09-03 Thread luke . kendall
Here's an executive summary: it's a mystery.  It just started
working.

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
setup.ini?



On  3 Sep, luke wrote:
  I tried again installing from our mirror, and it failed with an 
  incomplete download message on TeXmacs-1.0.3.3-1.  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   262825268800 Apr 26 01:03 setup.exe 
  -rwxrwxr-x  1 322674   262825268800 Oct  7  2003 setup.exe.old 
  -rw-rw-r--  1 322674   262825331860 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 
site:cygwin.com. 
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 kernel.org.  (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-1.0.3.3-1 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  postdrop79738 Sep  1 03:00 setup.bz2
-rwxrwxr-x1 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,
check-0.8.4-1-src.tar.bz2:
: [EMAIL PROTECTED] .../check; ls
check-0.8.4-1-src.tar.bz2  check-0.8.4-1.tar.bz2  md5.sum  setup.hint
: [EMAIL PROTECTED] .../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

: [EMAIL PROTECTED] .../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 Cldesc: 
Check is a unit test framework for C. It features a simple  interface for 
defining unit tests, putting little in the way of 

Setup problem: incomplete nonexistent package

2004-09-02 Thread luke . kendall
We have a local cygwin mirror (of kernels.org).  Recently, setup fails
with the e have a local cygwin mirror (of kernels.org).  Recently, setup fails
with the error that the package ssmtp-2.60.9-2 is incomplete.

But we don't have that package in our mirror, and I don't have that
package installed, as far as I can tell.  So where is it getting this
incomplete package from?  Our ssmtp directory on our mirror looks like
this:

drwxrwsr-x2 mirror   postdrop 4096 Sep  1 16:31 .
drwxrwsr-x  245 mirror   postdrop 4096 Aug 31 18:40 ..
-rw-rw-r--1 cameron  postdrop  281 Aug 28 21:54 md5.sum
-rw-rw-r--1 mirror   postdrop  276 Jul 16 16:11 setup.hint
-rw-rw-r--1 mirror   postdrop46738 Feb 19  2004 ssmtp-2.60.4-3-src.tar.bz2
-rw-rw-r--1 mirror   postdrop22325 Feb 19  2004 ssmtp-2.60.4-3.tar.bz2
-rw-rw-r--1 cameron  postdrop53716 Aug 28 19:20 ssmtp-2.60.9-3-src.tar.bz2
-rw-rw-r--1 cameron  postdrop24503 Aug 28 19:20 ssmtp-2.60.9-3.tar.bz2

I tried for 15 mins, combinations of trying to uninstall the various
packages (ssmtp, but perl-manpages were another, and perl, and then
ImageMagick ...), so right now I'm removing the entire Cygwin
installation and am about to start again from scratch.

Hmm, that was a serious mistake.  Now I get incomplete downloads on
more fundamental files.  I think I'll assume our mirror is completely
broken and install from the internet.

luke


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Setup problem: incomplete nonexistent package

2004-09-02 Thread Igor Pechtchanski
On Thu, 2 Sep 2004, luke.kendall wrote:

 We have a local cygwin mirror (of kernels.org).  Recently, setup fails
 with the error that the package ssmtp-2.60.9-2 is incomplete.

 But we don't have that package in our mirror, and I don't have that
 package installed, as far as I can tell.  So where is it getting this
 incomplete package from?

Look in /var/log/setup.log.full and /var/log/setup.log for clues.  Also,
the download incomplete message results from a size inconsistency
between setup.ini (setup.bz2) and the actual package file, so check the
setup.ini on your mirror.

 Our ssmtp directory on our mirror looks like this:

 drwxrwsr-x2 mirror   postdrop 4096 Sep  1 16:31 .
 drwxrwsr-x  245 mirror   postdrop 4096 Aug 31 18:40 ..
 -rw-rw-r--1 cameron  postdrop  281 Aug 28 21:54 md5.sum
 -rw-rw-r--1 mirror   postdrop  276 Jul 16 16:11 setup.hint
 -rw-rw-r--1 mirror   postdrop46738 Feb 19  2004 
 ssmtp-2.60.4-3-src.tar.bz2
 -rw-rw-r--1 mirror   postdrop22325 Feb 19  2004 ssmtp-2.60.4-3.tar.bz2
 -rw-rw-r--1 cameron  postdrop53716 Aug 28 19:20 
 ssmtp-2.60.9-3-src.tar.bz2
 -rw-rw-r--1 cameron  postdrop24503 Aug 28 19:20 ssmtp-2.60.9-3.tar.bz2

 I tried for 15 mins, combinations of trying to uninstall the various
 packages (ssmtp, but perl-manpages were another, and perl, and then
 ImageMagick ...), so right now I'm removing the entire Cygwin
 installation and am about to start again from scratch.

 Hmm, that was a serious mistake.  Now I get incomplete downloads on
 more fundamental files.  I think I'll assume our mirror is completely
 broken and install from the internet.

Before you do that, if you Use IE5 Settings in setup, turn off caching
in IE (or, rather, make it check the cached version every time you access
a file -- note: this is *not* the default!).

 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
site:cygwin.com.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Setup problem: incomplete nonexistent package

2004-09-02 Thread luke . kendall
On  2 Sep, Igor Pechtchanski wrote:
  On Thu, 2 Sep 2004, luke.kendall wrote:
  
  We have a local cygwin mirror (of kernels.org).  Recently, setup fails
  with the error that the package ssmtp-2.60.9-2 is incomplete.
  
  But we don't have that package in our mirror, and I don't have that
  package installed, as far as I can tell.  So where is it getting this
  incomplete package from?
  
  Look in /var/log/setup.log.full and /var/log/setup.log for clues.  Also,
  the download incomplete message results from a size inconsistency
  between setup.ini (setup.bz2) and the actual package file, so check the
  setup.ini on your mirror.

Thanks - they just indicate that the download is incomplete:

setup.log:

[...]
2004/09/02 19:21:11 Downloaded 
d:\temp\cygwin/http%3a%2f%2fweb%2fu%2fmirror%2fcygwin%2f/release/zsh/zsh-4.2.0-2.tar.bz2
2004/09/02 19:21:11 Downloaded 
d:\temp\cygwin/http%3a%2f%2fweb%2fu%2fmirror%2fcygwin%2f/release/_update-info-dir/_update-info-dir-00227-1.tar.bz2
2004/09/02 19:21:11 mbox yesno: Download Incomplete.  Try again?
2004/09/02 19:21:48 Ending cygwin install

setup.log.full:

[...]
2004/09/02 19:21:11 Downloaded 
d:\temp\cygwin/http%3a%2f%2fweb%2fu%2fmirror%2fcygwin%2f/release/zsh/zsh-4.2.0-2.tar.bz2
get_url_to_file 
http://web/u/mirror/cygwin//release/_update-info-dir/_update-info-dir-00227-1.tar.bz2 
d:\temp\cygwin/http%3a%2f%2fweb%2fu%2fmirror%2fcygwin%2f/release/_update-info-dir/_update-info-dir-00227-1.tar.bz2.tmp
2004/09/02 19:21:11 Downloaded 
d:\temp\cygwin/http%3a%2f%2fweb%2fu%2fmirror%2fcygwin%2f/release/_update-info-dir/_update-info-dir-00227-1.tar.bz2
2004/09/02 19:21:11 mbox yesno: Download Incomplete.  Try again?
For file 
file://d:\temp\cygwin/http%3a%2f%2fweb%2fu%2fmirror%2fcygwin%2f/release/a2ps/a2ps-4.13-1.tar.bz2
 ini digest is fd9509ef1ce14ee090f148f66ab80e25 file digest is 
fd9509ef1ce14ee090f148f66ab80e25
2004/09/02 19:21:48 Ending cygwin install
For file 
file://d:\temp\cygwin/http%3a%2f%2fweb%2fu%2fmirror%2fcygwin%2f/release/agetty/agetty-2.1-1.tar.bz2
 ini digest is 950635063cfc495c6e03554a44de file digest is 
950635063cfc495c6e03554a44de
For file 
file://d:\temp\cygwin/http%3a%2f%2fweb%2fu%2fmirror%2fcygwin%2f/release/antiword/antiword-0.34-2.tar.bz2
 ini digest is 64d78756c52a554cd6dc9923740bb005 file digest is 
64d78756c52a554cd6dc9923740bb005


  Hmm, that was a serious mistake.  Now I get incomplete downloads on
  more fundamental files.  I think I'll assume our mirror is completely
  broken and install from the internet.
  
  Before you do that, if you Use IE5 Settings in setup, turn off caching
  in IE (or, rather, make it check the cached version every time you access
  a file -- note: this is *not* the default!).

Um, I went ahead and scrubbed Cygwin completely already. (In fact, my
attempt to install direct from the internet failed; I'd chosen Direct
Connection, not Use IE5 Settings.  Normally we use our mirror, in
which case we choose Use proxy settings, and point it to the port and
proxy server to access our mirror on the LAN.  SO I don't think IE5
comes into it?)

Unfortunately, the install direct from the internet (as opposed to our
mirror) failed in the same way, though a different package, as you can
see above (_update-info-dir-00227-1).

I also could not remove the C:\cygwin directory and a few files under
it (var/log/sshd.log, I think), and nor could I take ownership.  In
fact no one could delete that except by running checkdisk to schedule a
file system check for the NTFS C: partition, and rebooting.  After
that, I was able to delete c:\cygwin via Windows Explorer (though WE
crashed immediately after.  Sigh.)

I tried again installing from our mirror, and it failed with an
incomplete download message on TeXmacs-1.0.3.3-1.  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   262825268800 Apr 26 01:03 setup.exe
-rwxrwxr-x  1 322674