cavsfan@cavsfan-le-beast:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: linux-headers-4.3.0-2 linux-headers-4.3.0-2-generic linux-image-4.3.0-2-generic linux-image-extra-4.3.0-2-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. cavsfan@cavsfan-le-beast:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: linux-headers-4.3.0-2 linux-headers-4.3.0-2-generic linux-image-4.3.0-2-generic linux-image-extra-4.3.0-2-generic 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. After this operation, 296 MB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 250782 files and directories currently installed.) Removing linux-headers-4.3.0-2-generic (4.3.0-2.11) ... Removing linux-headers-4.3.0-2 (4.3.0-2.11) ... Removing linux-image-extra-4.3.0-2-generic (4.3.0-2.11) ... run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.3.0-2-generic /boot/vmlinuz-4.3.0-2-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.3.0-2-generic /boot/vmlinuz-4.3.0-2-generic Error! Your kernel headers for kernel 4.3.0-2-generic cannot be found. Please install the linux-headers-4.3.0-2-generic package, or use the --kernelsourcedir option to tell DKMS where it's located run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.3.0-2-generic /boot/vmlinuz-4.3.0-2-generic update-initramfs: Generating /boot/initrd.img-4.3.0-2-generic run-parts: executing /etc/kernel/postinst.d/pm-utils 4.3.0-2-generic /boot/vmlinuz-4.3.0-2-generic run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.3.0-2-generic /boot/vmlinuz-4.3.0-2-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 4.3.0-2-generic /boot/vmlinuz-4.3.0-2-generic run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.3.0-2-generic /boot/vmlinuz-4.3.0-2-generic Generating grub configuration file ... Found background image: image-1920x1080.jpg Adding Arch Linux, Xubuntu Xenial Xerus 16.04 (devel) and Windows 10 done Removing linux-image-4.3.0-2-generic (4.3.0-2.11) ... Examining /etc/kernel/prerm.d. run-parts: executing /etc/kernel/prerm.d/dkms 4.3.0-2-generic /boot/vmlinuz-4.3.0-2-generic dkms: removing: nvidia-340 340.96 (4.3.0-2-generic) (x86_64) -------- Uninstall Beginning -------- Module: nvidia-340 Version: 340.96 Kernel: 4.3.0-2-generic (x86_64) ------------------------------------- Status: Before uninstall, this module version was ACTIVE on this kernel. nvidia_340.ko: - Uninstallation - Deleting from: /lib/modules/4.3.0-2-generic/updates/dkms/ - Original module - No original module was found for this module on this kernel. - Use the dkms install command to reinstall any previous module version. nvidia_340_uvm.ko: - Uninstallation - Deleting from: /lib/modules/4.3.0-2-generic/updates/dkms/ - Original module - No original module was found for this module on this kernel. - Use the dkms install command to reinstall any previous module version. depmod.... DKMS: uninstall completed. Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.3.0-2-generic /boot/vmlinuz-4.3.0-2-generic update-initramfs: Deleting /boot/initrd.img-4.3.0-2-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.3.0-2-generic /boot/vmlinuz-4.3.0-2-generic Generating grub configuration file ... Found background image: image-1920x1080.jpg Adding Arch Linux, Xubuntu Xenial Xerus 16.04 (devel) and Windows 10 done