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]

Re: Setup 2.693 unable to replace files through reboot

I'll answer two of Dave's postings, I hope this also provides answers to CGF's

Am 06.04.2010 21:35, schrieb Dave Korn:
> On 06/04/2010 17:23, Matthias Andree wrote:
>> 4. launch setup.exe (version 2.693)
>   As administrator, or as ordinary user?

As Administrator (in fact that's a property of setup.exe).

>> What's up? Can I help to debug this?
>   Take a look in /var/log/{setup.log,setup.log.full}; there should be error
> messages if it failed to schedule the replace on reboot that might give us a clue.

No strikingly obvious failures, quoting setup.log.full (manually shortened a bit
where there were too many successive lines that differed just by file/path
names, marked by ellipsis).

I find the backslash/fwd slash mixes around C:\cygwin\bin euhm, "interesting",
for instance here: "2010/04/06 19:14:11 Scheduled reboot replacement of file
C:\cygwin\bin/cygwin1.dll with C:\cygwin\bin/".

Dave later asked:

>   Hmm.  The docs suggest that the replace-on-reboot functionality
> a) can't work on network drives
> b) needs write access to the registry key:
> "HKLM\SYSTEM\CurrentControlSet\Control\Session
> Manager\PendingFileRenameOperations"
> c) may fail if "the System volume is a basic volume [ ... and ... ] the
> destination drive or the source drive is located on a dynamic volume"
>   Any of those apply to you guys?

(a) no, local C:\ drive

(b) no such key exists. FileRenameOperations is an unnamed empty REG_SZ item.

(c) no dynamic volumes involved, everything is in the basic volume C:\ which is
also the system volume.

Nothing in eventvwr.exe is standing out either.

Now the log, hope it helps. Let me know if you need more information;
cygcheck -srhv information available on request.

