apt-get install libxrandr2 Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: libdps1 The following packages will be upgraded: libxrandr2 1 upgraded, 0 newly installed, 1 to remove and 20 not upgraded. 4 not fully installed or removed. Need to get 0B/172kB of archives. After unpacking 651kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... dpkg: serious warning: files list file for package `libxrandr2' missing, assuming package has no files currently installed. dpkg: serious warning: files list file for package `libxtrap6' missing, assuming package has no files currently installed. dpkg: serious warning: files list file for package `libxmu6' missing, assuming package has no files currently installed. dpkg: serious warning: files list file for package `libxtst6' missing, assuming package has no files currently installed. dpkg: serious warning: files list file for package `libxt6' missing, assuming package has no files currently installed. 32912 files and directories currently installed.) Removing libdps1 ... dpkg (subprocess): unable to execute post-removal script: Exec format error dpkg: error processing libdps1 (--remove): subprocess post-removal script returned error exit status 2 Errors were encountered while processing: libdps1 E: Sub-process /usr/bin/dpkg returned an error code (1)