medicineman@elhaxxorz:~$ sudo apt-get install build-essential checkinstall xlibs-dev
Reading package lists... Done
Building dependency tree... Done
build-essential is already the newest version.
checkinstall is already the newest version.
The following extra packages will be installed:
libxmuu-dev libxpm-dev libxtrap-dev libxtst-dev libxv-dev
x11proto-record-dev x11proto-trap-dev x11proto-video-dev
The following NEW packages will be installed:
libxmuu-dev libxpm-dev libxtrap-dev libxtst-dev libxv-dev
x11proto-record-dev x11proto-trap-dev x11proto-video-dev xlibs-dev
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/184kB of archives.
After unpacking 1020kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... dpkg: error processing /var/cache/apt/archives/libxpm-dev_1%3a3.5.2-5_amd64.deb (--unpack):
failed in buffer_read(fd): files list for package `xserver-xorg-input-summa': Invalid argument
Errors were encountered while processing:
/var/cache/apt/archives/libxpm-dev_1%3a3.5.2-5_amd64.deb
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
medicineman@elhaxxorz:~$