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: <4A1C0ACB DOT 1030001 AT cygwin DOT com> <20090528230354 DOT GD25043 AT ednor DOT casa DOT cgf DOT cx> <4A1FFC47 DOT 1080606 AT cygwin DOT com> Date: Fri, 29 May 2009 11:21:44 -0600 Message-ID: Subject: Re: Upgrade to cygwin 1.7 seemed to trash bash profile, path From: Aaron Humphrey To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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/