I have two machines running Ubuntu. One runs Ubuntu 18.04 LTS and the other one runs Ubuntu 20.04 LTS. I want to use unison to sync files between them. I've installed unison on both of them the conventional way. I.e.:
sudo apt install unison-all
When I check what version is installed, I get this on both machines:
unison version 2.48.4
When I try to sync between them, the sync fails and I get the message:
Fatal error during unmarshaling (input value:ill-formed message) possibly because client and serer have been compiled with different versions of OCaml compiler.
When I look at /usr/bin/unison-2.48.4
on both machines, I get:
3377264 Oct 31 2017 /usr/bin/unison-2.48.4 [18.04]
3866920 Feb 16 10:04 /usr/bin/unison-2.48.4 [20.04]
So while the version number is the same, they have different sizes and a different timestamps, and my guess is that the difference is what causing the error.
The problem is also posted here: https://www.mail-archive.com/[email protected]/msg5750379.html – but no solution yet.
The unison that is installed on the machine running Ubuntu 18.04 LTS syncs fine with unison 2.48.4 for MS Windows 10, so that is the one I want to use on Ubuntu 20.04 LTS as well.
Is there any way to install the version of unison available for Ubuntu 18.04 LTS on Unison 20.04 LTS?
If "yes", how?