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

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
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


Re: Pi 4 stuck on apt upgrade at "Removing 'diversion of /boot/kernel.img..."
On Sat, 05 Dec 2020 14:15:07 +0000, Chris Green wrote:

Quoted text here. Click to load it

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
We've slightly trimmed the long signature. Click to see the full one.
Re: Pi 4 stuck on apt upgrade at "Removing 'diversion of /boot/kernel.img..."
On Sat, 05 Dec 2020 14:15:07 +0000, Chris Green wrote:

Quoted text here. Click to load it

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
We've slightly trimmed the long signature. Click to see the full one.

Site Timeline