setup-1.7 (2.627) and/or cygwin-1.7.0-49
Charles Wilson
cygwin@cwilson.fastmail.fm
Wed Jun 10 04:04:00 GMT 2009
Using the recently announced setup-1.7 update, and a local mirror in
which I added a "fake" package with requires: specifying all my favorite
packages, I again attempted a clean install. I did this to verify that
recent problems (e.g. with %HOME% set and pre-existing .dotfiles) no
longer cause issues.
They don't, so that's good. [[[ KEY POINT: the new setup-1.7 does, in
fact, suppress reading the user's ~/.dotfiles and avoids the errors that
those ~/.dotfiles can cause in new installations. Thanks, Corinna! ]]]
However, the installation was still a bit bolluxed -- mostly the
postinstall scripts still don't run correctly.
Windows XP Pro, domain member, %HOME% = H:\ which is an SMB share
mounted to that drive letter.
Here's a relevant snippet from setup.log.full. It
2009/06/09 14:36:48 Starting cygwin install, version 2.627
2009/06/09 14:36:48 Current Directory: C:\TEMP\cygwin-mirror
2009/06/09 14:36:48 User has backup/restore rights
2009/06/09 14:36:48 Changing gid to Administrators
...
2009/06/09 14:50:21 Extracting from
file://C:\TEMP\cygwin-mirror/release-2/zlib/zlib0/zlib0-1.2.3-10.tar.bz2
Installing file cygfile:///usr/bin/cygz.dll
2009/06/09 14:50:21 Changing gid back to original
Visited: 447 nodes out of 1422 while creating dependency order.
Dependency order of packages: aalib aalib aalib-devel alternatives
base-passwd base-cygwin cygwin libX11_6 libICE6 libSM6 [... snipped ...]
xsri xterm zip zlib-devel fake
2009/06/09 14:50:22 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/aalib.sh
2009/06/09 14:50:33 can't run /etc/postinstall/aalib.sh: No such file
[[[ uh, what? if the file doesn't exist, how did setup know to run it? ]]]
2009/06/09 14:50:33 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/passwd-grp.sh
/bin/chgrp: invalid group: `root'
/bin/chgrp: invalid group: `root'
2009/06/09 14:50:34 abnormal exit: exit code=1
[[[ so, I had no /etc/passwd or /etc/group, because THIS is the script
that's supposed to create them. Why is IT complaining about missing the
root group? Either go ahead and add that group to /etc/group, or don't
try to use it in a chgrp command... ]]]
2009/06/09 14:50:34 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/000-cygwin-post-install.sh
2009/06/09 14:50:35 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/00ash.sh
10 [main] bash 6256 read_flags: invalid fstab option - '0'
1540 [main] bash 6256 read_flags: invalid fstab option - '0'
[[[ Well now, that's just wierd. I had no pre-existing /etc/fstab or
/etc/fstab.d/$USER. So, if there are complaints about the contents of
the default-generated ones, then maybe /etc/postinstall/passwd-grp.sh is
not doing it correctly? ]]]
2009/06/09 14:50:36 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/autoconf.sh
9 [main] bash 7984 read_flags: invalid fstab option - '0'
1400 [main] bash 7984 read_flags: invalid fstab option - '0'
2009/06/09 14:50:36 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/m4.sh
9 [main] bash 11008 read_flags: invalid fstab option - '0'
1248 [main] bash 11008 read_flags: invalid fstab option - '0'
[... snipped ...]
2009/06/09 14:51:27 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/fake-bash.sh
9 [main] bash 3972 read_flags: invalid fstab option - '0'
1518 [main] bash 3972 read_flags: invalid fstab option - '0'
inner: hB /etc/postinstall/fake-bash.sh
shopt -u cdable_vars
shopt -u cdspell
...
shopt -u restricted_shell
shopt -u shift_verbose
shopt -s sourcepath
shopt -u xpg_echo
1
1
1
1
SHELLOPTS=braceexpand:hashall:interactive-comments
BASH_ENV=
ENV=
end inner
2009/06/09 14:51:27 Changing gid to Administrators
2009/06/09 14:51:29 note: Installation Complete
2009/06/09 14:51:29 Ending cygwin install
Versions involved:
base-passwd-3.0-1.tar.bz2
base-cygwin-1.4-1.tar.bz2
base-files-3.7-1.tar.bz2
cygwin-1.7.0-49.tar.bz2
ash-20040127-3.tar.bz2
bash-3.2.48-21.tar.bz2
coreutils-6.12-2.tar.bz2
Hmmm...waitaminute. That version number looks odd...yep, coreutils
ought to be 7.0-2. Maybe the others are scrogged too...
base-passwd should be 3.1-1
base-cygwin should be 2.0-1
base-files should be 3.8-3
Ok, never mind. Somehow I got a bunch of bad versions. No idea how --
but obviously these versions are NOT going to work with cygwin-1.7.0-XX
going forward. Maybe they should be removed from the release-2/ area?
Anyway, I'll "clean up" my mirror (e.g. keep only current versions) and
try again tomorrow.
--
Chuck
--
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/
More information about the Cygwin
mailing list