delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/26/05:31:59

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <9e3fd2c80805260231n25e43afw7a84c054fe53efc0@mail.gmail.com>
Date: Mon, 26 May 2008 11:31:17 +0200
From: "Robert Klemme" <shortcutter AT googlemail DOT com>
To: cygwin AT cygwin DOT com
Subject: Broken Update?
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019