do-release-upgrade from Ubuntu 22.04.5 to 24.04 fails #97

Closed
opened 2026-04-05 20:25:29 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Code-TT on 4/30/2025

CloudPanel version(s) affected

2.5.1

Description

Dist-upgrade fails because of this packages

nginx libnginx-mod-http-image-filter libnginx-mod-stream libnginx-mod-http-upstream-fair nginx-common nginx-full libnginx-mod-http-xslt-filter libnginx-mod-http-auth-pam libnginx-mod-http-geoip libnginx-mod-http-echo libnginx-mod-http-subs-filter libnginx-mod-http-geoip2 libnginx-mod-stream-geoip2 libnginx-mod-http-dav-ext libnginx-mod-mail
if i try to remove them, cloudpanel will be deleted too.

What is the best way to upgrade?

How to reproduce

 apt-get update && sudo apt-get upgrade
Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports noble InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  geoip-database libbpf0 libgeoip1t64 libldap-2.5-0 libnginx-mod-http-geoip libnginx-mod-http-image-filter
  libnginx-mod-http-xslt-filter libnginx-mod-mail
Use 'sudo apt autoremove' to remove them.
The following upgrades have been deferred due to phasing:
  apparmor grub-efi-arm64 grub-efi-arm64-bin grub-efi-arm64-signed ubuntu-drivers-common
The following packages have been kept back:
  base-files file libinput10 libjxr-tools libmagic-mgc libpulse-mainloop-glib0 libpulse0 libzmq5 nmap nmap-common
  ntfs-3g open-iscsi proftpd-core proftpd-mod-crypto proftpd-mod-wrap pulseaudio-utils python3-magic sg3-utils
  shim-signed tcpdump xserver-xorg-input-libinput
The following packages will be upgraded:
  apache2-utils geoip-database iproute2
