X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B3ABEF7.4010309@cygwin.com> Date: Tue, 29 Dec 2009 21:46:15 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Defeated by "alternatives": unison References: <83zl515h66 DOT fsf AT torus DOT sehlabs DOT com> In-Reply-To: <83zl515h66.fsf@torus.sehlabs.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 12/29/2009 09:28 PM, Steven E. Harris wrote: > Since updating my Cygwin installation to version 1.7, I can no longer > run "unison" from the command line. Unison uses the "alternatives" > facility to select among multiple installed versions. The symbolic links > all look to be set up properly, but the program can't be invoked in the > normal ways. > > I've tried this same sequence of commands using the shells zsh, bash, > and ash, and all fail in the same way. > > Witness: > > ,---- > | % which unison > | unison not found > | > | % /usr/sbin/alternatives --display unison > | unison - status is manual. > | link currently points to /usr/bin/unison-2.27 > | /usr/bin/unison-2.32 - priority 2032 > | /usr/bin/unison-2.27 - priority 2027 > | Current `best' version is /usr/bin/unison-2.32. > | > | % ls -l /usr/bin/unison* > | -rwxr-xr-x 1 seh root 1076224 2009-10-01 11:27 /usr/bin/unison-2.27.exe > | -rwxr-xr-x 1 seh root 1123840 2009-10-01 11:31 /usr/bin/unison-2.32.exe > | lrwxrwxrwx 1 seh None 28 2005-03-24 22:09 /usr/bin/unison.exe -> > | /etc/alternatives/unison.exe > | > | torus:~% /usr/bin/unison > | zsh: no such file or directory: /usr/bin/unison > | > | % /usr/bin/unison.exe > | zsh: no such file or directory: /usr/bin/unison.exe > | > | % /etc/alternatives/unison > | Usage: unison [options] > | or unison root1 root2 [options] > | or unison profilename [options] > | > | For a list of options, type "unison -help". > | For a tutorial on basic usage, type "unison -doc tutorial". > | For other documentation, type "unison -doc topics". > `---- > > I used to just be able to type "unison" at the command prompt and invoke > it like any other program. Is this a permissions problem? I have found > that other programs using the "alternatives" facility work as > expected. Why is "unison" different? WJFFM. Try looking at your file permissions to see if you can find anything revealing. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple