Error when reinstalling Sync on Ubuntu Server

Recommended Posts



I had some issues configuring sync the first time on my Ubuntu Server installed from the official repository so I decided to run apt-get remove btsync and manually deleted a few folders:

rm -r /etc/btsync /var/lib/btsync /home/stijn/btsync

So then I wanted to reinstall with:

sudo apt-get install btsync

But this is now resulting in:  

1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up btsync (2.3.3-1) ...
chmod: cannot access ‘/etc/btsync/’: No such file or directory
dpkg: error processing package btsync (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

How do I fix the 'cannot access ....... error?


Edit: ahrg.. just spotted the solution in another topic: had to purge the package and THEN reinstall it.. 

Edited by stijnos
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.

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.