This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: /etc/profile error


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]