After reinstallation insync is working properly.
I guess that adding the exception to prelink is not sufficient and you should also reinstall insync to make things work.
Thank you for your help!
@Jason_Ramapuram: Are you using prelink? If so have you tried running sudo prelink -u /usr/lib/insync/library.zip to undo the prelink? You might also need to add -b /usr/lib/insync/library.zip to /etc/prelink.conf.
dpkg: error processing package insync (–remove):
subprocess installed pre-removal script returned error exit status 1
Traceback (…)
zipimport.ZipImportError: not a Zip file: '/usr/lib/insync/library.zip
I have done the required steps to setup prelink and have even disabled it, but this issue persists.
@Jason_Ramapuram: I see. Please try deleting or moving the file /var/lib/dpkg/info/insync.prerm then retry uninstalling Insync. I think that should work now that the prerm script is not raising an error.