The same thing happened to me on trusty, amd64 with the latest version of virtualbox 4.3.18. The strange thing is, dkms.conf was located in /var/lib/dkms/vboxhost/4.3.18/build/, but locate couldn't find it. It found the previous one, v4.3.16, but not the latest one. Only with "find" could I locate it.
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to dkms in Ubuntu. https://bugs.launchpad.net/bugs/830915 Title: [Oneiric] Error during kernel upgrade: Could not locate dkms.conf file Status in “dkms” package in Ubuntu: Confirmed Bug description: Настраивается пакет linux-image-3.0.0-9-generic (3.0.0-9.12) ... Running depmod. update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/dkms 3.0.0-9-generic /boot/vmlinuz-3.0.0-9-generic Error! Could not locate dkms.conf file. File: does not exist. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.0.0-9-generic /boot/vmlinuz-3.0.0-9-generic update-initramfs: Generating /boot/initrd.img-3.0.0-9-generic run-parts: executing /etc/kernel/postinst.d/pm-utils 3.0.0-9-generic /boot/vmlinuz-3.0.0-9-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 3.0.0-9-generic /boot/vmlinuz-3.0.0-9-generic run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.0.0-9-generic /boot/vmlinuz-3.0.0-9-generic Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.0.0-9-generic Found initrd image: /boot/initrd.img-3.0.0-9-generic Found linux image: /boot/vmlinuz-3.0.0-8-generic Found initrd image: /boot/initrd.img-3.0.0-8-generic Found linux image: /boot/vmlinuz-2.6.38-10-generic Found initrd image: /boot/initrd.img-2.6.38-10-generic Found memtest86+ image: /boot/memtest86+.bin Found Ubuntu Natty (development branch) (11.04) on /dev/sdb5 done This, however, doesn't seem to be fatal. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: dkms 2.2.0.2-1 ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1 Uname: Linux 3.0.0-8-generic x86_64 NonfreeKernelModules: nvidia Architecture: amd64 Date: Mon Aug 22 12:43:31 2011 InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008.1) PackageArchitecture: all ProcEnviron: PATH=(custom, no user) LANG=ru_RU.UTF-8 SHELL=/bin/bash SourcePackage: dkms UpgradeStatus: Upgraded to oneiric on 2011-08-10 (11 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/830915/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp