X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Mark Rinfret" Subject: Re: Broken Update? Date: Mon, 26 May 2008 07:24:23 -0400 Lines: 60 Message-ID: References: <9e3fd2c80805260231n25e43afw7a84c054fe53efc0 AT mail DOT gmail DOT com> X-IsSubscribed: yes 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 Hi, Robert. I too just did an update and saw the "Huh?" message. However, my passwd file appears to have gone unmolested. Thanks to your helpful post (/etc/fstab), I was able to recover, but that was definitely an unpleasant surprise. I also will be interested to hear what is considered the proper solution. Thanks, Mark "Robert Klemme" wrote in message news:9e3fd2c80805260231n25e43afw7a84c054fe53efc0 AT mail DOT gmail DOT com... > Hi, > > after doing an update a few minutes ago, some files in /etc are gone. > When I start the cygwin shell, I see this: > > Huh? No /etc/fstab file? Using default root and cygdrive prefix... > bash: /usr/bin/tr: No such file or directory > bash: /usr/bin/sed: No such file or directory > Your group is currently "mkpasswd". This indicates that > the /etc/passwd (and possibly /etc/group) files should be rebuilt. > See the man pages for mkpasswd and mkgroup then, for example, run > mkpasswd -l [-d] > /etc/passwd > mkgroup -l [-d] > /etc/group > Note that the -d switch is necessary for domain users. > bash login... > 10:32:34 ~$ > > 10:56:28 ~$ ls -l /usr/bin > total 0 > 10:56:33 ~$ ls -ld /usr/bin > drwxrwx---+ 1 RKlemme Users 0 Jul 10 2007 /usr/bin/ > 10:56:42 ~$ mount > C:\cygwin on / type ntfs (binmode,system) > c: on /cygdrive/c type ntfs (binmode,noumount,user) > i: on /cygdrive/i type ntfs (binmode,noumount,user) > n: on /cygdrive/n type ntfs (binmode,noumount,user) > t: on /cygdrive/t type ntfs (binmode,noumount,user) > u: on /cygdrive/u type ntfs (binmode,noumount,user) > w: on /cygdrive/w type ntfs (binmode,noumount,user) > x: on /cygdrive/x type ntfs (binmode,noumount,user) > y: on /cygdrive/y type ntfs (binmode,noumount,user) > z: on /cygdrive/z type ntfs (binmode,noumount,user) > 10:57:59 ~$ > > I was able to fix it with this /etc/fstab > > c:/cygwin / system binary 0 0 > c:/cygwin/bin /usr/bin system binary 0 0 > c:/cygwin/lib /usr/lib system binary 0 0 > > But I am not sure whether this is the proper solution. Any hints? > > Kind regards > > robert > -- 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/