If the laptop is upgrading the kernel so slowly it shuts down in the middle of a power outage it’s probably old as hell and has barely any battery to charge.
In a comment he clarified that the laptop was plugged in and there was a power failure. Regardless, chrooting in should be a fairly straightforward fix.
That’s why UPS boxes exist … Or Timeshift if you don’t have the cash
Image says “laptop”. op could have just charge the battery a but before running the update.
If the laptop is upgrading the kernel so slowly it shuts down in the middle of a power outage it’s probably old as hell and has barely any battery to charge.
In a comment he clarified that the laptop was plugged in and there was a power failure. Regardless, chrooting in should be a fairly straightforward fix.