I`ve been using Sonya 64bit Mate edition with Kernel 4.10.0.35 since the release with no problems whatsoever. The update manager has been showing an update to kernel 4.10.0.38 for weeks now, and I finally decided (stupidly) to try it. It said it was installed in the update manager so I updated Grub and rebooted but it booted to 4.10.0.35, so I uninstalled 4.10.0.38. Update manager says it is uninstalled. Now when I use package manager or software manager or even terminal to install anything I get this message `E: linux-image-extra-4.10.0-38-generic: subprocess installed post-removal script returned error exit status 1` also `linux-image-extra-4.10.0-38-generic has broken dependencies` When I try to fix the broken dependencies, it can`t find 4.10.0.38.
If you need more info, please point me in the right direction.
Hope this makes sense to someone.
Thanks
EDIT: these are the details from package manager error
Code: Select all
Error! echo
Your kernel headers for kernel 4.10.0-38-generic cannot be found at
/lib/modules/4.10.0-38-generic/build or /lib/modules/4.10.0-38-generic/source.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.0-38-generic /boot/vmlinuz-4.10.0-38-generic
update-initramfs: Generating /boot/initrd.img-4.10.0-38-generic
WARNING: missing /lib/modules/4.10.0-38-generic
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: could not open directory /lib/modules/4.10.0-38-generic: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
Warning: No support for locale: en_GB.utf8
cp: cannot stat '/etc/udev/udev.conf': No such file or directory
E: /usr/share/initramfs-tools/hooks/udev failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.10.0-38-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-4.10.0-38-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-image-extra-4.10.0-38-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover: