UPS HINTS

Fermi RedHat Linux 5.n vs 6.n

  1. Making sure you get Linux+2 (FRH5.2) rather than Linux+2.2 (FRH6.1) version of Fermilab products:
       upd install -H Linux+2.0 <product> <version>
    
    tells ups to ignore what the OS tells it and pretend it has a version of the kernal that is compatible with FRH5.2.
  2. Restoring an old version of ups when you've hosed the "current" version:
    1) cd to the old ups product directory
    2) set UPS_DIR to the current directory
         UPS_DIR=`pwd`; export UPS_DIR
       or
         setenv UPS_DIR $cwd
    3) source the ups/setup.{csh,sh} file
         . ups/setup.sh
       or
         source ups/setup.csh
    
    You now have the old version setup, and you can do the ups declare
    to make the old version current again.
    

Alan Jonckheere
Last modified: Thu Mar 23 17:30:09 CST 2000