Неудачный переход на trixie

Всем день добрый.
Имеет место любопытный случай облома при обновлении версии:
Устройство: Wiren Board 8.5.1 (s/n ANBNXQ4V), release wb-2606-trixie-transition (as testing)
Linux wirenboard-ANBNXQ4V 6.8.0-wb160 #1 SM.
Установленный дополнительно софт: Zigbee2Mqtt, Intrahouse (имеет в своем составе Nginx).
Контроллер подключен к сети по WiFi, причем точка доступа выдает каждый раз другой IP без возможности привязать его к mac.
Обновление дошло до конфигурирования Nginx после чего зависло. При проверке оказалось, что все сетевые интерфейсы не сконфигурированы и достучаться получилось только с debug порта.
Сконфигурировал через /etc/network/interfaces порты ethernet, подключил кабелем вместо точки доступа с которой обычно контроллер работает.
Имеем следующую картину - Zigbee2Mqtt, Intrahouse работают штатно - никаких вопросов к ним.
существенная часть системных сервисов не установлена. При попытке продолжить обновление получаем следующее:
…Please try running wb-release --update-debian-release again.
Update to Debian Trixie is available!
Run wb-release --update-debian-release to update
(the update can take up to 45 minutes)

Or download FIT firmware image from S3 Bucket Listing Generator and
update via the web interface by visiting Settings → System

Last login: Mon Jul 27 13:19:44 MSK 2026 on pts/0
wb-diag-collect
root@wirenboard-ANBNXQ4V:~# wb-diag-collect
usage: wb-diag-collect [-h] [-c CONFIG] [-s] [-d] [-t TIMEOUT] output_filename
wb-diag-collect: error: the following arguments are required: output_filename
root@wirenboard-ANBNXQ4V:~# wb-diag-collect transition
Start data collecting
Data was collected successfully in 20.45s
root@wirenboard-ANBNXQ4V:~# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● dnsmasq.service loaded failed failed dnsmasq - A lightweight DHCP and caching DNS server
● nginx.service loaded failed failed A high performance web server and a reverse proxy server
● wb-cloud-agent@wirenboard.cloud.service loaded failed failed Wiren Board Cloud Agent (wirenboard.cloud)
● wb-usb-otg.service loaded failed failed USB Debug Network

