X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received-SPF: pass (google.com: domain of oyunbilig AT gmail DOT com designates 10.229.136.77 as permitted sender) client-ip=10.229.136.77; Authentication-Results: mr.google.com; spf=pass (google.com: domain of oyunbilig AT gmail DOT com designates 10.229.136.77 as permitted sender) smtp.mail=oyunbilig AT gmail DOT com; dkim=pass header.i=oyunbilig AT gmail DOT com MIME-Version: 1.0 Date: Fri, 24 Feb 2012 16:48:29 -0500 Message-ID: Subject: Re: Problem after upgrading from 1.7.9 to 1.7.10-1 - system commands not found From: Bilig Ordos To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 David, Thank you for your prompt reply. Since I also don't have "chmod" and "chown" commands, I tried to set the permission on those file in "C:\cygwin\etc\defaults\etc" (I assume that's the location for "/etc") using Windows file properties dialog box - I went to the "Security" and gave "full control" to user "Everyone". I don't have a windows user or group called "root" ... After that I rebooted and ran Mintty and still no luck ... What should I try next? Thanks, Bilig On Fri, Feb 24, 2012 at 03:44:46PM -0500, Bilig Ordos wrote: > I've been happy with 1.7.9, but couldn't resist my curiosity so ran > the 1.7.10-1 setup today. During the process it complained that Cygwin > is running and offered me options to either stop the Cygwin and try > again, or continue and reboot after it is done. So I selected to > continue and then rebooted. > > But when I launched the Cywin console/Mintty, I did not have most of > the system commands, such as "ls" and "which", but commands like "cd" > and "alias" are there. > > I tried running the setup again (made sure all the packages I used to > have are selected) but did not help. rebooted again and it is the > same. > > How can I recover from this? I hate to reinstall from scratch as doing > that will make me lose a lot of customization, such as ssh keys, etc. > Please see below for examples and logs. Don't panic. Your keys are still there. Also, please don't put a log into the body of the email. It's a better idea to attach it. > Problem reports: http://cygwin.com/problems.html Your problem could have been caused by incorrect permissions in the latest base-files' package contents. > 2012/02/24 14:33:39DownloadedC:\Users\boyun\Downloads/http%3a%2f%2fcygwin.mirrors.hoobly.com%2f/release/base-files/base-files-4.0-9.tar.bz2 > 2012/02/24 14:34:07Running preremove script for base-files > 2012/02/24 14:34:07running: C:\cygwin\bin\bash.exe --norc --noprofile > /etc/preremove/base-files.sh > 2012/02/24 14:34:10Uninstalling base-files > 2012/02/24 14:34:11Extracting from > file://C:\Users\boyun\Downloads/http%3a%2f%2fcygwin.mirrors.hoobly.com%2f/release/base-files/base-files-4.0-9.tar.bz2 > 2012/02/24 14:35:10running: C:\cygwin\bin\bash.exe --norc > --noprofile/etc/postinstall/base-files-profile.sh > 2012/02/24 14:35:14running: C:\cygwin\bin\bash.exe --norc > --noprofile/etc/postinstall/base-files-mketc.sh Please check and correct perms if necessary in: /etc/bash.bash_logout /etc/profile.d /etc/profile.d/tzset.sh /etc/profile.d/tzset.csh /etc/profile.d/lang.csh /etc/profile.d/lang.sh /etc/bash.bashrc /etc/skel/.inputrc /etc/skel/.profile /etc/skel/.bashrc /etc/skel/.bash_profile /etc/profile All of them should have owner/group root.root and 644 perms (rw-r--r--) Afterwards, close all cygwin apps and restart a mintty session. Please report back if that solved your issue. -- Bilig Oyun (Oyunbilig) oyunbilig AT gmail DOT com -- 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