Preparing to unpack .../liblinear3_2.1.0+dfsg-1_amd64.deb ... Unpacking liblinear3:amd64 (2.1.0+dfsg-1) ... Selecting previously unselected package lua-lpeg:amd64. Preparing to unpack .../lua-lpeg_0.12.2-1_amd64.deb ... Unpacking lua-lpeg:amd64 (0.12.2-1) ... Selecting previously unselected package ndiff. Preparing to unpack .../ndiff_7.01-2ubuntu2_all.deb ... Unpacking ndiff (7.01-2ubuntu2) ... Selecting previously unselected package nmap. Preparing to unpack .../nmap_7.01-2ubuntu2_amd64.deb ... Unpacking nmap (7.01-2ubuntu2) ... Processing triggers for libc-bin (2.23-0ubuntu4) ... Processing triggers for man-db (2.7.5-1) ... Setting up liblinear3:amd64 (2.1.0+dfsg-1) ... Setting up lua-lpeg:amd64 (0.12.2-1) ... Setting up ndiff (7.01-2ubuntu2) ... Traceback (most recent call last): File "/usr/bin/pycompile", line 26, in import logging File "/usr/lib/python2.7/logging/__init__.py", line 43, in import threading EOFError: EOF read where object expected dpkg: error processing package ndiff (--configure): subprocess installed post-installation script returned error exit status 1