root@wirenboard-ANBNXQ4V:~# apt --fix-broken install
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
gir1.2-glib-2.0 ifmetric libbluetooth3 libcares2 libcbor0 libcrypt1:armhf libcurl3t64-gnutls libcurl4-gnutls libfribidi0 libgirepository-1.0-1 libgudev-1.0-0 libjansson4 libjim0.79 liblua5.1-0
libmbim-glib4 libmbim-proxy libmbim-utils libmm-glib0 libmpdec3 libndp0 libnewt0.52 libnftables1 libnftnl11 libngtcp2-crypto-gnutls8 libnm0 libnsl-dev libperl5.32 libpython3.9-minimal
libpython3.9-stdlib libqmi-glib5 libqmi-proxy libqmi-utils libqrtr-glib0 libsasl2-modules libssl3t64:armhf libteamdctl0 libtirpc-dev libzstd1:armhf mobile-broadband-provider-info modemmanager
nftables perl-modules-5.32 python3-dbus python3-gi python3-pycares python3-pycurl python3-wb-nm-helper python3.9 python3.9-minimal telegraf-wb-cloud-agent usb-modeswitch usb-modeswitch-data
zlib1g:armhf
Use ‘apt autoremove’ to remove them.
The following additional packages will be installed:
dbus-user-session libcurl4-gnutls libio-pty-perl libluajit-5.1-2 libluajit-5.1-common libnginx-mod-http-auth-pam libnginx-mod-http-cache-purge libnginx-mod-http-dav-ext libnginx-mod-http-echo
libnginx-mod-http-fancyindex libnginx-mod-http-geoip libnginx-mod-http-geoip2 libnginx-mod-http-headers-more-filter libnginx-mod-http-image-filter libnginx-mod-http-lua libnginx-mod-http-ndk
libnginx-mod-http-perl libnginx-mod-http-subs-filter libnginx-mod-http-uploadprogress libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-nchan
libnginx-mod-stream libnginx-mod-stream-geoip libnginx-mod-stream-geoip2 libnss-systemd libpam-systemd lua-resty-core lua-resty-lrucache udev
Suggested packages:
libtss2-rc0t64
The following NEW packages will be installed:
dbus-user-session libcurl4-gnutls libluajit-5.1-2 libluajit-5.1-common lua-resty-core lua-resty-lrucache
The following packages will be upgraded:
libio-pty-perl libnginx-mod-http-auth-pam libnginx-mod-http-cache-purge libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-fancyindex libnginx-mod-http-geoip
libnginx-mod-http-geoip2 libnginx-mod-http-headers-more-filter libnginx-mod-http-image-filter libnginx-mod-http-lua libnginx-mod-http-ndk libnginx-mod-http-perl libnginx-mod-http-subs-filter
libnginx-mod-http-uploadprogress libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-nchan libnginx-mod-stream libnginx-mod-stream-geoip
libnginx-mod-stream-geoip2 libnss-systemd libpam-systemd udev
25 upgraded, 6 newly installed, 0 to remove and 285 not upgraded.
4 not fully installed or removed.
Need to get 0 B/3,961 kB of archives.
After this operation, 4,244 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Extracting templates from packages: 100%
Setting up nginx (1.26.3-3+deb13u7) …
Warning: The unit file, source configuration file or drop-ins of nginx.service changed on disk. Run ‘systemctl daemon-reload’ to reload units.
Warning: The unit file, source configuration file or drop-ins of nginx.service changed on disk. Run ‘systemctl daemon-reload’ to reload units.
Job for nginx.service failed because the control process exited with error code.
See “systemctl status nginx.service” and “journalctl -xeu nginx.service” for details.
invoke-rc.d: initscript nginx, action “start” failed.
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: enabled)
Drop-In: /usr/lib/systemd/system/nginx.service.d
└─10-restart-on-failure.conf
Active: activating (auto-restart) (Result: exit-code) since Mon 2026-07-27 16:27:52 MSK; 60ms ago
Invocation: 1a8938223eb941209fcc9850d0f4e743
Docs: man:nginx(8)
Process: 214498 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Mem peak: 2.4M
CPU: 46ms
Warning: The unit file, source configuration file or drop-ins of nginx.service changed on disk. Run ‘systemctl daemon-reload’ to reload units.
dpkg: error processing package nginx (–configure):
installed nginx package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)

root@wirenboard-ANBNXQ4V:/usr/lib/systemd/system/nginx.service.d# systemctl status nginx
× nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: enabled)
Drop-In: /usr/lib/systemd/system/nginx.service.d
└─10-restart-on-failure.conf
Active: failed (Result: exit-code) since Mon 2026-07-27 16:35:14 MSK; 34min ago
Invocation: 5955bba175e649dd89454724af9bcbcc
Docs: man:nginx(8)

Jul 27 16:35:14 wirenboard-ANBNXQ4V systemd[1]: nginx.service: Scheduled restart job, restart counter is at 5.
Jul 27 16:35:14 wirenboard-ANBNXQ4V systemd[1]: nginx.service: Start request repeated too quickly.
Jul 27 16:35:14 wirenboard-ANBNXQ4V systemd[1]: nginx.service: Failed with result ‘exit-code’.
Jul 27 16:35:14 wirenboard-ANBNXQ4V systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server.

То есть nginx не стартует ни в какую - и, соответственно, всё, что было в обновлении после ngninx - тоже отсутствует и не ставится в том числе вручную.
Как бы понять чего ему не хватает?

Добрый день.
Покажите пожалуйчста вывод

nginx -t 

2026/07/27 19:19:38 [emerg] 313863#313863: ENGINE_by_id(“ateccx08”) failed (SSL: error:12800067:DSO support routines::could not load the shared library:filename(/usr/lib/aarch64-linux-gnu/engines-3/ateccx08.so): /usr/lib/aarch64-linux-gnu/engines-3/ateccx08.so: cannot open shared object file: No such file or directory error:12800067:DSO support routines::could not load the shared library error:13000084:engine routines::dso not found error:13000074:engine routines::no such engine:id=ateccx08)
nginx: configuration file /etc/nginx/nginx.conf test failed

