package:python3-pil:3.1.2-0ubuntu1 Preparing to unpack .../python3-pil_3.1.2-0ubuntu1.1_amd64.deb ... dpkg-query: error: parsing file '/var/lib/dpkg/updates/0100' near line 0: newline in field name '#padding' Traceback (most recent call last): File "/usr/bin/py3clean", line 210, in main() File "/usr/bin/py3clean", line 196, in main pfiles = set(dpf.from_package(options.package)) File "/usr/share/python3/debpython/files.py", line 53, in from_package raise Exception("cannot get content of %s" % package_name) Exception: cannot get content of python3-pil dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg: trying script from the new package instead ... dpkg-query: error: parsing file '/var/lib/dpkg/updates/0100' near line 0: newline in field name '#padding' Traceback (most recent call last): File "/usr/bin/py3clean", line 210, in main() File "/usr/bin/py3clean", line 196, in main pfiles = set(dpf.from_package(options.package)) File "/usr/share/python3/debpython/files.py", line 53, in from_package raise Exception("cannot get content of %s" % package_name) Exception: cannot get content of python3-pil dpkg: error processing archive /var/cache/apt/archives/python3-pil_3.1.2-0ubuntu1.1_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1