Update Manager - Kernel Update Hangs

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bradshawd
Level 1
Level 1
Posts: 16
Joined: Thu Oct 13, 2016 7:07 am

Update Manager - Kernel Update Hangs

Post by bradshawd »

Folks, I have just updated an older desktop PC to Mint 18.1 64 bit and so far so good.

First updates downloaded and installed without issue.

Kernel updates (x 3) showed in list.. All selected and "install updates" button clicked.

2 of the kernel updates installed and the third was still in the list upon return to the PC.... Reboot methinks......

Re-selected and set off install updates again. seems to have gotten stuck at memtest (see screenshot and copied output below)

Unfortunately although I use Mint on a number of machines I fear I am not technical enough to resolve this one.. Any help / suggestions gratefully received.

Derek

Image

Code: Select all

Selecting previously unselected package linux-headers-4.4.0-71.
(Reading database ... 235428 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.4.0-71_4.4.0-71.92_all.deb ...
Unpacking linux-headers-4.4.0-71 (4.4.0-71.92) ...
Selecting previously unselected package linux-headers-4.4.0-71-generic.
Preparing to unpack .../linux-headers-4.4.0-71-generic_4.4.0-71.92_amd64.deb ...
Unpacking linux-headers-4.4.0-71-generic (4.4.0-71.92) ...
Selecting previously unselected package linux-image-4.4.0-71-generic.
Preparing to unpack .../linux-image-4.4.0-71-generic_4.4.0-71.92_amd64.deb ...
Done.
Unpacking linux-image-4.4.0-71-generic (4.4.0-71.92) ...
Selecting previously unselected package linux-image-extra-4.4.0-71-generic.
Preparing to unpack .../linux-image-extra-4.4.0-71-generic_4.4.0-71.92_amd64.deb ...
Unpacking linux-image-extra-4.4.0-71-generic (4.4.0-71.92) ...
Setting up linux-headers-4.4.0-71 (4.4.0-71.92) ...
Setting up linux-headers-4.4.0-71-generic (4.4.0-71.92) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-71-generic /boot/vmlinuz-4.4.0-71-generic
Setting up linux-image-4.4.0-71-generic (4.4.0-71.92) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-71-generic /boot/vmlinuz-4.4.0-71-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-71-generic /boot/vmlinuz-4.4.0-71-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-71-generic /boot/vmlinuz-4.4.0-71-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-71-generic
Warning: No support for locale: en_GB.utf8
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-71-generic /boot/vmlinuz-4.4.0-71-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-71-generic /boot/vmlinuz-4.4.0-71-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-71-generic /boot/vmlinuz-4.4.0-71-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-71-generic
Found initrd image: /boot/initrd.img-4.4.0-71-generic
Found linux image: /boot/vmlinuz-4.4.0-70-generic
Found initrd image: /boot/initrd.img-4.4.0-70-generic
Found linux image: /boot/vmlinuz-4.4.0-21-generic
Found initrd image: /boot/initrd.img-4.4.0-21-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Setting up linux-image-extra-4.4.0-71-generic (4.4.0-71.92) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-71-generic /boot/vmlinuz-4.4.0-71-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-71-generic /boot/vmlinuz-4.4.0-71-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-71-generic /boot/vmlinuz-4.4.0-71-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-71-generic
Warning: No support for locale: en_GB.utf8
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-71-generic /boot/vmlinuz-4.4.0-71-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-71-generic /boot/vmlinuz-4.4.0-71-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-71-generic /boot/vmlinuz-4.4.0-71-generic
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.4.0-71-generic
Found initrd image: /boot/initrd.img-4.4.0-71-generic
Found linux image: /boot/vmlinuz-4.4.0-70-generic
Found initrd image: /boot/initrd.img-4.4.0-70-generic
Found linux image: /boot/vmlinuz-4.4.0-21-generic
Found initrd image: /boot/initrd.img-4.4.0-21-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kc1di
Level 18
Level 18
Posts: 8173
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Update Manager - Kernel Update Hangs

Post by kc1di »

Hello bradshawd and Welcome to Mint,

you can try this in a terminal see what happens:
(Note: you'll have to close the update manager first)

Code: Select all

sudo dpkg --configure -a
If that works or does nothing - next you need to update grub with this command:

Code: Select all

sudo update-grub
Reboot then check to see which kernel is being used.

Code: Select all

uname -r
Good luck
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
bradshawd
Level 1
Level 1
Posts: 16
Joined: Thu Oct 13, 2016 7:07 am

Re: Update Manager - Kernel Update Hangs

Post by bradshawd »

@ kc1di

Many thanks for your response..

Went away - Mowed lawn, Washed Motorcycles and Car came back and it has finally finished after approx 3 hours. just needed to be a little more patient.... :wink:

Derek
User avatar
kc1di
Level 18
Level 18
Posts: 8173
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Update Manager - Kernel Update Hangs

Post by kc1di »

Glad it finally sorted out :)
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
bradshawd
Level 1
Level 1
Posts: 16
Joined: Thu Oct 13, 2016 7:07 am

(SOLVED, I think) Update Manager - Kernel Update Hangs

Post by bradshawd »

Apologies for the very long awaited response to this but it may help somebody.

This seems to be something to do with the fact I have two HDD in the desktop machine.

The update seems to spend an inordinate amount of time attempting to discover the correct boot drive and partition before committing. Unplug the 2nd drive before an update and it is completed in moments rather than hours.

Not Ideal, but a workaround. Either that or only perform the Kernel updates overnight whilst in bed... :D

Derek
wyght

Re: Update Manager - Kernel Update Hangs

Post by wyght »

This fix worked great many thanks :D
Locked

Return to “Other topics”