то бишь на библиотеку крипточипа ругается

Да.
Уже ищет в /usr/lib/aarch64-linux-gnu/engines**-3**/ateccx08.so
А версия libateccssl1.1 0.2.6 держит файлы в engines-1.1
Самый простой путь - закомменитировать строку

ssl_engine ateccx08;

В конфиге nginx, запустить его (Алиса работать не будет) и дообновить.
Потом раскомменнтировать.

этого недостаточно, у него еще и модули лежат старые, а в конфиге указана версия уже обновленных, это приводит к
2026/07/28 15:30:16 [emerg] 1009315#1009315: module “/usr/share/nginx/modules/ndk_http_module.so” version 1018000 instead of 1026003 in /etc/nginx/modules-enabled/10-mod-http-ndk.conf:1
можно, конечно, всё позапрещать сначала, попробовать дообновить, потом разрешить, но это как-то совсем панковский способ.

Что-то у меня подобное воспроизвести (никак) не получается.
Установить именно пакет nginx* новой версии пробовали?

если его тупо попробовать установить - происходит вот такое:
root@wirenboard-ANBNXQ4V:/etc/nginx# apt install nginx
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
nginx is already the newest version (1.26.3-3+deb13u7).
nginx set to manually installed.
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
libcurl3t64-gnutls : Depends: libcurl4-gnutls (>= 8.21.0-2~bpo13+1) but it is not going to be installed
libio-pty-perl : Depends: perlapi-5.32.0 but it is not installable
libnginx-mod-http-auth-pam : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-cache-purge : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-dav-ext : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-echo : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-fancyindex : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-geoip : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-geoip2 : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-headers-more-filter : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-image-filter : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-lua : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-ndk : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-perl : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
Depends: perlapi-5.32.1 but it is not installable
libnginx-mod-http-subs-filter : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-uploadprogress : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-upstream-fair : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-http-xslt-filter : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-mail : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-nchan : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-stream : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-stream-geoip : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnginx-mod-stream-geoip2 : Depends: nginx-common (= 1.18.0-6.1+deb11u8) but 1.26.3-3+deb13u7 is to be installed
libnss-systemd : Depends: systemd (= 247.3-7+deb11u8)
libpam-systemd : Depends: systemd (= 247.3-7+deb11u8)
nginx-extras : Depends: libnginx-mod-http-geoip (= 1.26.3-3+deb13u7) but 1.18.0-6.1+deb11u8 is to be installed
Depends: libnginx-mod-http-image-filter (= 1.26.3-3+deb13u7) but 1.18.0-6.1+deb11u8 is to be installed
Depends: libnginx-mod-http-perl (= 1.26.3-3+deb13u7) but 1.18.0-6.1+deb11u8 is to be installed
Depends: libnginx-mod-http-xslt-filter (= 1.26.3-3+deb13u7) but 1.18.0-6.1+deb11u8 is to be installed
Depends: libnginx-mod-mail (= 1.26.3-3+deb13u7) but 1.18.0-6.1+deb11u8 is to be installed
Depends: libnginx-mod-stream (= 1.26.3-3+deb13u7) but 1.18.0-6.1+deb11u8 is to be installed
Depends: libnginx-mod-stream-geoip (= 1.26.3-3+deb13u7) but 1.18.0-6.1+deb11u8 is to be installed
udev : Depends: libudev1 (= 247.3-7+deb11u8) but 257.13-1~deb13u1 is to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).

естественно тоже не катит: оно попытается запустить nginx, обломится и выйдет. И всё останется как есть.

Да, понятно. Попробуйте пустой конфиг ему, без модулей.
Кстати, контроллер в облаке? Так-то могу и сам покопаться, если доступ дадите.

дык у него клауд агент в списке обломавшихся:
root@wirenboard-ANBNXQ4V:/etc/nginx# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● dnsmasq.service loaded failed failed dnsmasq - A lightweight DHCP and caching DNS server
● nginx.service loaded failed failed A high performance web server and a reverse proxy server
● wb-cloud-agent@wirenboard.cloud.service loaded failed failed Wiren Board Cloud Agent (wirenboard.cloud)
● wb-usb-otg.service loaded failed failed USB Debug Network

