Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 3 Sep 2004 11:33:58 +1000 (EST) From: luke DOT kendall AT cisra DOT canon DOT com DOT au Subject: Re: Setup problem: incomplete nonexistent package To: cygwin AT cygwin DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Message-Id: <20040903013358.9E1FF8454B@pessard.research.canon.com.au> 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 950635063cfccccc495c6e03554a44de file digest is 950635063cfccccc495c6e03554a44de 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 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 > 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. 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/