Not sure if this is the same bug but I get same error number from the same package running:
sudo dpkg --configure -a Gives following output: Setting up linux-headers-2.6.28-11-generic (2.6.28-11.42) ... Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms * Running DKMS auto installation service for kernel 2.6.28-11-generic * nouveau ()... nouveau (): AUTOINSTALL not set in its dkms.conf. [ OK ] * nvidia (173.14.16)... nvidia (173.14.16): Already installed on this kernel. [ OK ] run-parts: executing /etc/kernel/header_postinst.d/nvidia-common run-parts: failed to exec /etc/kernel/header_postinst.d/nvidia-common: Exec format error run-parts: /etc/kernel/header_postinst.d/nvidia-common exited with return code 1 Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-2.6.28-11-generic.postinst line 110. dpkg: error processing linux-headers-2.6.28-11-generic (--configure): subprocess post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of linux-headers-generic: linux-headers-generic depends on linux-headers-2.6.28-11-generic; however: Package linux-headers-2.6.28-11-generic is not configured yet. dpkg: error processing linux-headers-generic (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: linux-headers-2.6.28-11-generic linux-headers-generic -- package linux-headers-2.6.28-11-generic 2.6.28-11.40 failed to install/upgrade: subprocess post-installation script returned error exit status 2 https://bugs.launchpad.net/bugs/355134 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