Я к нему забавным способом подключаюсь - могу предоставить доступ: там стоит intrahouse, у хауса есть p2p а у админки его есть возможность запустить консоль. Так что если сломать и nginx , которым пользуется intrahouse - придется туда “бежать ножками” (170Км, недалеко, в принципе)

а вот что бывает без модулей:

2026/07/28 16:33:33 [emerg] 1045685#1045685: unknown directive “upload_progress” in /usr/share/wb-mqtt-homeui/nginx/default.conf:9

Так, не очень хороший вариант.

default.conf бы чистый…

Пришлите еще, пожалуйста, архив с диагностической информацией контроллера. Создание архива описано в документации.
Можно из консоли сделать.

дык он еще вчера заготовлен. Только что-то я торможу как его оттуда достать. SCP - некуда класть (перенастраивать firewall сервера телеметрии на ходу как-то не хочется, а больше ничего в интернет не торчит), rclone не ставится :slight_smile:

Да, засада. По FTP наружу выложить?
А так?

printf '#!/bin/sh\nexit 101\n' > /usr/sbin/policy-rc.d
chmod +x /usr/sbin/policy-rc.d

Пока файл на месте, invoke-rc.d/deb-systemd-invoke возвращают 101, postinst’ы считаются успешными, nginx не стартует и не роняет транзакцию. Дальше:

Кстати, apt dist-upgrade так и делает ЕМНИП

попробовал с вовсе пустым default.conf (один заголовок от него остался)
и опять оно натыкается на отсутствующую библиотеку:
root@wirenboard-ANBNXQ4V:/usr/share/wb-mqtt-homeui/nginx# nginx -t
2026/07/28 17:55:01 [emerg] 1092917#1092917: cannot load certificate key “engine:ateccx08”: ENGINE_by_id() failed (SSL: error:12800067:DSO support routines::could not load the shared library:filename(/usr/lib/aarch64-linux-gnu/engines-3/ateccx08.so): /usr/lib/aarch64-linux-gnu/engines-3/ateccx08.so: cannot open shared object file: No such file or directory error:12800067:DSO support routines::could not load the shared library error:13000084:engine routines::dso not found error:13000074:engine routines::no such engine:id=ateccx08)
nginx: configuration file /etc/nginx/nginx.conf test failed

