Insync 3.1.7.40811 on Pop_OS 20.04 - ZLIB error

Hi!
I’m running Pop_OS 20.04, and the latest update to Insync (3.1.7.40811-xenial) no longer works. The version prior to this worked fine.

I get the following error message at launch:

$ insync
Traceback (most recent call last):
File “insync.py”, line 9, in
File “/usr/local/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py”, line 627, in exec_module
File “idesklinux/platui_impl.py”, line 14, in
File “/usr/local/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py”, line 627, in exec_module
File “idesklinux/htmlui_impl.py”, line 6, in
ImportError: /usr/lib/insync/libz.so.1: version `ZLIB_1.2.9’ not found (required by /lib/x86_64-linux-gnu/libpng16.so.16)
[11091] Failed to execute script insync

Thanks!

I have the same problem, it happened in the update today! (13/05)

Yes, same here. After update, this error appears and insync won’t start on Pop os 20.04

I have a second laptop also running Pop_OS 20.04, but that hasn’t been updated in 3 days. It’s running version 3.1.5.40801, which works just fine. I’m trying to find an Insync repository where I can download it, replace the broken package, then pin the working version in APT until there’s a proper fix.

OK - I’m back on the working version!

Steps:

1 - Uninstall the broken version:

sudo apt purge insync -y

2 - Tell APT to keep Insync at version 3.1.5-40801:

sudo echo “Package: insync” >> /etc/apt/preferences
sudo echo “Pin: version 3.1.5.40801-xenial” >> /etc/apt/preferences
sudo echo “Pin-Priority: 1001” >> /etc/apt/preferences

3 - Download & install Insync 3.1.5-40801:

cd /var/tmp
wget http://s.insynchq.com/builds/insync_3.1.5.40801-xenial_amd64.deb
sudo apt install ./insync_3.1.5.40801-xenial_amd64.deb
rm ./insync_3.1.5.40801-xenial_amd64.deb

4 - Update the APT cache & verify that both the “Installed” & “Candidate” versions are 3.1.5-40801:

sudo apt update -y
sudo apt-cache policy insync

(output of command below)
insync:
Installed: 3.1.5.40801-xenial <-- should be 3.1.5-40801-xenial
Candidate: 3.1.5.40801-xenial <-- should be 3.1.5-40801-xenial
Version table:
3.1.7.40811-xenial 500
500 http://apt.insync.io/ubuntu xenial/non-free amd64 Packages
*** 3.1.5.40801-xenial 1001
100 /var/lib/dpkg/status

Now you can upgrade your system, but Insync will stay put. When there is a working update, you can simply remove the “/etc/apt/preferences” entries (or remove the file, if this is all that’s in it).

Hi:

It works for me, although for some reason I had to edit /etc/apt/preferences with a text editor (sudo nano /etc/apt/preferences/ for example) and add manually:

Package: insync
Pin: version 3.1.5.40801-xenial
Pin-Priority: 1001

The echo method gave me some weird error that I did not have time to Google :stuck_out_tongue:

Thank you very much, I hope the next version solves this error.

Regards

I have the same issue in my Ubuntu 18.04 system.
I solved it replacing the libz.so.1 insync library by the system one:

$ cd /usr/lib/insync
$ sudo mv libz.so.1 libz.so.1.old
$ sudo ln -s /lib/x86_64-linux-gnu/libz.so.1
2 Likes

Thank you very much.

The update broke Insync too on another machine with ElementaryOS 5.1 Hera and this solution worked flawlessly without reverting to the previous version.

All the best.

I use the repo for eoan on Ubuntu 20.04 and PopOS 20.04 without issues.

deb http://apt.insync.io/ubuntu eoan non-free contrib

Hi, I have the same problem on POP!_OS 20.04, I solved the with @chus solution.

Also had same issue. Fixed using @chus ’ solution

Thanks Sven - I changed my repo to “eoan”, and I’m now good to to on the latest version.