Bug#308531: unison2.9.1 doesn't behave nicely with other Ubuntu's unison

2005-05-10 Thread Diwaker Gupta
Package: unison2.9.1
Version: 2.9.1-1
Severity: important


I have unison2.9.1 on one machine (say A), and I run Ubuntu Hoary on the other
machine (say B). I use unison to synchronize my configuration files across these
two hosts. When I run unison2.9.1 from machine A, everything works fine.
However, when I run unison from machine B, it fails saying that it
couldn't find a program named unison on machine A. 

Obviously this is because unison2.9.1 does not contain any binary named
unison. I wonder if its better to use alternatives to let the user pick
whichever version of unison they want to use.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-1-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages unison2.9.1 depends on:
ii  libc6   2.3.2.ds1-21 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#308531: unison2.9.1 doesn't behave nicely with other Ubuntu's unison

2005-05-10 Thread Sylvain LE GALL
Hello,

On Tue, May 10, 2005 at 12:29:51PM -0700, Diwaker Gupta wrote:
 Package: unison2.9.1
 Version: 2.9.1-1
 Severity: important
 
 
 I have unison2.9.1 on one machine (say A), and I run Ubuntu Hoary on the other
 machine (say B). I use unison to synchronize my configuration files across 
 these
 two hosts. When I run unison2.9.1 from machine A, everything works fine.
 However, when I run unison from machine B, it fails saying that it
 couldn't find a program named unison on machine A. 
 
 Obviously this is because unison2.9.1 does not contain any binary named
 unison. I wonder if its better to use alternatives to let the user pick
 whichever version of unison they want to use.
 

Humm... I am really perplex regarding this bug : 
[EMAIL PROTECTED]:~$ sudo update-alternatives --list unison
/usr/bin/unison2.9.1
/usr/bin/unison2.10.2

I use alternatives for unison ( ie unison2.10.2 and unison2.9.1 ). Could
you please provide me with more information regarding this bug ?

For example, run the command update-alternatives --list unison, just
to see if the symlinks is installed. I would also like to have a ls -al
/usr/bin/unison.

As far as i have try, i use alternatives and a symlink /usr/bin/unison
exists ( pointing to either unison2.9.1 or unison2.10.2 ).

Regard
Sylvain Le Gall

ps: FYI unison and unison2.9.1 packages doesn't contains /usr/bin/unison
which is managed through alternatives.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#308531: unison2.9.1 doesn't behave nicely with other Ubuntu's unison

2005-05-10 Thread Diwaker Gupta
On Tuesday 10 May 2005 02:44 pm, Sylvain LE GALL wrote:
 For example, run the command update-alternatives --list unison, just
 to see if the symlinks is installed. I would also like to have a ls -al
 /usr/bin/unison.

$ sudo update-alternatives --list unison
/usr/bin/unison2.9.1

$ ls -al /usr/bin/unison
ls: /usr/bin/unison: No such file or directory

Weird. So then I run galternatives and notice that the alternatives management 
for Unison has been set to 'manual'. I change it back to auto, and after 
that:

$ ls -al /usr/bin/unison
lrwxrwxrwx  1 root root 24 2005-05-10 14:46 /usr/bin/unison 
- /etc/alternatives/unison*

So all good now :)

I'm not sure where the problem came from. But I'm guessing its something 
specific to my machine, and not necessarily a bug with Unison. Thanks for the 
prompt response, you can close the bug.

-- 
Diwaker Gupta
Graduate Student, Computer Sc. and Engg.
University of California, San Diego
http://resolute.ucsd.edu/diwaker


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]