Linux Mint 17.3 Rosa apt-get upgrade error

twelve12 sources.list.d # apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up insync (1.3.3.36056-trusty) …
dpkg: error processing package insync (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
insync

Although Insync is installed and appears to be working (initial file sync took several hours but now have the checkmark in the icon), this error occurs every time I perform a general update on the system. This is the line from the sources.list:

deb http://apt.insynchq.com/ubuntu trusty non-free contrib

@Jimmy_Simerly: Please try running the following command and send the error raised in the terminal: head -n -3 /var/lib/dpkg/info/insync.postinst | tail -n +8 | sudo python.

Terminal command comes back to a prompt; no error shown.

jsimerly@twelve12 ~ $ head -n -3 /var/lib/dpkg/info/insync.postinst | tail -n +8 | sudo python
jsimerly@twelve12 ~ $

@Jimmy_Simerly: Could you try purging then re-installing Insync? This won’t affect your Insync setup since the config files are stored in ~/.config/Insync.

Purged and reinstalled. Error remains:

dpkg: error processing package insync (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
insync
[ Rootkit Hunter version 1.4.0 ]

Seemed to have isolated the cause of this problem. As a security precaution, /tmp on my computer is mounted noexec in RAM. I changed this mount and the apt-get with insync script ran with no problems.

I am receiving this issue, and I just tested and validated that /tmp is not mounted with noexec enforced. I tried removing and reinstalling insync 3.0 on the latest version, but I still get the warning message.

Errors were encountered while processing:
insync
E: Sub-process /usr/bin/dpkg returned an error code (1)