Comment 20 for bug 1868502

Revision history for this message
Per Turbatus (perturbatus) wrote :

Unison does not support syncing between two different versions. Hence, syncing across different ubuntu releases this problem will necessarily occur unless they contain many unison versions in the future.

Workaround:

1) On both machines delete the unison cache:

rm -r ~/.unison

2) Make sure no version of unison is installed on the machine with the newer Ubuntu release.

3) On the machine with the newer Ubuntu release download the unison .deb file of the older release. For example the .deb file of the unison version of Ubuntu 18.04 can be found here:

https://ubuntu.pkgs.org/18.04/ubuntu-universe-amd64/unison_2.48.4-1ubuntu1_amd64.deb.html

Install this unison version via the graphical interface.

4) On the machine with the newer Ubuntu release freeze the unison version you just installed. Warning you will not get security updates!

sudo apt-mark hold unison

5) Sync both machines using unison.

Have fun!