> 2010/04/06 19:13:38 Starting cygwin install, version 2.693
> 2010/04/06 19:13:38 io_stream_cygfile: fopen(/etc/setup/net-proxy-host) failed 2 No such file or directory
> 2010/04/06 19:13:38 io_stream_cygfile: fopen(/etc/setup/net-proxy-port) failed 2 No such file or directory
> 2010/04/06 19:13:38 io_stream_cygfile: fopen(/etc/setup/extrakeys) failed 2 No such file or directory
> 2010/04/06 19:13:38 Current Directory: C:\cygwin\usr\src
> 2010/04/06 19:13:38 User has backup/restore rights
> 2010/04/06 19:13:38 Changing gid to Administrators
> 2010/04/06 19:13:38 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
> 2010/04/06 19:13:40 source: network install
> 2010/04/06 19:13:41 root: C:\cygwin binary system
> 2010/04/06 19:13:41 Selected local directory: C:\cygwin\usr\src
> 2010/04/06 19:13:42 net: Direct
> Loaded cached mirror list
> get_url_to_membuf
> getUrlToStream
> 2010/04/06 19:13:44 site:
> get_url_to_membuf
> getUrlToStream
> get_url_to_membuf
> getUrlToStream
> Checking MD5 for file://C:\cygwin\usr\src/
> MD5 verified OK: file://C:\cygwin\usr\src/ 4e8072d8f7ff578a6aa272fe3b02c427
> Checking MD5 for file://C:\cygwin\usr\src/
> MD5 verified OK: file://C:\cygwin\usr\src/ c616cffee0f344c37fd4e045a7a87054
> 2010/04/06 19:14:03 Running preremove script for  cygwin
> 2010/04/06 19:14:03 Uninstalling cygwin
> unlink C:\cygwin/etc/defaults/etc/cygserver.conf
> unlink C:\cygwin\bin/cygcheck.exe
> rmdir C:\cygwin/usr/include/asm
> rmdir C:\cygwin/usr/include/arpa
> 2010/04/06 19:14:03 Extracting from file://C:\cygwin\usr\src/
> Installing file cygfile:///etc/
> Installing file cygfile:///etc/defaults/
> Installing file cygfile:///etc/defaults/etc/
> Installing file cygfile:///etc/defaults/etc/cygserver.conf
> Installing file cygfile:///usr/
> Installing file cygfile:///usr/bin/
> Installing file cygfile:///usr/bin/cygcheck.exe
> Installing file cygfile:///usr/bin/cyglsa-config
> Installing file cygfile:///usr/bin/cyglsa.dll
> Installing file cygfile:///usr/bin/cyglsa64.dll
> Installing file cygfile:///usr/bin/cygpath.exe
> Installing file cygfile:///usr/bin/cygserver-config
> Installing file cygfile:///usr/bin/cygwin-console-helper.exe
> Installing file cygfile:///usr/bin/cygwin1.dll
> 2010/04/06 19:14:03 io_stream_cygfile: fopen(/usr/bin/cygwin1.dll) failed 13 Permission denied
> 2010/04/06 19:14:03 Failed to open cygfile:///usr/bin/cygwin1.dll for writing.
> 2010/04/06 19:14:08 io_stream_cygfile: fopen(/usr/bin/cygwin1.dll) failed 13 Permission denied
> 2010/04/06 19:14:08 Failed to open cygfile:///usr/bin/cygwin1.dll for writing.
> 2010/04/06 19:14:11 Scheduled reboot replacement of file C:\cygwin\bin/cygwin1.dll with C:\cygwin\bin/
> Installing file cygfile:///usr/bin/dumper.exe
> Installing file cygfile:///usr/bin/getfacl.exe
> Installing file cygfile:///usr/lib/libg.a
> io_stream::mklink (cygfile:///usr/lib/libg.a->cygfile://libcygwin.a)
> Installing file cygfile:///usr/lib/libgmon.a
> Installing file cygfile:///usr/lib/textreadmode.o
> Installing file cygfile:///usr/sbin/
> Installing file cygfile:///usr/sbin/cygserver.exe
> 2010/04/06 19:14:11 io_stream_cygfile: fopen(/usr/sbin/cygserver.exe) failed 13 Permission denied
> 2010/04/06 19:14:11 Failed to open cygfile:///usr/sbin/cygserver.exe for writing.
> 2010/04/06 19:14:11 Scheduled reboot replacement of file C:\cygwin/usr/sbin/cygserver.exe with C:\cygwin/usr/sbin/
> Installing file cygfile:///usr/share/
> Installing file cygfile:///usr/share/doc/
> ...
> Installing file cygfile:///usr/share/man/man7/
> Installing file cygfile:///usr/share/man/man7/regex.7
> 2010/04/06 19:14:11 mbox note: In-use files have been replaced. You need to reboot as soon as possible to activate the new versions. Cygwin may operate incorrectly until you reboot.
> 2010/04/06 19:14:13 Changing gid back to original
> Visited: 433 nodes out of 1697 while creating dependency order.
> Dependency order of packages: base-cygwin base-passwd cygwin libgcc1 libiconv2 libintl8 alternatives alternatives libintl3 libgmp3 gawk tzcode coreutils terminfo0 libncurses8 texinfo _update-info-dir bash terminfo libncurses9 libreadline7 zlib0 libxml2 openssl aria2 libgpg-error0 libgcrypt11 libxslt crypt libbz2_1 libdb4.5 libexpat1 libgdbm4 libreadline6 libsqlite3_0 python e2fsprogs libpcre0 libssp0 perl zlib-devel zlib util-linux asciidoc libaspell15 aspell aspell-de aspell-dev aspell-doc aspell-en libsigsegv2 m4 autoconf2.1 autoconf2.5 autoconf automake1.4 automake1.5 automake1.6 automake1.7 automake1.8 automake1.9 liblzma1 diffutils gettext grep less xz automake1.10 automake1.11 automake findutils sed base-files bash-completion bc libisc50 libdns50 libisccfg50 libbind9_50 libisccc50 liblwres50 bind binutils bison libbz2-devel boost-devel libboost boost bsdiff libarchive2 bsdtar build-docbook-catalog bzip2 bzr cdargs run chere cocom colordiff colorgcc cpio cron editrigh
ts csih ctags libidn11 libssh2_1 libcurl4 curl cvs cvsps cvsutils diffstat file gzip libltdl7 libtool lndir make patch libpopt0 rsync tar unzip wget cygport cygrunsrv libstdc++6 cygutils groff man cygwin-doc dash libdbus1_3 libXau6 libXdmcp6 libxcb1 libX11_6 dbus tcltk expect dejagnu gamin libfam0 libglib2.0_0 desktop-file-utils sgml-common docbook-dsssl docbook-sgml30 docbook-sgml31 docbook-sgml40 docbook-sgml41 docbook-sgml42 docbook-sgml43 docbook-sgml44 docbook-sgml45 docbook-xsl docbook-xml-simple10 docbook-xml-simple11 docbook-xml412 docbook-xml42 docbook-xml43 docbook-xml44 docbook-xml45 docbook-xsl-ns doxygen ed epstool eventlog libdb4.2 libsasl2 minires libopenldap2_3_0 exim libexpat1-devel expat flawfinder flex w32api mingw-runtime gcc-mingw-core gcc-core gcc-mingw-g++ gcc-g++ libgomp1 libffi4 libmpfr1 gcc4-core libstdc++6-devel gcc4-g++ gcc4 libdbus-glib_1_2 libIDL2_0 libORBit2_0 libgconf2_4 GConf2 gdb libgettextpo0 gettext-devel libICE6 libSM6 libXt6 libfreetype6 
libfontconfig1 libXext6 libGL1 libglitz1 libpixman1_0 libpng12 libxcb-render0 libxcb-render-util0 libXrender1 libcairo2 libjpeg7 libjpeg62 libjasper1 libgs8 ghostscript-fonts-other ghostscript-fonts-std which ghostscript perl-Error git git-completion gitk git-gui libapr1 libpq5 libaprutil1 libneon27 libserf0_0 subversion subversion-perl git-svn hicolor-icon-theme gnome-icon-theme libgp11_0 libatk1.0_0 libjbig2 libtiff5 libgdk_pixbuf2.0_0 libXft2 libpango1.0_0 libXcomposite1 libXfixes3 libXcursor1 libXdamage1 libXi6 libXinerama1 libXrandr2 shared-mime-info libgtk2.0_0 libtasn1_3 libgcr0 gnome-keyring libusb-win32 gnupg libgcrypt liblzo2_2 libopencdk10 libgnutls26 gnutls liblzo2-devel libopencdk-devel libtasn1-devel gnutls-devel hdparm libfpx1 liblcms1 libImageMagick1 ImageMagick indent ipc-utils jbigkit xproto kbproto libwrap0 openssh keychain libncurses10 lftp libapr1-devel libdb4.2-devel libgdbm-devel libcharset1 libiconv libaprutil1-devel libaudio2 libaudiofile0 libidn-deve
l openssl-devel libssh2-devel libcurl-devel libEMF1 libesd0 libexpat0 libfontenc1 libgc libXpm4 libgd2 libglade2.0_0 libglib1.2_0 libglib1.2-devel libpcre-devel libglib2.0-devel libgpg-error libICE-devel libintl2 libjasper1.701_0 libjpeg-devel libkpathsea3 libkpathsea4 libwmf027 libMagick10 libungif4 libming0 libmng1 libncurses-devel libncurses7 libncursesw10 libncursesw-devel libnetpbm10 libopencdk8 libosp5 libostyle1 libXmu6 libXaw7 libplot2 libpng12-devel libXau-devel libXdmcp-devel libpthread-stubs libxcb-devel libX11-devel xextproto libXext-devel libSM-devel libXt-devel libXmuu1 libXmu-devel libXpm-devel libXaw6 libXaw-devel libplot-devel libplotter2 libplotter-devel libproj0 libpstoedit0 libqt3 libsasl2-devel libsigsegv0 libtasn1 libtiff4 libXaw3d7 libXp6 libXaw8 libxkbfile1 libXm2 libxmi0 libxmi-devel libxml2-devel login lua lynx lzop mingw-libbz2_1 mingw-libbz2-devel mingw-bzip2 mingw-liblzma1 mingw-liblzma-devel mingw-xz mingw-zlib0 mingw-zlib-devel mingw-zlib mintty
 mlcscope mmv ncurses ncursesw netcat netpbm odt2txt openjade OpenSP par patchutils pcre pdksh perl-Image-Magick perl-SGMLSpm pkg-config posh procmail procps psmisc pstoedit psutils pwgen qt3-devel-tools rats readpst rebase rpm rsnapshot screen sharutils shutdown smartmontools splint subversion-python sunrpc syslog-ng t1lib5 termcap tidy time transfig vim w3m wdiff wiggle wtf xauth xcursor-themes xfig-lib xfig xkbcomp xkeyboard-config xmlto xorg-server xpdf zip zsh 
> 2010/04/06 19:14:15 Changing gid to Administrators
> 2010/04/06 19:14:22 note: In-use files have been replaced. You need to reboot as soon as possible to activate the new versions. Cygwin may operate incorrectly until you reboot.
> 2010/04/06 19:14:22 Ending cygwin install

Matthias Andree

Problem reports:
Unsubscribe info:

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