0 Members and 3 Guests are viewing this topic.
uname -a
My guess is your old home partition is preserving kernel info for kernels that do not actually exist. Update grub will just keep adding them in. You'll need to use root to fix this which is risky, so this could be bad advice. Open a terminal and type sudo passwd root. Enter a new nix password twice and exit the terminal. Logout and reboot. Select other from lightdm login and type root, and enter the root password you set up. You will boot into root. You'll get an ioctl error which you can just ignore, x out the message, and root will load the xfce desktop. Clean out the kernel info from home there. To get rid of the root login afterwards open a terminal and type sudo passwd -dl root. Warning -- could be ugly. Don't go this route if you're not sure of what you're doing.TC
[email protected]:~$ sudo dpkg --configure -a[sudo] password for mike: Setting up linux-headers-4.4.0-51-generic (4.4.0-51.72) ...Examining /etc/kernel/header_postinst.d.run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-51-generic /boot/vmlinuz-4.4.0-51-generic
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report.
[email protected]:~$ uname -aLinux mike-G750JS 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Kernel Cleaner has failed
Try:Code: [Select]sudo rm -rf /var/lib/dpkg/updates/*sudo rm -rf /var/lib/apt/lists/*sudo apt-get cleansudo apt-get autoremovesudo apt-get updatethen:Code: [Select]sudo dpkg --remove --force-remove-reinstreq 4.4.0-42-genericCode: [Select]sudo apt-get dist-upgradeReboot.If any of the above commands don't complete, continue to the next command regardless.
sudo rm -rf /var/lib/dpkg/updates/*sudo rm -rf /var/lib/apt/lists/*sudo apt-get cleansudo apt-get autoremovesudo apt-get update
sudo dpkg --remove --force-remove-reinstreq 4.4.0-42-generic
sudo apt-get dist-upgrade
sudo dpkg --configure -a
What does : sudo apt-get install -f produce? Sent from my Nexus 6 using Tapatalk
[email protected]:~$ sudo apt-get install -f [sudo] password for mike: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. [email protected]:~$
Open a terminal and try this first:Code: [Select]sudo apt-get install linux-genericReboot.If that doesn't help, open a terminal and do the following:Code: [Select]sudo apt-get install linux-headers-linuxlite-4.4.0 linux-image-linuxlite-4.4.0 -yReboot while holding the keft Shift key. When the GRUB menu appears, use the advanced option to select the new kernel. When you get to your desktop, you can use Lite Tweaks to remove any residual kernels.
sudo apt-get install linux-generic
sudo apt-get install linux-headers-linuxlite-4.4.0 linux-image-linuxlite-4.4.0 -y
[email protected]:~$ sudo apt-get install linux-genericE: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. [email protected]:~$
[email protected]:~$ sudo apt-get install linux-headers-linuxlite-4.4.0 linux-image-linuxlite-4.4.0 -yE: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. [email protected]:~$