Public bug reported: I was updating my system using aptitude upgrade when this issue appeared.
Here's a snippet from the aptitude output: Setting up linux-image-extra-3.8.0-17-generic (3.8.0-17.27) ... Running depmod. update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.8.0-17-generic /boot/vmlinuz-3.8.0-17-generic run-parts: executing /etc/kernel/postinst.d/dkms 3.8.0-17-generic /boot/vmlinuz-3.8.0-17-generic Error! Bad return status for module build on kernel: 3.8.0-17-generic (x86_64) Consult /var/lib/dkms/nvidia-310/310.32/build/make.log for more information. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.8.0-17-generic /boot/vmlinuz-3.8.0-17-generic update-initramfs: Generating /boot/initrd.img-3.8.0-17-generic run-parts: executing /etc/kernel/postinst.d/pm-utils 3.8.0-17-generic /boot/vmlinuz-3.8.0-17-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 3.8.0-17-generic /boot/vmlinuz-3.8.0-17-generic run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.8.0-17-generic /boot/vmlinuz-3.8.0-17-generic ProblemType: Package DistroRelease: Ubuntu 13.04 Package: nvidia-310 310.32-0ubuntu2 ProcVersionSignature: Ubuntu 3.8.0-16.26-generic 3.8.5 Uname: Linux 3.8.0-16-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.9.2-0ubuntu5 Architecture: amd64 DKMSKernelVersion: 3.8.0-17-generic Date: Wed Apr 10 17:16:42 2013 InstallationDate: Installed on 2013-04-07 (2 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130402.1) MarkForUpload: True PackageVersion: 310.32-0ubuntu2 SourcePackage: nvidia-graphics-drivers-310 Title: nvidia-310 310.32-0ubuntu2: nvidia-310 kernel module failed to build UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: nvidia-graphics-drivers-310 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package need-duplicate-check raring -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1167383 Title: nvidia-310 310.32-0ubuntu2: nvidia-310 kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-310/+bug/1167383/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs