Pi 4 stuck on apt upgrade at "Removing 'diversion of /boot/kernel.img..."

My Pi 4 has got stuck during an upgrade. I just did 'apt update' followed by 'apt upgrade' (after 'sudo -i') and it went entirely normally until:-

Adding 'diversion of /boot/fixup4x.dat to /usr/share/rpikernelhack/fixup4x.dat by rpikernelhack' Adding 'diversion of /boot/LICENCE.broadcom to /usr/share/rpikernelhack/LICENCE.broadcom by rpikernelhack' Unpacking raspberrypi-bootloader (1.20201201-1) over (1.20201022-1) ... Setting up raspberrypi-kernel (1.20201201-1) ... Removing 'diversion of /boot/kernel.img to /usr/share/rpikernelhack/kernel.img by rpikernelhack'

... and that's it, stuck at 52% progress.

The Pi is still running, I can ssh into it from another terminal window and things seem fairly normal but I'm not sure how to progress/finish the upgrade.

This is an early Pi 4 with only 1Gb memory.

--
Chris Green
Reply to
Chris Green
Loading thread data ...

Is there any chance the /boot partition is full?

Don't forget that the code on /boot can double in size during the upgrade: the original noobs-size /boot on my old 512Mb Pi 2B got full as a result of a recent update: the kernel was 56MB in a 100MB partition and warnings that /boot was 99% full were issued.

After that I moved its file system from an 8GB to a 16GB SD card, increasing the /boot partition to 1GB from the original 100MB and Bob is now my uncle: it sailed through yesterday's Kernel update without any problems at all.

--
--   
Martin    | martin at 
Gregorie  | gregorie dot org
Reply to
Martin Gregorie

try pressing enter, I have had a couple of upgrades "lockup" waiting for input, but the prompt did not appear until i pressed enter.

--
When I'm gone, boxing will be nothing again.  The fans with the cigars and 
the hats turned down'll be there, but no more housewives and little men in 
the street and foreign presidents.  It's goin' to be back to the fighter  
who 
comes to town, smells a flower, visits a hospital, blows a horn and says 
he's in shape.  Old hat.  I was the onliest boxer in history people asked 
questions like a senator. 
		-- Muhammad Ali
Reply to
alister

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.