Debian apt-get post install configuration failure

The apt-get post install script fails. Insync does seem to function with no problem (quite well I would say) but the embedded Python script in insync.postinst throws an error and the post install exits with an error. added “set -x” in attempt to gleen more information but the problem seems to be in the Python script.

dpkg --configure insync

Setting up insync (1.3.5.36069-wheezy) …

  • which python
  • PYTHON=/usr/bin/python
  • [ ! /usr/bin/python ]
  • /usr/bin/python -
    dpkg: error processing insync (–configure):
    subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
    insync

System is Linux Mint Debian Edition V1, which is Debian Jessie with some Mint extensions but is fully Debian compliant:

uname -a

Linux xxx 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) x86_64 GNU/Linux

Package cache:

apt-cache showpkg insync

Package: insync
Versions:
1.3.5.36069-wheezy (/var/lib/apt/lists/apt.insynchq.com_debian_dists_jessie_non-free_binary-amd64_Packages) (/var/lib/dpkg/status)
Description Language:
File: /var/lib/apt/lists/apt.insynchq.com_debian_dists_jessie_non-free_binary-amd64_Packages
MD5: 1ad68f871ddf79784846aac96436e9ce

Reverse Depends:
insync-headless:i386,insync
insync:i386,insync
insync:i386,insync
insync-thunar,insync
insync-nemo,insync
insync-nautilus,insync
insync-headless,insync
insync-caja,insync
insync,insync
Dependencies:
1.3.5.36069-wheezy - xdg-utils (0 (null)) libc6 (2 2.13) python (0 (null)) insync-beta (0 (null)) insync-beta:i386 (0 (null)) insync-headless (0 (null)) insync-headless:i386 (0 (null)) insync (0 (null)) insync:i386 (0 (null)) insync:i386 (0 (null))
Provides:
1.3.5.36069-wheezy -
Reverse Provides:

@Philip_Crichton: Apologies for the trouble. Please check this thread if it helps: Linux Mint 17.3 Rosa apt-get upgrade error.

I’m seeing the same symptoms today under Ubuntu 18.04. The referenced thread also shows a similar problem. It looks to be awaiting an insync response.