I get the following error when installing ImageTK.
% sudo apt-get install python-pil python-imaging python-imaging-tk Reading package lists... Done Building dependency tree Reading state information... Done python-pil is already the newest version. Suggested packages: python-pil-doc python-pil.imagetk-dbg The following NEW packages will be installed: python-imaging python-imaging-tk python-pil.imagetk 0 upgraded, 3 newly installed, 0 to remove and 41 not upgraded. Need to get 0 B/31.7 kB of archives. After this operation, 111 kB of additional disk space will be used. Selecting previously unselected package python-imaging. dpkg: warning: files list file for package 'linux-libc-dev:armhf' missing; assuming package has no files currently installed dpkg: unrecoverable fatal error, aborting: files list file for package 'qdbus' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2)