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: Updating cygwin and X


From: Richard Foulk; Sunday, March 18, 2007 2:36 AM
>
> What is the proper way to install everything and then update it from
time to time?
>
> The setup.exe program says it's to be used for installs and updates
but only seems to know how to install, reinstall or uninstall.  Nothing
specific to updates, unless I missed it.
>
> Problem is that every few `install's, setup hoses X so it won't run.
> Is there an easy fix for this?  Or best not to update?

If you just want to update manually, just keep hitting "Next>".  If you
want to see what is going to be updated, when you get to the "Select
Packages" screen, change the "View" to "Partial".  See
http://cygwin.com/cygwin-ug-net/setup-net.html , especially the 3rd
paragraph at "Choosing Packages"
http://cygwin.com/cygwin-ug-net/setup-net.html#id4725676

To automate Setup to update, see
http://cygwin.com/faq/faq.setup.html#faq.setup.automated ,
http://cygwin.com/faq/faq.setup.html#faq.setup.cli , and
http://sources.redhat.com/ml/cygwin-apps/2003-03/msg00526.html .  For
example, I use the following, run from a cmd.exe batch file in my
Startup folder.

start /wait h:\cygwin\arc\setup.exe -R c:\cygwin -n -q -s
ftp://mirrors.kernel.org -l h:\cygwin\arc 

(I use "start /wait" because I want to be sure that everything is
updated before I run any cygwin scripts.)

- Barry
  Disclaimer:  Statements made herein are not made on behalf of NIAID.

--
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]