delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/15/16:22:21

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andy Moreton <andy DOT moreton AT artimi DOT com>
Subject: Re: [ANNOUNCEMENT] Updated: unison2.13, unison2.17, unison2.27
Date: Thu, 15 Nov 2007 21:21:25 +0000 (UTC)
Lines: 38
Message-ID: <Xns99E9D941BD770ajm@80.91.229.13>
References: <announce DOT OF9FFCF253 DOT FBD18126-ON85257394 DOT 0041D4DE-85257394 DOT 0041A159 AT epamail DOT epa DOT gov>
User-Agent: Xnews/2005.10.18
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 Thu, 15 Nov 2007 12:01:29 GMT,  Andrew E. Schulman wrote:

> Changes in these releases:
> - Fixed two bugs in the postinstall scripts.  One of them caused
> installation to fail in some cases.  Thanks to Andy Moreton for pointing
> these out.

Thanks for updating this, but there still seem to be minor problems. The man page for alternatives
(8) does not seem to specify the allowed range for priority values, but using 2017 for unison 2.17 
and 2027 for unison 2.27 seem to upset it:

ajm> /usr/sbin/alternatives.exe --display unison
path to alternate expected in /var/lib/alternatives/unison
ajm> 

Editing /var/lib/alternatives/unison as follows seems to fix things:

ajm> cat /var/lib/alternatives/unison
auto
/usr/bin/unison

/usr/bin/unison-2.17
17
/usr/bin/unison-2.27
27
ajm> /usr/sbin/alternatives.exe --display unison
unison - status is auto.
 link currently points to /usr/bin/unison-2.27
/usr/bin/unison-2.17 - priority 17
/usr/bin/unison-2.27 - priority 27
Current `best' version is /usr/bin/unison-2.27.
ajm ~> 

I also found a mixture of names - the new versions install "unison" symlinks, but the older versions 
installed "unison.exe" symlinks. Some of this may have been my hand edits to fix things up though. 

    AndyM



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