TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: CHRIS GREEN
from: MARTIN GREGORIE
date: 2020-12-05 18:42:00
subject: Re: Pi 4 stuck on apt upg

On Sat, 05 Dec 2020 14:15:07 +0000, Chris Green wrote:

> 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.

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

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.