почти прокатило:
root@wirenboard-ANBNXQ4V:/usr/share/wb-mqtt-homeui/nginx# apt --fix-broken install
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
gir1.2-glib-2.0 ifmetric libbluetooth3 libcares2 libcbor0 libcrypt1:armhf libcurl3t64-gnutls libcurl4-gnutls libfribidi0 libgirepository-1.0-1 libgudev-1.0-0 libjansson4 libjim0.79 liblua5.1-0
libmbim-glib4 libmbim-proxy libmbim-utils libmm-glib0 libmpdec3 libndp0 libnewt0.52 libnftables1 libnftnl11 libngtcp2-crypto-gnutls8 libnm0 libnsl-dev libperl5.32 libpython3.9-minimal
libpython3.9-stdlib libqmi-glib5 libqmi-proxy libqmi-utils libqrtr-glib0 libsasl2-modules libssl3t64:armhf libteamdctl0 libtirpc-dev libzstd1:armhf mobile-broadband-provider-info modemmanager
nftables perl-modules-5.32 python3-dbus python3-gi python3-pycares python3-pycurl python3-wb-nm-helper python3.9 python3.9-minimal telegraf-wb-cloud-agent usb-modeswitch usb-modeswitch-data
zlib1g:armhf
Use ‘apt autoremove’ to remove them.
The following additional packages will be installed:
dbus-user-session libcurl4-gnutls libio-pty-perl libluajit-5.1-2 libluajit-5.1-common libnginx-mod-http-auth-pam libnginx-mod-http-cache-purge libnginx-mod-http-dav-ext libnginx-mod-http-echo
libnginx-mod-http-fancyindex libnginx-mod-http-geoip libnginx-mod-http-geoip2 libnginx-mod-http-headers-more-filter libnginx-mod-http-image-filter libnginx-mod-http-lua libnginx-mod-http-ndk
libnginx-mod-http-perl libnginx-mod-http-subs-filter libnginx-mod-http-uploadprogress libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-nchan
libnginx-mod-stream libnginx-mod-stream-geoip libnginx-mod-stream-geoip2 libnss-systemd libpam-systemd lua-resty-core lua-resty-lrucache udev
Suggested packages:
libtss2-rc0t64
The following NEW packages will be installed:
dbus-user-session libcurl4-gnutls libluajit-5.1-2 libluajit-5.1-common lua-resty-core lua-resty-lrucache
The following packages will be upgraded:
libio-pty-perl libnginx-mod-http-auth-pam libnginx-mod-http-cache-purge libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-fancyindex libnginx-mod-http-geoip
libnginx-mod-http-geoip2 libnginx-mod-http-headers-more-filter libnginx-mod-http-image-filter libnginx-mod-http-lua libnginx-mod-http-ndk libnginx-mod-http-perl libnginx-mod-http-subs-filter
libnginx-mod-http-uploadprogress libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-nchan libnginx-mod-stream libnginx-mod-stream-geoip
libnginx-mod-stream-geoip2 libnss-systemd libpam-systemd udev
25 upgraded, 6 newly installed, 0 to remove and 285 not upgraded.
4 not fully installed or removed.
Need to get 0 B/3,961 kB of archives.
After this operation, 4,244 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Extracting templates from packages: 100%
Setting up nginx (1.26.3-3+deb13u7) …
invoke-rc.d: policy-rc.d denied execution of start.
(Reading database … 50771 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-geoip_1.26.3-3+deb13u7_arm64.deb …
Unpacking libnginx-mod-http-geoip (1.26.3-3+deb13u7) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-geoip (1.26.3-3+deb13u7) …
(Reading database … 50771 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-image-filter_1.26.3-3+deb13u7_arm64.deb …
Unpacking libnginx-mod-http-image-filter (1.26.3-3+deb13u7) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-image-filter (1.26.3-3+deb13u7) …
(Reading database … 50771 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-perl_1.26.3-3+deb13u7_arm64.deb …
Unpacking libnginx-mod-http-perl (1.26.3-3+deb13u7) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-perl (1.26.3-3+deb13u7) …
(Reading database … 50773 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-xslt-filter_1.26.3-3+deb13u7_arm64.deb …
Unpacking libnginx-mod-http-xslt-filter (1.26.3-3+deb13u7) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-xslt-filter (1.26.3-3+deb13u7) …
(Reading database … 50773 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-mail_1.26.3-3+deb13u7_arm64.deb …
Unpacking libnginx-mod-mail (1.26.3-3+deb13u7) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-mail (1.26.3-3+deb13u7) …
(Reading database … 50773 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-stream_1.26.3-3+deb13u7_arm64.deb …
Unpacking libnginx-mod-stream (1.26.3-3+deb13u7) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-stream (1.26.3-3+deb13u7) …
(Reading database … 50773 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-stream-geoip2_1%3a3.4-6_arm64.deb …
Unpacking libnginx-mod-stream-geoip2 (1:3.4-6) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-stream-geoip2 (1:3.4-6) …
(Reading database … 50772 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-stream-geoip_1.26.3-3+deb13u7_arm64.deb …
Unpacking libnginx-mod-stream-geoip (1.26.3-3+deb13u7) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-stream-geoip (1.26.3-3+deb13u7) …
(Reading database … 50772 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-auth-pam_1%3a1.5.5-3_arm64.deb …
Unpacking libnginx-mod-http-auth-pam (1:1.5.5-3) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-auth-pam (1:1.5.5-3) …
(Reading database … 50772 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-cache-purge_1%3a2.5.3-3_arm64.deb …
Unpacking libnginx-mod-http-cache-purge (1:2.5.3-3) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-cache-purge (1:2.5.3-3) …
(Reading database … 50772 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-dav-ext_1%3a3.0.0-6_arm64.deb …
Unpacking libnginx-mod-http-dav-ext (1:3.0.0-6) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-dav-ext (1:3.0.0-6) …
(Reading database … 50771 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-echo_1%3a0.63-7_arm64.deb …
Unpacking libnginx-mod-http-echo (1:0.63-7) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-echo (1:0.63-7) …
(Reading database … 50770 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-fancyindex_1%3a0.5.2-6_arm64.deb …
Unpacking libnginx-mod-http-fancyindex (1:0.5.2-6) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-fancyindex (1:0.5.2-6) …
(Reading database … 50770 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-geoip2_1%3a3.4-6_arm64.deb …
Unpacking libnginx-mod-http-geoip2 (1:3.4-6) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-geoip2 (1:3.4-6) …
(Reading database … 50769 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-headers-more-filter_1%3a0.38-2_arm64.deb …
Unpacking libnginx-mod-http-headers-more-filter (1:0.38-2) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-headers-more-filter (1:0.38-2) …
Selecting previously unselected package libluajit-5.1-common.
(Reading database … 50768 files and directories currently installed.)
Preparing to unpack …/libluajit-5.1-common_2.1.0+openresty20250117-2_all.deb …
Unpacking libluajit-5.1-common (2.1.0+openresty20250117-2) …
Setting up libluajit-5.1-common (2.1.0+openresty20250117-2) …
Selecting previously unselected package libluajit-5.1-2:arm64.
(Reading database … 50795 files and directories currently installed.)
Preparing to unpack …/libluajit-5.1-2_2.1.0+openresty20250117-2_arm64.deb …
Unpacking libluajit-5.1-2:arm64 (2.1.0+openresty20250117-2) …
Setting up libluajit-5.1-2:arm64 (2.1.0+openresty20250117-2) …
Selecting previously unselected package lua-resty-lrucache.
(Reading database … 50801 files and directories currently installed.)
Preparing to unpack …/lua-resty-lrucache_0.15-2_all.deb …
Unpacking lua-resty-lrucache (0.15-2) …
Setting up lua-resty-lrucache (0.15-2) …
(Reading database … 50810 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-lua_1%3a0.10.28-2_arm64.deb …
Unpacking libnginx-mod-http-lua (1:0.10.28-2) over (1.18.0-6.1+deb11u8) …
Selecting previously unselected package lua-resty-core.
Preparing to unpack …/lua-resty-core_0.1.31-1_all.deb …
Unpacking lua-resty-core (0.1.31-1) …
Setting up lua-resty-core (0.1.31-1) …
Setting up libnginx-mod-http-lua (1:0.10.28-2) …
(Reading database … 50849 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-ndk_1%3a0.3.4-2_arm64.deb …
Unpacking libnginx-mod-http-ndk (1:0.3.4-2) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-ndk (1:0.3.4-2) …
(Reading database … 50848 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-subs-filter_1%3a0.6.4-7_arm64.deb …
Unpacking libnginx-mod-http-subs-filter (1:0.6.4-7) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-subs-filter (1:0.6.4-7) …
(Reading database … 50848 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-uploadprogress_1%3a0.9.4-2_arm64.deb …
Unpacking libnginx-mod-http-uploadprogress (1:0.9.4-2) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-uploadprogress (1:0.9.4-2) …
(Reading database … 50848 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-http-upstream-fair_1%3a0.0~git20120408.a18b409-6_arm64.deb …
Unpacking libnginx-mod-http-upstream-fair (1:0.0~git20120408.a18b409-6) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-http-upstream-fair (1:0.0~git20120408.a18b409-6) …
(Reading database … 50847 files and directories currently installed.)
Preparing to unpack …/libnginx-mod-nchan_1%3a1.3.7+dfsg-2_arm64.deb …
Unpacking libnginx-mod-nchan (1:1.3.7+dfsg-2) over (1.18.0-6.1+deb11u8) …
Setting up libnginx-mod-nchan (1:1.3.7+dfsg-2) …
Setting up nginx-extras (1.26.3-3+deb13u7) …
(Reading database … 50847 files and directories currently installed.)
Preparing to unpack …/libcurl4-gnutls_8.21.0-2~bpo13+1_arm64.deb …
Unpacking libcurl4-gnutls:arm64 (8.21.0-2~bpo13+1) …
dpkg: error processing archive /var/cache/apt/archives/libcurl4-gnutls_8.21.0-2~bpo13+1_arm64.deb (–unpack):
trying to overwrite ‘/usr/lib/aarch64-linux-gnu/libcurl-gnutls.so.4’, which is also in package libcurl3-gnutls:arm64 7.74.0-1.3+deb11u16
Preparing to unpack …/udev_257.13-1~deb13u1_arm64.deb …
Unpacking udev (257.13-1~deb13u1) over (247.3-7+deb11u8) …
dpkg: warning: unable to delete old directory ‘/lib/udev/hwdb.d’: Directory not empty
dpkg: warning: unable to delete old directory ‘/lib/systemd/system/sysinit.target.wants’: Directory not empty
dpkg: warning: unable to delete old directory ‘/lib/systemd/system/sockets.target.wants’: Directory not empty
dpkg: warning: unable to delete old directory ‘/lib/systemd/network’: Directory not empty
Errors were encountered while processing:
/var/cache/apt/archives/libcurl4-gnutls_8.21.0-2~bpo13+1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Советую (обязательно в screen, так ак сеть дернется)

dpkg --configure -a
apt-get -f install
apt-get update
apt-get -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold dist-upgrade

и оно не осиливает:

dpkg --configure -a
dpkg: dependency problems prevent configuration of libcurl3t64-gnutls:arm64:
libcurl3t64-gnutls:arm64 depends on libcurl4-gnutls (>= 8.21.0-2~bpo13+1); however:
Package libcurl4-gnutls:arm64 is not installed.

dpkg: error processing package libcurl3t64-gnutls:arm64 (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pycurl:
python3-pycurl depends on libcurl3t64-gnutls (>= 8.13.0); however:
Package libcurl3t64-gnutls:arm64 is not configured yet.

dpkg: error processing package python3-pycurl (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libcurl3t64-gnutls:arm64
python3-pycurl

вот на чем всё спотыкается:
apt install libcurl4-gnutls
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following packages were automatically installed and are no longer required:
gir1.2-glib-2.0 ifmetric libbluetooth3 libcares2 libcbor0 libcrypt1:armhf libcurl3t64-gnutls libfribidi0 libgirepository-1.0-1 libgudev-1.0-0 libjansson4 libjim0.79 liblua5.1-0 libmbim-glib4
libmbim-proxy libmbim-utils libmm-glib0 libmpdec3 libndp0 libnewt0.52 libnftables1 libnftnl11 libnm0 libnsl-dev libperl5.32 libpython3.9-minimal libpython3.9-stdlib libqmi-glib5 libqmi-proxy
libqmi-utils libqrtr-glib0 libsasl2-modules libssl3t64:armhf libteamdctl0 libtirpc-dev libzstd1:armhf mobile-broadband-provider-info modemmanager nftables perl-modules-5.32 python3-dbus
python3-gi python3-pycares python3-pycurl python3-wb-nm-helper python3.9 python3.9-minimal telegraf-wb-cloud-agent usb-modeswitch usb-modeswitch-data zlib1g:armhf
Use ‘apt autoremove’ to remove them.
The following NEW packages will be installed:
libcurl4-gnutls
0 upgraded, 1 newly installed, 0 to remove and 286 not upgraded.
2 not fully installed or removed.
Need to get 0 B/383 kB of archives.
After this operation, 1,115 kB of additional disk space will be used.
(Reading database … 50888 files and directories currently installed.)
Preparing to unpack …/libcurl4-gnutls_8.21.0-2~bpo13+1_arm64.deb …
Unpacking libcurl4-gnutls:arm64 (8.21.0-2~bpo13+1) …
dpkg: error processing archive /var/cache/apt/archives/libcurl4-gnutls_8.21.0-2~bpo13+1_arm64.deb (–unpack):
trying to overwrite ‘/usr/lib/aarch64-linux-gnu/libcurl-gnutls.so.4’, which is also in package libcurl3-gnutls:arm64 7.74.0-1.3+deb11u16
Errors were encountered while processing:
/var/cache/apt/archives/libcurl4-gnutls_8.21.0-2~bpo13+1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)