Extracting templates from packages: 100% Preconfiguring packages ... (Reading database ... dpkg: error processing ubuntu-desktop (--purge): files list file for package `scim' is missing final newline Errors were encountered while processing: ubuntu-desktop Processing was halted because there were too many errors. E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Press return to continue.