www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org> |
Subject: | Re: base-files problem |
Date: | Thu, 16 Feb 2012 15:02:16 -0600 |
Lines: | 50 |
Message-ID: | <jhjqsp$c7u$1@dough.gmane.org> |
References: | <jhjhh3$tu3$1 AT dough DOT gmane DOT org> <20120216204156 DOT GB9451 AT jethro DOT local DOT lan> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0 |
In-Reply-To: | <20120216204156.GB9451@jethro.local.lan> |
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 2/16/2012 2:41 PM, David Sastre Medina wrote: > I have just updated a box from base-files-4.0-6 to 4.0-9 and > everything worked as expected. I tried both with locally modified > and unmodified skel files. > > $ grep base-files /etc/defaults/etc/skel/.* > /etc/defaults/etc/skel/.bash_profile:# base-files version 4.0-9 > /etc/defaults/etc/skel/.bashrc:# base-files version 4.0-9 > /etc/defaults/etc/skel/.inputrc:# base-files version 4.0-9 > /etc/defaults/etc/skel/.profile:# base-files version 4.0-9 > > The process of checking wether[SIC] the files have to be replaced > has not changed since 4.0-4 (march 2011) at least. And IIRC, it was > barely the same in the 3.x version as well. > > If reinstalling fails as well, does an error get printed? Its not /etc/defaults/etc/... but /etc/skel/.*, and the files where not deleted, just changed in a way I no longer had a PS1. I also lost PROMPT_COMMAND which also showed the current directory. Its possible that I had changed them so the problem is really that those files where replaced, probably my mistake if I had modified the wrong files (I thought the /etc/skel where the ones I should modify, and not touch the /etc/defaults/ files). When I did the update there where no Cygwin processes running, so I did not have any message about stopping anything and retrying, or needing reboot. But another strange thing was that a new terminal (with a login shell) did not put me at my $HOME directory, until later after I re-installed. The log doesn't show any erros: > $ tail /var/log/setup.log > 2012/02/15 19:31:43 Downloaded C:\Cygwin\tmp/http%3a%2f%2fsourceware.mirrors.tds.net%2fpub%2fsourceware.org%2fcygwin%2f/release/base-files/base-files-4.0-9.tar.bz2 > 2012/02/15 19:31:47 Downloaded C:\Cygwin\tmp/http%3a%2f%2fsourceware.mirrors.tds.net%2fpub%2fsourceware.org%2fcygwin%2f/release/git/git-1.7.9-1.tar.bz2 > 2012/02/15 19:31:49 Extracting from file://C:\Cygwin\tmp/http%3a%2f%2fsourceware.mirrors.tds.net%2fpub%2fsourceware.org%2fcygwin%2f/release/base-files/base-files-4.0-9.tar.bz2 > 2012/02/15 19:31:49 Extracting from file://C:\Cygwin\tmp/http%3a%2f%2fsourceware.mirrors.tds.net%2fpub%2fsourceware.org%2fcygwin%2f/release/git/git-1.7.9-1.tar.bz2 > 2012/02/15 19:31:52 Changing gid back to original > 2012/02/15 19:31:52 running: C:\Cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/base-files-profile.sh > 2012/02/15 19:31:54 running: C:\Cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/base-files-mketc.sh > 2012/02/15 19:31:55 Changing gid to Administrators > 2012/02/15 19:32:00 note: Installation Complete > 2012/02/15 19:32:00 Ending cygwin install And there are no .new files left, or post-install scripts with a name not ending in .done . -- René Berber -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |