www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/29/13:22:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_83,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4A1FFC47.1080606@cygwin.com>
References: <bfc52fe00905242054n601cfbbfsca4eb8079b7d08bc AT mail DOT gmail DOT com> <4A1C0ACB DOT 1030001 AT cygwin DOT com> <COL102-W51E570990856277D297A8DB5520 AT phx DOT gbl> <bfc52fe00905272026v441245b7oacc34e46de7cb1ae AT mail DOT gmail DOT com> <COL102-W5830F84488C26D8B25EDB7B5500 AT phx DOT gbl> <bfc52fe00905281437g124c1798p2689cd5a47b9806c AT mail DOT gmail DOT com> <20090528230354 DOT GD25043 AT ednor DOT casa DOT cgf DOT cx> <bfc52fe00905282159r6799a880x7a532f0d9e96ddcd AT mail DOT gmail DOT com> <4A1FFC47 DOT 1080606 AT cygwin DOT com>
Date: Fri, 29 May 2009 11:21:44 -0600
Message-ID: <bfc52fe00905291021m3806ebbenf52fea6a4291a742@mail.gmail.com>
Subject: Re: Upgrade to cygwin 1.7 seemed to trash bash profile, path
From: Aaron Humphrey <alfvaen AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

On Fri, May 29, 2009 at 9:16 AM, Larry Hall wrote:
> Aaron Humphrey wrote:
>>
>> So, in the end, reinstalling didn't do much. =A0And I got a bunch of
>> "Cannot open (null) for reading" (error not guaranteed to be
>> accurate), usually when it was trying to install gzipped man pages or
>> something. =A0(Times like these I wonder why I persist in downloading
>> every cygwin package on the mirror when I use only a fraction of them.
>> =A0Compulsive behaviour, I guess.)
>
> Perhaps there is something interesting to be found in setup.log.full.

Could be; I didn't have to a chance to look at it.

> My impression is that you were installing from the Internet rather
> than downloading and then installing. =A0Is that right?

I was, and I had chosen a different mirror last time I installed so it
had to re-download more than it really needed to.  I did also get the
message that the download had not completed properly, but when I asked
it to rerun it only downloaded two packages and then got the same
error.

>> In any case, I was able to fix the problem by recreating /etc/profile
>> from /etc/skel. =A0Why /etc/profile got trashed by the upgrade to 1.7, I
>> don't know, but apparently it did. =A0So now I once again have PATH
>> initialized properly and my bash prompt looks normal.

I think I meant /etc/defaults here, not /etc/skel.

> Was there an '/etc/profile' file in any form before you recreated it?

No, there wasn't.  I don't remember if I had ever modified it before
it got trashed, either.

--
 --Alfvaen (Web page: http://www.telusplanet.net/public/alfvaen/ )
 Song In My Head--Kid Creole & The Coconuts:The Love We Have
 Current Book--Carol Berg:Transformation
 Constant change is here to stay.

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