I recently got an XPS 13 DE that comes with Ubuntu 14.04 and kernel 3.13. There are some issues with the touchpad and some other components that can be resolved by upgrading your kernel and moving to 15.04 so that is what I am trying to do.
I followed the standard procedure for dist-upgrade:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
do-release-upgrade
The first three steps completed successfully but the do-release-upgrade
step failed with some errors I am not sure how to resolve:
Error! The dkms.conf for this module includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch. This indicates that it should not be built.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.16.0-37-generic /boot/vmlinuz-3.16.0-37-generic
update-initramfs: Generating /boot/initrd.img-3.16.0-37-generic
E: /usr/share/initramfs-tools/hooks/casper-memdisk failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.16.0-37-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-37-generic.postinst line 1025.
dpkg: error processing package linux-image-3.16.0-37-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-3.16.0-37-generic; however:
Package linux-image-3.16.0-37-generic is not configured yet.
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-3.16.0-37-generic:
linux-image-extra-3.16.0-37-generic depends on linux-image-3.16.0-37-generic; however:
Package linux-image-3.16.0-37-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.16.0-37-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 3.16.0.37.38); however:
Package linux-image-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.103ubuntu8) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-52-generic
E: /usr/share/initramfs-tools/hooks/casper-memdisk failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-52-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-3.16.0-37-generic
linux-image-generic
linux-image-extra-3.16.0-37-generic
linux-generic
initramfs-tools
Upgrade complete
The upgrade has completed but there were errors during the upgrade
process.
To continue please press [ENTER]
How can I resolve this? Would it be easier to just make a 15.04 live usb?
dkms status
?dkms.conf
and comment out (add a # at the start of the line) "BUILD_EXCLUSIVE" and run sudo apt-get dist-upgradeupdate-initramfs
step was executing