I am having the exact same issues, though I am not using envy for my nvidia drivers and my kernel and patches are straight from kernel.org.
--- Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.27.4.tyro2.postinst line 1181. dpkg: error processing linux-image-2.6.27.4.tyro2 (--install): subprocess post-installation script returned error exit status 2 --- -- dkms - error when installing custom kernel https://bugs.launchpad.net/bugs/292606 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