ocaml-maint team mailing list archive
-
ocaml-maint team
-
Mailing list archive
-
Message #00800
[Bug 1875475] Re: Unison from Ubuntu 20.04 is incompatible with Unison from Ubuntu 18.04, Windows or Mac OS X
> Unison failed: Uncaught exception Failure("input_value: ill-formed
message")
I met exactly the same issue after "downgrading" the unison to
unison_2.48.4-1+b1_amd64.deb on Ubuntu 20.04
And the workaround is indicated by @velmont, that to delete the files in ~/.unison
But I got an extra issue after deleting the files:
Fatal error: Warning: inconsistent state.
The archive file is missing on some hosts.
...
Please delete archive files as appropriate and try again
or invoke Unison with -ignorearchives flag.
So I need to run unison with `-ignorearchives` flag once to recreate the
states, then the whole issue is fixed.
--
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/1875475
Title:
Unison from Ubuntu 20.04 is incompatible with Unison from Ubuntu
18.04, Windows or Mac OS X
Status in unison package in Ubuntu:
Confirmed
Bug description:
Unison from Ubuntu 20.04 LTS (version unison=2.48.4-4ubuntu1) works
well with a client in exactly the same version, with exactly the same
OS.
However, it does not work well with Unison 2.48.4-1ubuntu1 from Ubuntu
18.04, or with Unison on other OSes.
Once the client has determined the files that were updated, when I click on 'Go', the synchronisation fails with a message like this one:
> Fatal error:
> Uncaught exception Failure("input_value: ill-formed message")
Sometimes there is the mention "possibly because client and server
have been compiled with different versions of the Ocaml compiler."
I have seen this issues in the following configurations
- 2.48.4-4ubuntu1 on Ubuntu 20.04 LTS (client) and 2.48.4-1ubuntu1 on Ubuntu 18.04 LTS (server) => Fails
- 2.48.? on Mac OS X (client) and 2.48.4-4ubuntu1 on Ubuntu 20.04 LTS (server) => Fails
- 2.48.3 on Windows 7 (client) and 2.48.4-4ubuntu1 on Ubuntu 20.04 LTS (server) => Fails
Note that the Mac OS and Windows clients were working well with unison
2.48.4-1ubuntu1 (Ubuntu 18.04 LTS, server).
Maybe my problem could be solved by reverting unison to the version
2.48.4-1ubuntu1 from Ubuntu 18.04 LTS. Is is possible to do so with
`apt install` on Ubuntu 20.04? Thanks!
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: unison 2.48.4-4ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 27 19:18:59 2020
InstallationDate: Installed on 2020-04-16 (11 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
SourcePackage: unison
UpgradeStatus: Upgraded to focal on 2020-04-21 (6 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unison/+bug/1875475/+subscriptions
References