Sign in to follow this  
jak1502

[Solved] [: -Eq: Unexpected Operator

Recommended Posts

When I am installing BTSync on my Raspberry Pi running Rasbian I am getting the following error:

 

/tmp/btsync.config.47921: 107: [: -eq: unexpected operator

 

Share this post


Link to post
Share on other sites

It sounds very much like a syntax error in your config file.

 

Was this a fresh install, or an upgrade from an earlier version of Sync?

 

Have you made any recent changes to the config file yourself?

Share this post


Link to post
Share on other sites

For what it's worth, I was getting this on Ubuntu 12.04 LTS (64 bit). I did the following and it went away:

 

sudo dpkg-reconfigure btsync

 

I opted not to make a new default config file in the "wizard" that pops up by selecting "no" and the "wizard" closed. I was concerned it would wipe out my existing settings but it did not.

 

Then I did:

 

sudo apt-get install btsync

 

This time the install completed without throwing any errors. I had the package marked as a hold for months trying to figure this out.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this