Omgili, forum search, forums search, search forums, discussion search,discussions search, search discussions, board search, boards search, search boards
  Advanced Search

setup-1.7.exe replace on boot. Was it deprecated?

On Sun, 08 Nov 2009 00:47:25 +1100, Shaddy Baddah <...@tpg.com.au

Hi,

I was wondering if the replace on boot feature in setup was deprecated
with setup-1.7.exe? I am trying to do an install via the following
command-line:

/cygdrive/d/Temp/setup-1.7 -L -r /cygdrive/c/cygwin-1.7 -l
/cygdrive/d/cygwin-1.7-downloads -P rsync -q

as an Administrator user on Windows XP (so no privilege elevation
issues, as far as I am aware). I am getting the following errors:

Installing file cygfile:///usr/bin/cygwin1.dll
io_stream_cygfile: fopen(/usr/bin/cygwin1.dll) failed 13 Permission denied
Failed to open cygfile:///usr/bin/cygwin1.dll for writing.
Not replacing in-use file cygfile:///usr/bin/cygwin1.dll

Now according to the command line options:

-r --no-replaceonreboot Disable replacing in-use files
on next
reboot.

replace on boot can be turned "off", if I had specified -r, which I
hadn't. That suggests that it is "on" by default. Shouldn't setup be
writing to a .replace, or such, suffixed file for replace on boot?

Regards,
Shaddy

--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple



On Sat, 7 Nov 2009 17:55:23 -0500, Robert Pendell <...@elite-systems.org

Actually you are if you look at your command line again.

Try this version of it.

/cygdrive/d/Temp/setup-1.7 -L /cygdrive/c/cygwin-1.7 -l
/cygdrive/d/cygwin-1.7-downloads -P rsync -q

Note the lacking -r in this version.
Robert Pendell
shin...@elite-systems.org
CAcert Assurer
"A perfect world is one of chaos."

--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

On Sun, 08 Nov 2009 10:37:00 +1100, Shaddy Baddah <...@tpg.com.au

Hi,

<snip<snipOuch. How very embarrassing. That's what happens when you CTRL-r to a
command-line and assume things about it (I normally build the
command-line from the ground up, with no superfluous options).

Thanks Robert. Sorry for the carelessness, list.

Regards,
Shaddy

--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

On Sun, 08 Nov 2009 11:10:02 +1100, Shaddy Baddah <...@tpg.com.au

Hi again,

Ok, now I see what's happened. The command line you have suggested
should work (I haven't tried it owing to not being able to access this
system now, and by working around the issue anyway)... but the
/cygdrive/c/cygwin-1.7-1 will be superfluous to the command line. In
fact, it was the same for my command line, because I actually mean -R to
specify that root, instead of the lower-case -r that I had used. I guess
setup works out (uses the last installed to root, perhaps) the intended
Cygwin installation dir if it is not specified (correctly) on command line.

Thanks again,
Shaddy

--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple