3

I have installed Unison to sync data between my two PCs but I am getting an error about a non existing file. Here it is alt text there is no such file in the .unison folder called lkb60...... which is being complained.

jrg
  • 61,707

3 Answers3

2

I finally got it working!!!

Apparently, problem was that, Unison was not able to create a profile using the Unison-gtk (still don't know why it was showing error about a non-existing file) so due to this there was some problem loading the profile.

What I did now, I went into the .unison and created the profile by creating a profile.prf file consisting the info as follows-

root = /home/gaurav/
root = ssh://gaurav@192.168.0.3//home/gaurav/

Here is a complete How-To on the issue. http://www.micahcarrick.com/unison-synchronize-ubuntu.html [Editor’s note: Links to archived version, as the original is not available anymore.]

0

There’s another possible cause for this problem, as it was in my case:

You may be trying to sync to the same system! Say by trying to sync a local directory to the same one but via ssh.

Of course it then trips over its own profile/lock file that it just created or tried to create.

In my case this was caused by the two machines recently swapping roles and swapping IP addresses with it, but the host names not having been updated.

0

if you're sure that the file really dosen't exist (re-check the whole path) you may try deleting the .unison folder and remaking the settings you have right now...

Quamis
  • 127