Confirming this issue. Same here upgrading from 8.04 to 10.04.1 caused the problem to appear.
All above solutions didn't work in my case. The following worked. In Terminal: -------------------------------- sudo rm /var/lib/dpkg/info/flashplugin-nonfree.postinst sudo rm /var/lib/dpkg/info/flashplugin-nonfree.postrm sudo rm /var/lib/dpkg/info/flashplugin-nonfree.prerm sudo dpkg --force all --purge flashplugin-nonfree -------------------------------- Thanks to sandyd http://ubuntuforums.org/showpost.php?p=9072362&postcount=21 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/512096 Title: [MASTER] Exec format error : package failed to install/remove : installation/removal script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/512096/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs