Upgrading a Fermilab Cygwin32 installation

Assuming you have an installation of cygwin32 with ups and upd installed, you can install a new version of cygwin32 with upd.

Special note for upgrading cygwin32 from B19* to v1_*

For upgrades from the Beta 19 to versio 1.x you need to first be certain to:
  1. have ups v4_5_3 or later installed as current, via
    bash$ setup upd
    bash$ upd install ups -G -c
    bash$ setup ups
    
  2. do the upd install and ups desktop as described below,
  3. Start a cygwin session from the Cygwin v1_0.bat file icon, which will give you an "Unable to initialize the UPSII environment" error. In that window you need to do a
     bash$ chmod +x /usr/local/etc/*
     bash$ exit
     
    And the next time you start a Cygwin v1_0 session it should work.

Installing the newer version

Installing the software is done with upd install, as follows:

bash$ upd install cygwin32 -G -c
This will install the latest current version of cygwin32 as current on your system. If you want to install some other version of cygwin32 than the latest you can also specify a version number:
bash$ upd install cygwin32 B19p1a
[you can omit the "-G -c" if you do not want it made current].

Putting an icon on your desktop

In versions B20p1c and later, you can simply:
bash$ ups desktop cygwin32
(or
bash$ ups desktop cygwin32 B20p1b
to specify a particular version) to get the start script for Cygwin copied to your desktop.

In older versions, you may need browse over to the $CYGWIN32_DIR directory with your desktop tools, and copy the cygwin.bat file out onto the desktop by hand.