Article 57YH8 apt-get error removing insync

apt-get error removing insync

by
jkcray
from LinuxQuestions.org on (#57YH8)
Hi.
I get the following when I run apt-get:

Code:sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
google-chrome-stable libegl-mesa0 libgbm1 libgl1-mesa-dri
libgl1-mesa-dri:i386 libglapi-mesa libglapi-mesa:i386 libglx-mesa0
libglx-mesa0:i386 libosmesa6 libosmesa6:i386 libxatracker2 linux-generic
linux-generic-hwe-18.04 linux-headers-generic
linux-headers-generic-hwe-18.04 linux-image-generic
linux-image-generic-hwe-18.04 mesa-va-drivers mesa-vdpau-drivers netplan.io
0 upgraded, 0 newly installed, 0 to remove and 21 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.5.7.37371-artful) ...
/var/lib/dpkg/info/insync.postinst: 406: /var/lib/dpkg/info/insync.postinst: /usr/lib/insync/py: not found
dpkg: error processing package insync (--configure):
installed insync package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
insync
E: Sub-process /usr/bin/dpkg returned an error code (1)Insync is clearly the problem but I can't remove it.

Code:sudo apt-get remove insync
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
insync
0 upgraded, 0 newly installed, 1 to remove and 21 not upgraded.
1 not fully installed or removed.
After this operation, 400 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 353367 files and directories currently installed.)
Removing insync (1.5.7.37371-artful) ...
/var/lib/dpkg/info/insync.prerm: 53: /var/lib/dpkg/info/insync.prerm: /usr/lib/insync/py: not found
dpkg: error processing package insync (--remove):
installed insync package pre-removal script subprocess returned error exit status 127
/var/lib/dpkg/info/insync.postinst: 406: /var/lib/dpkg/info/insync.postinst: /usr/lib/insync/py: not found
dpkg: error while cleaning up:
installed insync package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
insync
E: Sub-process /usr/bin/dpkg returned an error code (1)I'd be grateful for any advice.
Thanks.latest?d=yIl2AUoC8zA latest?i=4-nKQ22T4T4:gHC4-LfVUYs:F7zBnMy latest?i=4-nKQ22T4T4:gHC4-LfVUYs:V_sGLiP latest?d=qj6IDK7rITs latest?i=4-nKQ22T4T4:gHC4-LfVUYs:gIN9vFw4-nKQ22T4T4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments