delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/26/11:32:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A1C0ACB.1030001@cygwin.com>
Date: Tue, 26 May 2009 11:29:15 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Upgrade to cygwin 1.7 seemed to trash bash profile, path
References: <bfc52fe00905242054n601cfbbfsca4eb8079b7d08bc AT mail DOT gmail DOT com>
In-Reply-To: <bfc52fe00905242054n601cfbbfsca4eb8079b7d08bc@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Aaron Humphrey wrote:
> I've been having some intermittent problems lately with screen
> hanging, when it hasn't before.  This is on my home computer, which
> was still running 1.5.25, and I've been using screen on 1.7 without
> event on my work computer, so I decided to upgrade at home.  I
> downloaded setup-1.7, ran it, and went away.  When I came back, it
> seemed to have finished successfully.
> 
> Just now I tried to run it for the first time, clicking on the cygwin
> icon to run cygwin.bat as usual.  What I get is a window with
> "bash-3.2$" at the top.  This is not my usual prompt.  I immediately
> noticed, too, that PATH was not set, or rather that it didn't include
> any Cygwin paths, only Windows.  A look at my home directory showed no
> .profile, .bash_profile, .bashrc, or anything.
> 
> I've been lurking on this list for long enough that I feel like I
> should know what happened, but I confess I don't.  Is it a problem
> with the new /etc/fstab?  Was it something trashing my startup files?
> I've checked for undone postinstall scripts and found none; I tried
> rerunning setup-1.7, then rerunning it and reinstalling base-files,
> but to no avail.  Of course, I have no convenient backups of my bash
> setup files or anything.
> 
> Cygcheck -svr output attached.  Let me know if setup.log.full would
> come in handy or anything.

You seem to be missing '/usr/bin' and '/usr/lib'.  There was talk about
some of this changing though in my up-to-date installation, I still have
them so I'm not sure where this stands.  In any case, it suggests that
you may want to try add the following to your '/etc/fstab' file:

c:/cygwin/lib /usr/lib some_fs binary 0 0
c:/cygwin/bin /usr/bin some_fs binary 0 0

If that doesn't work, maybe just try rerunning 'setup.exe' and select
"Reinstall" for the "All" category.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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