X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: [ANNOUNCEMENT] Updated: unison2.13, unison2.17, unison2.27 Date: Fri, 16 Nov 2007 19:20:30 +0000 (UTC) Lines: 61 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > 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 can't reproduce this problem on my host: $ alternatives --display unison unison - status is auto. link currently points to /usr/bin/unison-2.27 /usr/bin/unison-2.13 - priority 2013 /usr/bin/unison-2.17 - priority 2017 /usr/bin/unison-2.27 - priority 2027 Current `best' version is /usr/bin/unison-2.27. $ cat /var/lib/alternatives/unison auto /usr/bin/unison /usr/bin/unison-2.13 2013 /usr/bin/unison-2.17 2017 /usr/bin/unison-2.27 2027 > 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. I'm not sure. At this point I recommend that you remove and reinstall all of the unison alternatives on your host, as follows: rm /var/lib/alternatives/unison for f in /etc/postinstall/unison* ; do $f ; done and see if that clears up the problem. -- 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/