Apt update -y && apt upgrade -y error

root@debian :~#  apt install hestia-nginx
Reading package list complete
Analyzing the dependency tree of the software package complete
Reading status information complete
Hestia nginx is already the latest version (1.27.3).
Upgraded 0 software packages, installed 0 new software packages, need to uninstall 0 software packages, and 22 software packages have not been upgraded.
One software package has not been fully installed or uninstalled.
Decompression will consume an additional 0B of space.
Do you wish to continue with the execution? [Y/n] y
Setting hestia nginx (1.27.3)

speed of progress: 0
/Var/lib/dppg/info/estia-ginx.poster: line 15: syshealth_adapt_hestia_nginx_listen_ports: Command not found
dpkg:  Error processing package hestia nginx (-- configure):
The post installation script subprocess of the hestia nginx package has been installed and returned an error status of 127
An error occurred during processing:
hestia-nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian :~#  apt update -y &&  apt upgrade -y
Hit: 1 https://mirrors.ustc.edu.cn/debian  bullseye InRelease
Hit: 2 https://mirrors.ustc.edu.cn/debian  bullseye-updates InRelease                                    
Hit: 3 https://mirrors.ustc.edu.cn/debian  bullseye-backports InRelease                                  
Hit: 5 https://mirrors.ustc.edu.cn/debian-security  bullseye-security InRelease                          
Hit: 6 https://packages.sury.org/apache2  bullseye InRelease                                             
Hit: 4 https://dlm.mariadb.com/repo/mariadb-server/10.11/repo/debian  bullseye InRelease                 
Obtained: 7 https://packages.sury.org/php  bullseye InRelease [7,551 B]                                       
Hit: 8 https://apt.postgresql.org/pub/repos/apt  bullseye-pgdg InRelease                                 
Error: 7 https://packages.sury.org/php  bullseye InRelease                             
Due to the lack of a public key, the following signatures cannot be verified: NO_PUBKEY B188E2B695BD4743
Hit: 9 https://apt.hestiacp.com  bullseye InRelease             
Ignore: 10 https://nginx.org/packages/mainline/bullseye  bullseye InRelease
Error: 11 https://nginx.org/packages/mainline/bullseye  bullseye Release
404  Not Found [IP: 52.58.199.22 443]
Reading package list complete
W:  Error verifying digital signature. This repository has not been updated, so the previous index file is still being used. GPG error: https://packages.sury.org/php Bullseye InRelease: Due to the lack of a public key, the following signatures cannot be verified: NO_PUBKEY B188E2B695BD4743
E:  Warehouse“ https://nginx.org/packages/mainline/bullseye Bulleye Release "does not have a release file.
N:  This source cannot be safely used for updates, so it is disabled by default.
N:  Refer to the apt secure (8) manual for details on warehouse creation and user configuration.

It looks like hestia is outdated…

I have updated the configuration of the software source and it has now been updated normally

Changed the configuration of the following sources

/etc/apt/sources.list.d/nginx.list

deb [arch=amd64 signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://nginx.org/packages/mainline/debian/ bookworm nginx

/etc/apt/sources.list.d/php.list

deb [arch=amd64 signed-by=/usr/share/keyrings/sury-keyring.gpg] https://packages.sury.org/php bookworm main
wget -qO - https://packages.sury.org/php/apt.gpg | sudo gpg --dearmor -o /usr/share/keyrings/sury-keyring.gpg