Upgrade hung at 55% - after restart system startup doesn't complete

General support questions
Post Reply
VeeDub
Posts: 23
Joined: 2019/12/21 02:34:05

Upgrade hung at 55% - after restart system startup doesn't complete

Post by VeeDub » 2021/01/10 19:59:06

Hello,

I have Centos v7 running in a Hyper-V VM

There was a message in the GUI prompting to install an update.

On restarting, the update hung at 55%.

Eventually I restarted the VM and now it doesn't startup

Appreciate suggestions on how to troubleshoot.

Thanks

VW
Attachments
CentOS_doesn't_startup.png
CentOS_doesn't_startup.png (183.23 KiB) Viewed 96 times

VeeDub
Posts: 23
Joined: 2019/12/21 02:34:05

Re: Upgrade hung at 55% - after restart system startup doesn't complete

Post by VeeDub » 2021/01/10 20:18:39

Hello,

I've made some progress by choosing an older entry on the boot menu.

VW

VeeDub
Posts: 23
Joined: 2019/12/21 02:34:05

Re: Upgrade hung at 55% - after restart system startup doesn't complete

Post by VeeDub » 2021/01/10 20:33:08

Hello,

When I run

Code: Select all

sudo yum update
Response is

Code: Select all

No packages marked for update
But on the GUI I see this

How can I identify what the pending software update is?
Attachments
Install_pending_software_updates.png
Install_pending_software_updates.png (44.59 KiB) Viewed 86 times

VeeDub
Posts: 23
Joined: 2019/12/21 02:34:05

Re: Upgrade hung at 55% - after restart system startup doesn't complete

Post by VeeDub » 2021/01/10 21:08:28

The list of kernels on the boot menu are

3.10-1160.11.1.el7.x86_64 - when this entry is chosen (currently the default) - system startup hangs
3.10.0-1062.el7.x86_64 - system starts

From https://en.wikipedia.org/wiki/CentOS#CentOS_version_7
it appears that the working version is 7.7-1908

And that the broken version is 7.9-2009

VeeDub
Posts: 23
Joined: 2019/12/21 02:34:05

Re: Upgrade hung at 55% - after restart system startup doesn't complete

Post by VeeDub » 2021/01/10 21:14:38

I've changed the default kernel in the boot menu back to 7.7-1908 for now.

I'm guessing that "best practice" I should be on the latest kernel; if someone has some troubleshooting steps am happy to try them

User avatar
TrevorH
Forum Moderator
Posts: 30173
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Upgrade hung at 55% - after restart system startup doesn't complete

Post by TrevorH » 2021/01/11 18:26:22

Start with yum-complete-transaction and see if that helps. It probably won't but it's the first thing to try.

Next, read https://wiki.centos.org/HowTos/Cleaning ... tePackages and see if that applies to your system and if so, follow those.

You probably need to yum reinstall kernel to reinstall the latest kernel and recreate the initramfs file for it.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

VeeDub
Posts: 23
Joined: 2019/12/21 02:34:05

Re: Upgrade hung at 55% - after restart system startup doesn't complete

Post by VeeDub » 2021/01/12 04:56:55

You probably need to yum reinstall kernel to reinstall the latest kernel and recreate the initramfs file for it
That worked

Thanks!

Post Reply

Return to “CentOS 7 - General Support”