www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/16/14:15:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Tue, 16 Nov 2004 14:14:46 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Harig, Mark" <maharig AT idirect DOT net>
cc: kynn AT panix DOT com, cygwin AT cygwin DOT com
Subject: RE: /etc/profile error
In-Reply-To: <BADF3C947A1BD54FBA75C70C241B0B9E01459BCB@ex02.svr.idirect.net>
Message-ID: <Pine.GSO.4.61.0411161401130.19777@slinky.cs.nyu.edu>
References: <BADF3C947A1BD54FBA75C70C241B0B9E01459BCB AT ex02 DOT svr DOT idirect DOT net>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Tue, 16 Nov 2004, Harig, Mark wrote:

> >    <http://cygwin.com/ml/cygwin-apps/2004-11/msg00106.html>
> >
> >    Look for a very current mirror and update.
> >
> > Sorry for the very ignorant question, but what is one supposed to do
> > with base-files-3.1-4.tar.bz2?  Up to now I've been doing all
> > installations with the Cygwin installer application I downloaded from
> > the Cygwin site.  Also, I customized this installation substantially.
> >
> > kj
>
> Simply let 'setup.exe' install it as you have been.
>
> The next update to base-files (version 3.1-4) fixes
> the problem that you have been seeing in /etc/profile.
> The installer (setup.exe) will install a new copy
> of /etc/profile.

Unfortunately, it's not that simple.  The base-files preremove script will
compare the current version of /etc/profile with the default version, and
will only remove the current version if it's identical to the default.
If the current version is corrupted, it will be treated as customized and
left alone.

So, to the OP: once you upgrade, see if /etc/profile is the same as
/etc/defaults/etc/profile, and if it isn't, copy the latter over the
former (that is, if you really didn't have your own customizations).  If
you did have your own customizations of /etc/profile, I suggest you try to
transfer them over to the new version.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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