To make it work, I had also to replace unison-gtk, not only unison. So,
what finally helped was:

Problemsituation: I had updated laptop A to a newer version of ubuntu.
When trying to synchronize with with laptop B (Debian), and therefore
did start unison-gtk on lapotop A, I got the error we discuss here.

The solution that worked for me:
1. On Laptop A: downloading from packages.debian.org exactly the unison Version 
*and* the unison-gtk version, I have in use on Laptop B
2. On Laptop A: Installing both: 
sudo dpkg -i unison_2.48.4-1+b1_amd64.deb 
sudo dpkg -i unison-gtk_2.48.4-1+b1_amd64.deb 
3. On both, Laptop A and Laptop B: Removing in the hidden folder .unison all 
files, with a filename starting with "fp...", that are created after I had 
updated laptop A to a newer version of ubuntu.

To make sure, Laptop A wont "upgrade" unison and unison-gtk I created,
like mentioned above, a file with filename "unison" in the folder
/etc/apt/preferences.d/ wrote this text into my file "unison":

     Package: unison
     Pin: version 2.48.4-1+b1
     Pin-Priority: 1000

     Package: unison-gtk
     Pin: version 2.48.4-1+b1
     Pin-Priority: 1000

Thanks to all here for those posts that helped me to do so!

-- 
You received this bug notification because you are a member of Debian
OCaml Maintainers, which is subscribed to unison in Ubuntu.
https://bugs.launchpad.net/bugs/1868502

Title:
  Synchronization with earlier Ubuntu versions or a recent Debian
  version fails

Status in unison package in Ubuntu:
  Confirmed

Bug description:
  Any synchronization I want to do with my server (Debian buster) fails
  with the following message:

  > Fatal error: Server: Fatal error during unmarshaling (input_value: 
ill-formed message),
  > possibly because client and server have been compiled with 
differentversions of the OCaml compiler.

  Indeed, buster uses OCaml 4.05.0, focal uses 4.08.1. eoan used 4.05.0,
  as did the prior versions, including bionic, which all still
  synchronize fine. The current Windows version also synchronizes with
  that version.

  Although intentionally using an old software version for compatibility
  is not a good thing, in this case it might be necessary. The whole
  point of unison is its interoperability.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unison/+bug/1868502/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ocaml-maint
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ocaml-maint
More help   : https://help.launchpad.net/ListHelp

Reply via email to