the "Exec format error" error message indicates corrupted installation scripts in /var/lib/dpkg/info/ . One way to recover is to delete the failing script, purge the package and reinstall. I'm closing this report since you've fixed it by removing the status file.
For your reference, you can find informations about common installation issues at https://wiki.ubuntu.com/DebuggingInstallationIssues ** Tags added: jaunty2karmic ** Tags added: exec-format-error ** Changed in: update-manager (Ubuntu) Status: Incomplete => Invalid -- Can't install or reinstall mtools, plasma-scriptengine-python etc. https://bugs.launchpad.net/bugs/480651 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs