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]

Broken Update?


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/


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