delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/22/06:12:37

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 22 Jan 2009 12:12:11 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5 / 1.7 setup.exe entanglement?
Message-ID: <20090122111211.GA17948@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <49779B20 DOT 9060905 AT etr-usa DOT com>
MIME-Version: 1.0
In-Reply-To: <49779B20.9060905@etr-usa.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jan 21 15:01, Warren Young wrote:
> I got a new machine at work a few weeks ago, and decided to install Cygwin 
> 1.7 on it, and not even mess with 1.5.  Can't test what you don't use, 
> right?
>
> For reasons that aren't important here, today I decided I needed a copy of 
> 1.5 as well.  This means I have the reverse of the recommended setup, which 
> is having 1.5 installed in c:\cygwin, and 1.7 elsewhere.  1.7 on my machine 
> is in c:\cygwin, and 1.5 is in c:\cygwin-1.5.
>
> The installation of 1.5 failed in several ways.  The way it failed makes me 
> wonder if some part of the setup process was erroneously referring to stuff 
> in c:\cygwin instead of c:\cygwin-1.5.

Yes, the reason is that setup looks into c:\cygwin by default and if it
finds setup files there, it will use them, even when you change the
path.  That doesn't occur in the new setup-1.7.exe, but that doesn't
help with installing 1.5 after 1.7, of course.

What you should do in this case, basically:

- Stop all 1.7 processes.
- Rename C:\cygwin to C:\cygwin-foo
- Start setup for 1.5
- change the installation path to c:\cygwin-1.5
- After the installation, rename C:\cygwin-foo back to C:\cygwin


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019