2

I have a small Debian ARM box with unison-2.40 installed. And a Ubuntu laptop which seems to have unison-2.48

I want to sync them with unison. But the the Ubuntu (which is newer) doesn't seem to recognise being explicitly asked to work with 2.40 (using -addversionno )

Is it possible to persuade 2.48 to pretend to be 2.40 or is there a Ubuntu package with 2.40 in it so I can sync these two machines?

2

No, you can't tell the newer version of Unison to pretend to be an old version. This is a notorious feature of Unison; the format of the archive file (that keeps track of everything being synced to improve efficiency) gets changed improved in each new version. So Unison versions across machines have to match precisely.

Since 2.40 is an older version I'm not sure if it would be in the Ubuntu repos. You could compile and install it from source, or try one of these pre-compiled binaries.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.