version number breaks addversionno option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
meta-unison (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
unison recently had some trouble with different ocaml compiler versions using different serializing protocols. Therefore, the ubuntu binary of unison got a double version number, one for the unison version, and one for the ocaml version. The binary is now named
/usr/bin/
where 2.51 is the unison version and 4.13.1 is the ocaml compiler version to precisely identify the protocol used for serialization.
Unfortunately, this breaks the addversionno option, which tells unison, to start the precise version on the peer site instead of just "unison", in order to avoid trouble e.g. when syncing to an older or newer ubuntu version or some different linux-distribution.
Now I do get the error message
command not found: unison-2.51
because the binary now is named /usr/bin/
So either the ubuntu package version of unison has to learn that the name is unison-2.51+4.13.1 now, or at least a link from unison-2.51 to unison-2.51+4.13.1 would be needed (which spoils the point of having the ocaml version in the binaries file name.
regards
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: unison 2.51.5+1
ProcVersionSign
Uname: Linux 5.15.0-46-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: LXQt
Date: Sat Sep 3 16:18:26 2022
InstallationDate: Installed on 2020-06-12 (812 days ago)
InstallationMedia: Lubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitec
SourcePackage: meta-unison
UpgradeStatus: Upgraded to jammy on 2022-05-28 (97 days ago)