3 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
15 not fully installed or removed.
Need to get 4,976 kB of archives.
After this operation, 258 kB of additional disk space will be used.
N: Some packages may have been kept back due to phasing.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 iproute2 arm64 6.1.0-1ubuntu6 [1,121 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 apache2-utils arm64 2.4.58-1ubuntu8.6 [96.5 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 geoip-database all 20240403-1ubuntu1 [3,759 kB]
Fetched 4,976 kB in 0s (10.9 MB/s)
Preconfiguring packages ...
(Reading database ... 212494 files and directories currently installed.)
Preparing to unpack .../iproute2_6.1.0-1ubuntu6_arm64.deb ...
Unpacking iproute2 (6.1.0-1ubuntu6) over (5.15.0-1ubuntu2) ...
Preparing to unpack .../apache2-utils_2.4.58-1ubuntu8.6_arm64.deb ...
Unpacking apache2-utils (2.4.58-1ubuntu8.6) over (2.4.52-1ubuntu4.14) ...
Preparing to unpack .../geoip-database_20240403-1ubuntu1_all.deb ...
Unpacking geoip-database (20240403-1ubuntu1) over (20191224-3) ...
Setting up iproute2 (6.1.0-1ubuntu6) ...
Setting up geoip-database (20240403-1ubuntu1) ...
Setting up apache2-utils (2.4.58-1ubuntu8.6) ...
Setting up nginx (1.24.0-2ubuntu7.3) ...
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)
     Active: failed (Result: exit-code) since Wed 2025-04-30 03:59:26 CEST; 16ms ago
   Duration: 41min 25.300s
       Docs: man:nginx(8)
    Process: 35565 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
        CPU: 33ms

Apr 30 03:59:26 mail systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server...
Apr 30 03:59:26 mail nginx[35565]: 2025/04/30 03:59:26 [emerg] 35565#35565: unknown directive "pagespeed" in /etc/nginx/nginx.conf:59
Apr 30 03:59:26 mail nginx[35565]: nginx: configuration file /etc/nginx/nginx.conf test failed
Apr 30 03:59:26 mail systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Apr 30 03:59:26 mail systemd[1]: nginx.service: Failed with result 'exit-code'.
Apr 30 03:59:26 mail systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server.
dpkg: error processing package nginx (--configure):
 installed nginx package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of libnginx-mod-http-image-filter:
 libnginx-mod-http-image-filter depends on nginx-abi-1.24.0-1; however:
  Package nginx-abi-1.24.0-1 is not installed.
  Package nginx which provides nginx-abi-1.24.0-1 is not configured yet.

dpkg: error processing package libnginx-mod-http-image-filter (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of libnginx-mod-stream:
 libnginx-mod-stream depends on nginx-abi-1.24.0-1; however:
  Package nginx-abi-1.24.0-1 is not installed.
  Package nginx which provides nginx-abi-1.24.0-1 is not configured yet.

dpkg: error processing package libnginx-mod-stream (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of libnginx-mod-http-upstream-fair:
 libnginx-mod-http-upstream-fair depends on nginx-abi-1.24.0-1; however:
  Package nginx-abi-1.24.0-1 is not installed.
  Package nginx which provides nginx-abi-1.24.0-1 is not configured yet.

dpkg: error processing package libnginx-mod-http-upstream-fair (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of nginx-common:
 nginx-common depends on nginx (>= 1.24.0-2ubuntu7.3); however:
  Package nginx is not configured yet.
 nginx-common depends on nginx (<< 1.24.0-2ubuntu7.3.1~); however:
  Package nginx is not configured yet.

dpkg: error processing package nginx-common (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of nginx-full:
 nginx-full depends on libnginx-mod-http-upstream-fair (>= 1:0.0~git20120408.a18b409-4~); however:
  Package libnginx-mod-http-upstream-fair is not configured yet.
 nginx-full depends on nginx (>= 1.24.0-2ubuntu7.3); however:
  Package nginx is not configured yet.
 nginx-full depends on nginx (<< 1.24.0-2ubuntu7.3.1~); however:
  Package nginx is not configured yet.

dpkg: error processing package nginx-full (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libnginx-mod-http-xslt-filter:
 libnginx-mod-http-xslt-filter depends on nginx-abi-1.24.0-1; however:
  Package nginx-abi-1.24.0-1 is not installed.
  Package nginx which provides nginx-abi-1.24.0-1 is not configured yet.

dpkg: error processing package libnginx-mod-http-xslt-filter (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libnginx-mod-http-auth-pam:
 libnginx-mod-http-auth-pam depends on nginx-abi-1.24.0-1; however:
  Package nginx-abi-1.24.0-1 is not installed.
  Package nginx which provides nginx-abi-1.24.0-1 is not configured yet.

dpkg: error processing package libnginx-mod-http-auth-pam (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libnginx-mod-http-geoip:
 libnginx-mod-http-geoip depends on nginx-abi-1.24.0-1; however:
  Package nginx-abi-1.24.0-1 is not installed.
  Package nginx which provides nginx-abi-1.24.0-1 is not configured yet.

dpkg: error processing package libnginx-mod-http-geoip (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libnginx-mod-http-echo:
 libnginx-mod-http-echo depends on nginx-abi-1.24.0-1; however:
  Package nginx-abi-1.24.0-1 is not installed.
  Package nginx which provides nginx-abi-1.24.0-1 is not configured yet.

dpkg: error processing package libnginx-mod-http-echo (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libnginx-mod-http-subs-filter:
 libnginx-mod-http-subs-filter depends on nginx-abi-1.24.0-1; however:
  Package nginx-abi-1.24.0-1 is not installed.
  Package nginx which provides nginx-abi-1.24.0-1 is not configured yet.

dpkg: error processing package libnginx-mod-http-subs-filter (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libnginx-mod-http-geoip2:
 libnginx-mod-http-geoip2 depends on libnginx-mod-stream (<< 1.24.0.1~); however:
  Package libnginx-mod-stream is not configured yet.
 libnginx-mod-http-geoip2 depends on libnginx-mod-stream (>= 1.24.0); however:
  Package libnginx-mod-stream is not configured yet.
 libnginx-mod-http-geoip2 depends on nginx-abi-1.24.0-1; however:
  Package nginx-abi-1.24.0-1 is not installed.
  Package nginx which provides nginx-abi-1.24.0-1 is not configured yet.

dpkg: error processing package libnginx-mod-http-geoip2 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libnginx-mod-stream-geoip2:
 libnginx-mod-stream-geoip2 depends on libnginx-mod-stream (<< 1.24.0.1~); however:
  Package libnginx-mod-stream is not configured yet.
 libnginx-mod-stream-geoip2 depends on libnginx-mod-stream (>= 1.24.0); however:
  Package libnginx-mod-stream is not configured yet.
 libnginx-mod-stream-geoip2 depends on nginx-abi-1.24.0-1; however:
  Package nginx-abi-1.24.0-1 is not installed.
  Package nginx which provides nginx-abi-1.24.0-1 is not configured yet.

dpkg: error processing package libnginx-mod-stream-geoip2 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libnginx-mod-http-dav-ext:
 libnginx-mod-http-dav-ext depends on nginx-abi-1.24.0-1; however:
  Package nginx-abi-1.24.0-1 is not installed.
  Package nginx which provides nginx-abi-1.24.0-1 is not configured yet.

dpkg: error processing package libnginx-mod-http-dav-ext (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of libnginx-mod-mail:
 libnginx-mod-mail depends on nginx-abi-1.24.0-1; however:
  Package nginx-abi-1.24.0-1 is not installed.
  Package nginx which provides nginx-abi-1.24.0-1 is not configured yet.

dpkg: error processing package libnginx-mod-mail (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Processing triggers for man-db (2.12.0-4build2) ...
Errors were encountered while processing:
 nginx
 libnginx-mod-http-image-filter
 libnginx-mod-stream
 libnginx-mod-http-upstream-fair
 nginx-common
 nginx-full
 libnginx-mod-http-xslt-filter
 libnginx-mod-http-auth-pam
 libnginx-mod-http-geoip
 libnginx-mod-http-echo
 libnginx-mod-http-subs-filter
 libnginx-mod-http-geoip2
 libnginx-mod-stream-geoip2
 libnginx-mod-http-dav-ext
 libnginx-mod-mail
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@mail:/home/thomas# apt remove nginx libnginx-mod-http-image-filter libnginx-mod-stream libnginx-mod-http-upstream-fair nginx-common nginx-full libnginx-mod-http-xslt-filter libnginx-mod-http-auth-pam libnginx-mod-http-geoip libnginx-mod-http-echo libnginx-mod-http-subs-filter libnginx-mod-http-geoip2 libnginx-mod-stream-geoip2 libnginx-mod-http-dav-ext libnginx-mod-mail
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apache2-utils apt-show-versions geoip-database gifsicle iotop jpegoptim libapr1t64 libaprutil1t64 libapt-pkg-perl
  libarchive-tools libbpf0 libc-client2007e libevent-2.1-7t64 libgeoip1t64 libhiredis0.14 libldap-2.5-0 libonig5
  libossp-uuid16 libssl-dev libyajl2 libzmq5 memcached mlock optipng php7.1 php7.1-bcmath php7.1-cli php7.1-curl
  php7.1-fpm php7.1-imap php7.1-intl php7.1-json php7.1-mbstring php7.1-mcrypt php7.1-mysql php7.1-opcache php7.1-soap
  php7.1-sqlite3 php7.1-xmlrpc php7.1-zip php7.2 php7.2-bcmath php7.2-cli php7.2-curl php7.2-fpm php7.2-imap
  php7.2-intl php7.2-json php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-soap php7.2-sqlite3 php7.2-xmlrpc
  php7.2-zip php7.3 php7.3-bcmath php7.3-cli php7.3-curl php7.3-fpm php7.3-imap php7.3-intl php7.3-json
  php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-soap php7.3-sqlite3 php7.3-xmlrpc php7.3-zip php7.4 php7.4-bcmath
  php7.4-cli php7.4-curl php7.4-fpm php7.4-imap php7.4-intl php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache
  php7.4-soap php7.4-sqlite3 php7.4-xmlrpc php7.4-zip php8.0 php8.0-bcmath php8.0-cli php8.0-curl php8.0-fpm
  php8.0-imap php8.0-intl php8.0-mbstring php8.0-mysql php8.0-opcache php8.0-soap php8.0-sqlite3 php8.0-zip php8.1
  php8.1-bcmath php8.1-cli php8.1-curl php8.1-fpm php8.1-imap php8.1-intl php8.1-mbstring php8.1-mysql php8.1-opcache
  php8.1-soap php8.1-sqlite3 php8.1-zip php8.2 php8.2-bcmath php8.2-cli php8.2-curl php8.2-fpm php8.2-imap php8.2-intl
  php8.2-mbstring php8.2-mysql php8.2-opcache php8.2-soap php8.2-sqlite3 php8.2-zip php8.3 php8.3-bcmath php8.3-curl
  php8.3-imap php8.3-intl php8.3-mbstring php8.3-mysql php8.3-soap php8.3-sqlite3 php8.3-zip php8.4 php8.4-bcmath
  php8.4-curl php8.4-intl php8.4-mbstring php8.4-mysql php8.4-soap php8.4-sqlite3 php8.4-zip proftpd-basic
  proftpd-core proftpd-doc proftpd-mod-crypto proftpd-mod-wrap pwgen ssl-cert uuid uwsgi uwsgi-core
  uwsgi-plugin-python3 varnish
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  cloudpanel libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip
  libnginx-mod-http-geoip2 libnginx-mod-http-image-filter libnginx-mod-http-subs-filter
  libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream
  libnginx-mod-stream-geoip2 nginx nginx-common nginx-full
0 upgraded, 0 newly installed, 16 to remove and 26 not upgraded.
15 not fully installed or removed.
After this operation, 311 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

Possible Solution

No response

Additional Context

No response

*Originally created by @Code-TT on 4/30/2025* ### CloudPanel version(s) affected 2.5.1 ### Description Dist-upgrade fails because of this packages `nginx libnginx-mod-http-image-filter libnginx-mod-stream libnginx-mod-http-upstream-fair nginx-common nginx-full libnginx-mod-http-xslt-filter libnginx-mod-http-auth-pam libnginx-mod-http-geoip libnginx-mod-http-echo libnginx-mod-http-subs-filter libnginx-mod-http-geoip2 libnginx-mod-stream-geoip2 libnginx-mod-http-dav-ext libnginx-mod-mail ` if i try to remove them, cloudpanel will be deleted too. What is the best way to upgrade? ### How to reproduce ``` apt-get update && sudo apt-get upgrade Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease Hit:2 http://ports.ubuntu.com/ubuntu-ports noble InRelease Hit:3 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease Hit:4 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease Hit:5 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: geoip-database libbpf0 libgeoip1t64 libldap-2.5-0 libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter libnginx-mod-mail Use 'sudo apt autoremove' to remove them. The following upgrades have been deferred due to phasing: apparmor grub-efi-arm64 grub-efi-arm64-bin grub-efi-arm64-signed ubuntu-drivers-common The following packages have been kept back: base-files file libinput10 libjxr-tools libmagic-mgc libpulse-mainloop-glib0 libpulse0 libzmq5 nmap nmap-common ntfs-3g open-iscsi proftpd-core proftpd-mod-crypto proftpd-mod-wrap pulseaudio-utils python3-magic sg3-utils shim-signed tcpdump xserver-xorg-input-libinput The following packages will be upgraded: apache2-utils geoip-database iproute2 3 upgraded, 0 newly installed, 0 to remove and 26 not upgraded. 15 not fully installed or removed. Need to get 4,976 kB of archives. After this operation, 258 kB of additional disk space will be used. N: Some packages may have been kept back due to phasing. Do you want to continue? [Y/n] Get:1 http://ports.ubuntu.com/ubuntu-ports noble/main arm64 iproute2 arm64 6.1.0-1ubuntu6 [1,121 kB] Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates/main arm64 apache2-utils arm64 2.4.58-1ubuntu8.6 [96.5 kB] Get:3 http://ports.ubuntu.com/ubuntu-ports noble/universe arm64 geoip-database all 20240403-1ubuntu1 [3,759 kB] Fetched 4,976 kB in 0s (10.9 MB/s) Preconfiguring packages ... (Reading database ... 212494 files and directories currently installed.) Preparing to unpack .../iproute2_6.1.0-1ubuntu6_arm64.deb ... Unpacking iproute2 (6.1.0-1ubuntu6) over (5.15.0-1ubuntu2) ... Preparing to unpack .../apache2-utils_2.4.58-1ubuntu8.6_arm64.deb ... Unpacking apache2-utils (2.4.58-1ubuntu8.6) over (2.4.52-1ubuntu4.14) ... Preparing to unpack .../geoip-database_20240403-1ubuntu1_all.deb ... Unpacking geoip-database (20240403-1ubuntu1) over (20191224-3) ... Setting up iproute2 (6.1.0-1ubuntu6) ... Setting up geoip-database (20240403-1ubuntu1) ... Setting up apache2-utils (2.4.58-1ubuntu8.6) ... Setting up nginx (1.24.0-2ubuntu7.3) ... 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) Active: failed (Result: exit-code) since Wed 2025-04-30 03:59:26 CEST; 16ms ago Duration: 41min 25.300s Docs: man:nginx(8) Process: 35565 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE) CPU: 33ms Apr 30 03:59:26 mail systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server... Apr 30 03:59:26 mail nginx[35565]: 2025/04/30 03:59:26 [emerg] 35565#35565: unknown directive "pagespeed" in /etc/nginx/nginx.conf:59 Apr 30 03:59:26 mail nginx[35565]: nginx: configuration file /etc/nginx/nginx.conf test failed Apr 30 03:59:26 mail systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE Apr 30 03:59:26 mail systemd[1]: nginx.service: Failed with result 'exit-code'. Apr 30 03:59:26 mail systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server. dpkg: error processing package nginx (--configure): installed nginx package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of libnginx-mod-http-image-filter: libnginx-mod-http-image-filter depends on nginx-abi-1.24.0-1; however: Package nginx-abi-1.24.0-1 is not installed. Package nginx which provides nginx-abi-1.24.0-1 is not configured yet. dpkg: error processing package libnginx-mod-http-image-filter (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependency problems prevent configuration of libnginx-mod-stream: libnginx-mod-stream depends on nginx-abi-1.24.0-1; however: Package nginx-abi-1.24.0-1 is not installed. Package nginx which provides nginx-abi-1.24.0-1 is not configured yet. dpkg: error processing package libnginx-mod-stream (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. dpkg: dependency problems prevent configuration of libnginx-mod-http-upstream-fair: libnginx-mod-http-upstream-fair depends on nginx-abi-1.24.0-1; however: Package nginx-abi-1.24.0-1 is not installed. Package nginx which provides nginx-abi-1.24.0-1 is not configured yet. dpkg: error processing package libnginx-mod-http-upstream-fair (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of nginx-common: nginx-common depends on nginx (>= 1.24.0-2ubuntu7.3); however: Package nginx is not configured yet. nginx-common depends on nginx (<< 1.24.0-2ubuntu7.3.1~); however: Package nginx is not configured yet. dpkg: error processing package nginx-common (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of nginx-full: nginx-full depends on libnginx-mod-http-upstream-fair (>= 1:0.0~git20120408.a18b409-4~); however: Package libnginx-mod-http-upstream-fair is not configured yet. nginx-full depends on nginx (>= 1.24.0-2ubuntu7.3); however: Package nginx is not configured yet. nginx-full depends on nginx (<< 1.24.0-2ubuntu7.3.1~); however: Package nginx is not configured yet. dpkg: error processing package nginx-full (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of libnginx-mod-http-xslt-filter: libnginx-mod-http-xslt-filter depends on nginx-abi-1.24.0-1; however: Package nginx-abi-1.24.0-1 is not installed. Package nginx which provides nginx-abi-1.24.0-1 is not configured yet. dpkg: error processing package libnginx-mod-http-xslt-filter (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of libnginx-mod-http-auth-pam: libnginx-mod-http-auth-pam depends on nginx-abi-1.24.0-1; however: Package nginx-abi-1.24.0-1 is not installed. Package nginx which provides nginx-abi-1.24.0-1 is not configured yet. dpkg: error processing package libnginx-mod-http-auth-pam (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of libnginx-mod-http-geoip: libnginx-mod-http-geoip depends on nginx-abi-1.24.0-1; however: Package nginx-abi-1.24.0-1 is not installed. Package nginx which provides nginx-abi-1.24.0-1 is not configured yet. dpkg: error processing package libnginx-mod-http-geoip (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of libnginx-mod-http-echo: libnginx-mod-http-echo depends on nginx-abi-1.24.0-1; however: Package nginx-abi-1.24.0-1 is not installed. Package nginx which provides nginx-abi-1.24.0-1 is not configured yet. dpkg: error processing package libnginx-mod-http-echo (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of libnginx-mod-http-subs-filter: libnginx-mod-http-subs-filter depends on nginx-abi-1.24.0-1; however: Package nginx-abi-1.24.0-1 is not installed. Package nginx which provides nginx-abi-1.24.0-1 is not configured yet. dpkg: error processing package libnginx-mod-http-subs-filter (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of libnginx-mod-http-geoip2: libnginx-mod-http-geoip2 depends on libnginx-mod-stream (<< 1.24.0.1~); however: Package libnginx-mod-stream is not configured yet. libnginx-mod-http-geoip2 depends on libnginx-mod-stream (>= 1.24.0); however: Package libnginx-mod-stream is not configured yet. libnginx-mod-http-geoip2 depends on nginx-abi-1.24.0-1; however: Package nginx-abi-1.24.0-1 is not installed. Package nginx which provides nginx-abi-1.24.0-1 is not configured yet. dpkg: error processing package libnginx-mod-http-geoip2 (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of libnginx-mod-stream-geoip2: libnginx-mod-stream-geoip2 depends on libnginx-mod-stream (<< 1.24.0.1~); however: Package libnginx-mod-stream is not configured yet. libnginx-mod-stream-geoip2 depends on libnginx-mod-stream (>= 1.24.0); however: Package libnginx-mod-stream is not configured yet. libnginx-mod-stream-geoip2 depends on nginx-abi-1.24.0-1; however: Package nginx-abi-1.24.0-1 is not installed. Package nginx which provides nginx-abi-1.24.0-1 is not configured yet. dpkg: error processing package libnginx-mod-stream-geoip2 (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of libnginx-mod-http-dav-ext: libnginx-mod-http-dav-ext depends on nginx-abi-1.24.0-1; however: Package nginx-abi-1.24.0-1 is not installed. Package nginx which provides nginx-abi-1.24.0-1 is not configured yet. dpkg: error processing package libnginx-mod-http-dav-ext (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of libnginx-mod-mail: libnginx-mod-mail depends on nginx-abi-1.24.0-1; however: Package nginx-abi-1.24.0-1 is not installed. Package nginx which provides nginx-abi-1.24.0-1 is not configured yet. dpkg: error processing package libnginx-mod-mail (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Processing triggers for man-db (2.12.0-4build2) ... Errors were encountered while processing: nginx libnginx-mod-http-image-filter libnginx-mod-stream libnginx-mod-http-upstream-fair nginx-common nginx-full libnginx-mod-http-xslt-filter libnginx-mod-http-auth-pam libnginx-mod-http-geoip libnginx-mod-http-echo libnginx-mod-http-subs-filter libnginx-mod-http-geoip2 libnginx-mod-stream-geoip2 libnginx-mod-http-dav-ext libnginx-mod-mail needrestart is being skipped since dpkg has failed E: Sub-process /usr/bin/dpkg returned an error code (1) root@mail:/home/thomas# apt remove nginx libnginx-mod-http-image-filter libnginx-mod-stream libnginx-mod-http-upstream-fair nginx-common nginx-full libnginx-mod-http-xslt-filter libnginx-mod-http-auth-pam libnginx-mod-http-geoip libnginx-mod-http-echo libnginx-mod-http-subs-filter libnginx-mod-http-geoip2 libnginx-mod-stream-geoip2 libnginx-mod-http-dav-ext libnginx-mod-mail Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: apache2-utils apt-show-versions geoip-database gifsicle iotop jpegoptim libapr1t64 libaprutil1t64 libapt-pkg-perl libarchive-tools libbpf0 libc-client2007e libevent-2.1-7t64 libgeoip1t64 libhiredis0.14 libldap-2.5-0 libonig5 libossp-uuid16 libssl-dev libyajl2 libzmq5 memcached mlock optipng php7.1 php7.1-bcmath php7.1-cli php7.1-curl php7.1-fpm php7.1-imap php7.1-intl php7.1-json php7.1-mbstring php7.1-mcrypt php7.1-mysql php7.1-opcache php7.1-soap php7.1-sqlite3 php7.1-xmlrpc php7.1-zip php7.2 php7.2-bcmath php7.2-cli php7.2-curl php7.2-fpm php7.2-imap php7.2-intl php7.2-json php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-soap php7.2-sqlite3 php7.2-xmlrpc php7.2-zip php7.3 php7.3-bcmath php7.3-cli php7.3-curl php7.3-fpm php7.3-imap php7.3-intl php7.3-json php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-soap php7.3-sqlite3 php7.3-xmlrpc php7.3-zip php7.4 php7.4-bcmath php7.4-cli php7.4-curl php7.4-fpm php7.4-imap php7.4-intl php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-soap php7.4-sqlite3 php7.4-xmlrpc php7.4-zip php8.0 php8.0-bcmath php8.0-cli php8.0-curl php8.0-fpm php8.0-imap php8.0-intl php8.0-mbstring php8.0-mysql php8.0-opcache php8.0-soap php8.0-sqlite3 php8.0-zip php8.1 php8.1-bcmath php8.1-cli php8.1-curl php8.1-fpm php8.1-imap php8.1-intl php8.1-mbstring php8.1-mysql php8.1-opcache php8.1-soap php8.1-sqlite3 php8.1-zip php8.2 php8.2-bcmath php8.2-cli php8.2-curl php8.2-fpm php8.2-imap php8.2-intl php8.2-mbstring php8.2-mysql php8.2-opcache php8.2-soap php8.2-sqlite3 php8.2-zip php8.3 php8.3-bcmath php8.3-curl php8.3-imap php8.3-intl php8.3-mbstring php8.3-mysql php8.3-soap php8.3-sqlite3 php8.3-zip php8.4 php8.4-bcmath php8.4-curl php8.4-intl php8.4-mbstring php8.4-mysql php8.4-soap php8.4-sqlite3 php8.4-zip proftpd-basic proftpd-core proftpd-doc proftpd-mod-crypto proftpd-mod-wrap pwgen ssl-cert uuid uwsgi uwsgi-core uwsgi-plugin-python3 varnish Use 'apt autoremove' to remove them. The following packages will be REMOVED: cloudpanel libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-geoip2 libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libnginx-mod-stream-geoip2 nginx nginx-common nginx-full 0 upgraded, 0 newly installed, 16 to remove and 26 not upgraded. 15 not fully installed or removed. After this operation, 311 MB disk space will be freed. Do you want to continue? [Y/n] n Abort. ``` ### Possible Solution _No response_ ### Additional Context _No response_
Sign in to join this conversation.