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
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.
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).
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
Thank you very much, I hope the next version solves this error.
The update broke Insync too on another machine with ElementaryOS 5.1 Hera and this solution worked flawlessly without reverting to the previous version.