Linux Mint zipimport.ZipImportError: not a Zip file: /usr/lib/insync/library.zip

Hi, I’m using latest version of Linux mint Sonya 18.2 64bit and I installed insync normally, but, when I restarted my computer insync stopped to work. if I search insync starter icon and click nothing works. So when i decided uninstall and install again I get this error:

Traceback (most recent call last):
File “”, line 5, in
zipimport.ZipImportError: not a Zip file: /usr/lib/insync/library.zip
dpkg: erro ao processar o pacote insync (–remove):
sub-processo script pre-removal instalado retornou estado de saída de erro 1
Traceback (most recent call last):
File “”, line 5, in
zipimport.ZipImportError: not a Zip file: /usr/lib/insync/library.zip
dpkg: erro enquanto efetuava a limpeza:
sub-processo script post-installation instalado retornou estado de saída de erro 1
Erros foram encontrados durante o processamento de:
insync
E: Sub-process /usr/bin/dpkg returned an error code (1)

Ps: Sorry to portuguese language error.

I maked an workaround on removing all entries of insync on diretory: /var/lib/dpkg/status showed in this link:

But, I get the same bug again and again. I get here to see if have any other solution to this bug.

I use this line commands to install Insync:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ACCAF35C -y
sudo echo “deb http://apt.insynchq.com/ubuntu xenial non-free contrib” > /etc/apt/sources.list.d/insync.list
sudo apt-get update
sudo apt-get install -y insync

I hope have a solution about it.
Thanks.

Hi there, the APT repo has been updated. Please head over to our downloads page :slight_smile:

Hi. I’m still get the same error. I downloader the correct version to my linux mint. Insync works fine more than two days and after it I get the same error, the icon does apeears, if I start the application, nothing works. If I try to unninstall, I get the error.

Removing insync (1.3.22.36179-xenial) …
Traceback (most recent call last):
File “”, line 5, in
zipimport.zipImportError: not a Zip file: /usr/lib/insync/library.zip
dpkg: error processing package insync (–remove):
sub-process pre-removal script installed returned error exit status 1
Traceback (most recent call last):
File “”, line 5, in
zipimport.zipImportError: not a Zip file: /usr/lib/insync/library.zip
dpkg: error while cleaning:
sub-process installed post-installation script returned error exit status 1
Errors were encountered while processing:
insync
E: Sub-process / usr / bin / dpkg returned an error code (1)