delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/09/01:27:27

X-Spam-Check-By: sourceware.org
Message-ID: <1dbcac530603082227s29ed6b1ek6c37dc60643384e6@mail.gmail.com>
Date: Wed, 8 Mar 2006 22:27:12 -0800
From: "Timothy King" <tim AT timothyking DOT com>
To: "Larrie Carr" <larrie AT telus DOT net>
Subject: Re: Problems after upgrading to 1.5.19-4
Cc: cygwin AT cygwin DOT com
In-Reply-To: <052001c6433c$95f9c270$0201a8c0@homelarrie>
MIME-Version: 1.0
References: <20060309052204 DOT 3520 DOT qmail AT web30801 DOT mail DOT mud DOT yahoo DOT com> <052001c6433c$95f9c270$0201a8c0 AT homelarrie>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k296RMio012591

On 3/8/06, Larrie Carr <larrie AT telus DOT net> wrote:
> From: "Timothy King"
> > Last night, I grabbed an additional package using setup.exe.  It also
> > downloaded and installed the latest cygwin1.dll (1.5.19-4) and core
> > utilities.  I had not updated since early January.  While it was running
> > the post-install script, I received serveral errors along the lines of
> > "... could not be found in cygwin1.dll".  I rebooted, and now when I run
> > the bash shell, it drops me in /usr/bin and I have no Cygwin directories
> > in my path (/bin, /usr/bin).  Also, my term colors are now messed up.
> >
> > I did a diff on the /etc and /home directories which I had backed up, but
> > there were no differences in the config files.  I also did not find any
> > other cygwin1.dll's on my system. It is interesting to note I have the
> > cygwin sshd running on that machine, and when I ssh into it I have no
> > problems with paths or term colors.
> >
> > This is running on Windows XP Pro.  I know my way around Unix but I know
> > little about how the Cygwin shell runs on windows.  I tried adding the
> > Cygwin paths in my .bashrc, but now it barfs on the spaces in the Windows
> > directory names.
> >
> > Any help would be appreciated.
> >
> > Tim
>
> I had this problem a couple of months ago.  My problem was caused by the
> setup.exe being very helpful and (at least for me) defaulting to always
> installing the latest version of anything you already had installed.  And if
> you don't look at the right page, you don't know this is happening.
>
> So normally  I don't exit out of all my cygwin stuff when I am just
> installing a simple package (like octave).  But for that one moment,
> setup.exe decided that the cygwin dll, et al had to be touched.
>
> If you attempt to updated cygwin when cygwin (bash) is running, the
> cygwin.dll is locked.  So you can get updates to programs like rm that need
> that new cygwin.dll so everytime you run rm, you get this "missing blah
> ..could nto be found in cygwin1.dll".
>
> But you are hooped because setup.exe assumes that everything works (like rm)
> so if you try to reinstall with setup.exe, you are stuck.
>
> My fix was to exit out of all cygwin programs and in cmd, go looking for the
> cygwin1.dll (assuming c: drive)
>
> dir c:\cygwin\bin\cygwin1.dll*
>
> you should find a cygwin1.dll and a cygwin1.dll.new - move the cygwin1.dll
> to cygwin1.dll.old and cygwin1.dll.new to cygwin1.dll.  If you see any other
> .new files, you might want to do the same.
>
> Then I reinstalled using setup.exe all the cygwin tools again (core, etc) so
> that everything could run to completion successfully.
>
> If you don't find the cygwin1.dll.new file, then my problem was not your
> problem (MPNYP).
>
> Larrie.

Thanks for the response, but it doesn't seem to be the same problem. 
I do not have any .new files in c:\cygwin\bin.  I've tried
re-downloading and re-installing the the core (making sure I'm not
using the shell at the same time), but still have the problem.

Tim

--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019