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

    From Chris Green@3:770/3 to All on Sat Dec 5 14:15:07 2020
    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
    ยท

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Martin Gregorie@3:770/3 to Chris Green on Sat Dec 5 18:42:19 2020
    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 | Fido<>Usenet Gateway (3:770/3)
  • From alister@3:770/3 to Chris Green on Mon Dec 7 13:37:08 2020
    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.

    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

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