Dietpi-update (9.19 -> 9.20) after recent upgrade to Bookworm - fails to complete - sed version error

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=19
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
  • Distro version | bookworm
  • Kernel version | Linux DietPi 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64 GNU/Linux
  • Architecture | amd64
  • SBC model | Native PC (x86_64) - lenovo min-pc
  • Power supply used | OEM (lenovo min-pc)
  • SD card used | SSD via SATA

Additional Information (if applicable)

Steps to reproduce

  1. run “dietpi-update”

Expected behaviour

  • should complete dietpi-update from 9.19.2 to 9.20.1

Actual behaviour

  • process raises an error about sed being the incorrect version
┌──────────────────────────┤ DietPi-Patch ├──────────────────────────┐

- Command: sed --follow-symlinks -i -e /^[[:blank:]]*log=/var/log/aria2.log/c\console-log-level=notice -e /^[[:blank:]]*log-level=/d /mnt/dietpi_userdata/aria2/aria2.conf
- Exit code: 1
- DietPi version: v9.20.0 (MichaIng/master) | HW_MODEL: 21 | HW_ARCH: 10 | DISTRO: 7  
- Error log:
sed: -e expression #1, char 63: expected newer version of sed                                                                                                                                                                                  

Extra details

Any assistance would be appreciated.