After following the guide to Update the ISPConfig Perfect Server from Ubuntu 22.04 to Ubuntu 24.04, I tried to change my Nextcloud site to use PHP 8.3 instead of the previous 8.2 (or 8.1). The obvious next step was to review PHP installation, configuration, and modules. I found some modules which were installed for 8.2 for not for 8.3, so I tried to install them. The installation failed with error "Unable to correct problems, you have held broken packages.", but it appears that ubuntu22 packages are installed, rather than ubuntu 24 packages. Is this expected? # apt install php8.3-bcmath php8.3-bz2 php8.3-gmp php8.3-imagick Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: php8.3-bcmath : Depends: php8.3-common (= 8.3.6-0ubuntu0.24.04.6) but 8.3.30-3+ubuntu22.04.1+deb.sury.org+1 is to be installed php8.3-bz2 : Depends: php8.3-common (= 8.3.6-0ubuntu0.24.04.6) but 8.3.30-3+ubuntu22.04.1+deb.sury.org+1 is to be installed php8.3-gmp : Depends: php8.3-common (= 8.3.6-0ubuntu0.24.04.6) but 8.3.30-3+ubuntu22.04.1+deb.sury.org+1 is to be installed E: Unable to correct problems, you have held broken packages.
No, this is not normal. Seems as if your system has the sury repo from Ondrej installed and not the Ondrej PPA for Ubuntu, and the sury repo you installed is still the one for Ubuntu 22.04. This might help you:
Thanks, @till . That does seem to be my situation, though my output differs somewhat from that described in the other post. When I ran: grep -R "sury\|packages.sury.org" /etc/apt/ I saw: grep: /etc/apt/trusted.gpg.d/debsuryorg-archive.gpg: binary file matches rather than the /etc/apt/sources.list.d/php.list:deb https://packages.sury.org/php/ jammy main suggested by that post. Nevertheless, I continued on, presuming that the steps in that post might eventually sync up to what I was seeing. I won't at this point go into all the detail, but for now skipping to the last "very important" step, I see many packages still on jammy: Expand: output $ apt list --installed | grep ubuntu22.04 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. libgd3/now 2.3.3-13+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 2.3.3-13+ubuntu24.04.1+deb.sury.org+1] libpcre3/now 2:8.45-1+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,local] php-bcmath/now 2:8.4+101~+ubuntu22.04.1+deb.sury.org+1 all [installed,upgradable to: 2:8.4+101~+ubuntu24.04.1+deb.sury.org+1] php-bz2/now 2:8.4+101~+ubuntu22.04.1+deb.sury.org+1 all [installed,upgradable to: 2:8.4+101~+ubuntu24.04.1+deb.sury.org+1] php-cli/now 2:8.4+101~+ubuntu22.04.1+deb.sury.org+1 all [installed,upgradable to: 2:8.4+101~+ubuntu24.04.1+deb.sury.org+1] php-common/now 2:101~+ubuntu22.04.1+deb.sury.org+1 all [installed,upgradable to: 2:101~+ubuntu24.04.1+deb.sury.org+1] php-gmp/now 2:8.4+101~+ubuntu22.04.1+deb.sury.org+1 all [installed,upgradable to: 2:8.4+101~+ubuntu24.04.1+deb.sury.org+1] php-mbstring/now 2:8.4+101~+ubuntu22.04.1+deb.sury.org+1 all [installed,upgradable to: 2:8.4+101~+ubuntu24.04.1+deb.sury.org+1] php-pear/now 1:1.10.16+submodules+notgz-2+ubuntu22.04.1+deb.sury.org+1 all [installed,upgradable to: 1:1.10.16+submodules+notgz-2+ubuntu24.04.1+deb.sury.org+1] php-xml/now 2:8.4+101~+ubuntu22.04.1+deb.sury.org+1 all [installed,upgradable to: 2:8.4+101~+ubuntu24.04.1+deb.sury.org+1] php7.0-cgi/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-cli/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-common/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-curl/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-fpm/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-gd/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-imap/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-intl/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-json/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-mbstring/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-mcrypt/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-mysql/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-opcache/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-pspell/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-readline/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-recode/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-soap/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-sqlite3/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-tidy/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-xml/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-xmlrpc/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0-zip/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.0/now 7.0.33-86+ubuntu22.04.1+deb.sury.org+1 all [installed,upgradable to: 7.0.33-86+ubuntu24.04.1+deb.sury.org+1] php7.4-cgi/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-cli/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-common/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-curl/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-fpm/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-gd/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-imap/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-intl/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-json/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-mbstring/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-mysql/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-opcache/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-pspell/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-readline/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-soap/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-sqlite3/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-tidy/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-xml/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-xmlrpc/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4-zip/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php7.4/now 1:7.4.33-26+ubuntu22.04.1+deb.sury.org+1 all [installed,upgradable to: 1:7.4.33-26+ubuntu24.04.1+deb.sury.org+1] php8.1-apcu/now 5.1.28-1+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 5.1.28-1+ubuntu24.04.1+deb.sury.org+1] php8.1-bcmath/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-cgi/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-cli/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-common/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-curl/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-fpm/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-gd/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-gmp/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-igbinary/now 3.2.16-6+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 3.2.16-6+ubuntu24.04.1+deb.sury.org+1] php8.1-imap/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-intl/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-mbstring/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-memcache/now 8.2-5+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2-5+ubuntu24.04.1+deb.sury.org+1] php8.1-mysql/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-opcache/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-pspell/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-readline/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-redis/now 6.3.0-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 6.3.0-2+ubuntu24.04.1+deb.sury.org+1] php8.1-soap/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-sqlite3/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-tidy/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-xml/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1-zip/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.1/now 8.1.34-3+ubuntu22.04.1+deb.sury.org+1 all [installed,upgradable to: 8.1.34-3+ubuntu24.04.1+deb.sury.org+1] php8.2-apcu/now 5.1.28-1+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 5.1.28-1+ubuntu24.04.1+deb.sury.org+1] php8.2-bcmath/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-bz2/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-cgi/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-cli/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-common/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-curl/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-fpm/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-gd/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-gmp/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-igbinary/now 3.2.16-6+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 3.2.16-6+ubuntu24.04.1+deb.sury.org+1] php8.2-imap/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-intl/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-mbstring/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-memcache/now 8.2-5+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2-5+ubuntu24.04.1+deb.sury.org+1] php8.2-mysql/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-opcache/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-phpdbg/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-pspell/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-readline/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-redis/now 6.3.0-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 6.3.0-2+ubuntu24.04.1+deb.sury.org+1] php8.2-soap/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-sqlite3/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-tidy/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-xml/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2-zip/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.2/now 8.2.30-3+ubuntu22.04.1+deb.sury.org+1 all [installed,upgradable to: 8.2.30-3+ubuntu24.04.1+deb.sury.org+1] php8.4-bcmath/now 8.4.18-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.4.18-2+ubuntu24.04.1+deb.sury.org+1] php8.4-bz2/now 8.4.18-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.4.18-2+ubuntu24.04.1+deb.sury.org+1] php8.4-cli/now 8.4.18-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.4.18-2+ubuntu24.04.1+deb.sury.org+1] php8.4-common/now 8.4.18-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.4.18-2+ubuntu24.04.1+deb.sury.org+1] php8.4-gmp/now 8.4.18-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.4.18-2+ubuntu24.04.1+deb.sury.org+1] php8.4-mbstring/now 8.4.18-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.4.18-2+ubuntu24.04.1+deb.sury.org+1] php8.4-opcache/now 8.4.18-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.4.18-2+ubuntu24.04.1+deb.sury.org+1] php8.4-phpdbg/now 8.4.18-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.4.18-2+ubuntu24.04.1+deb.sury.org+1] php8.4-readline/now 8.4.18-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.4.18-2+ubuntu24.04.1+deb.sury.org+1] php8.4-xml/now 8.4.18-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.4.18-2+ubuntu24.04.1+deb.sury.org+1] php8.5-cli/now 8.5.3-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.5.3-2+ubuntu24.04.1+deb.sury.org+1] php8.5-common/now 8.5.3-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.5.3-2+ubuntu24.04.1+deb.sury.org+1] php8.5-phpdbg/now 8.5.3-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.5.3-2+ubuntu24.04.1+deb.sury.org+1] php8.5-readline/now 8.5.3-2+ubuntu22.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 8.5.3-2+ubuntu24.04.1+deb.sury.org+1] Is there a command which will handle all these upgrades at once?
Here's the output of the apt-cache command. Code: $ apt-cache policy php8.3-common libgd3 libpcre3 php8.3-common: Installed: 8.3.30-3+ubuntu24.04.1+deb.sury.org+1 Candidate: 8.3.30-3+ubuntu24.04.1+deb.sury.org+1 Version table: *** 8.3.30-3+ubuntu24.04.1+deb.sury.org+1 500 500 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble/main amd64 Packages 100 /var/lib/dpkg/status 8.3.6-0ubuntu0.24.04.6 500 500 http://de.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages 8.3.6-0maysync1 500 500 http://de.archive.ubuntu.com/ubuntu noble/main amd64 Packages libgd3: Installed: 2.3.3-13+ubuntu24.04.1+deb.sury.org+1 Candidate: 2.3.3-13+ubuntu24.04.1+deb.sury.org+1 Version table: *** 2.3.3-13+ubuntu24.04.1+deb.sury.org+1 500 500 https://ppa.launchpadcontent.net/ondrej/php/ubuntu noble/main amd64 Packages 100 /var/lib/dpkg/status 2.3.3-9ubuntu5 500 500 http://de.archive.ubuntu.com/ubuntu noble/main amd64 Packages libpcre3: Installed: 2:8.45-1+ubuntu22.04.1+deb.sury.org+1 Candidate: 2:8.45-1+ubuntu22.04.1+deb.sury.org+1 Version table: *** 2:8.45-1+ubuntu22.04.1+deb.sury.org+1 100 100 /var/lib/dpkg/status 2:8.39-15build1 500 500 http://de.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
Thanks, @till. Here's the output of that apt list command. Code: $ apt list --installed 2>/dev/null | grep '\[installed,local\]' goaccess/now 1:1.9.3-focal amd64 [installed,local] libffi7/now 3.3-5ubuntu1 amd64 [installed,local] libprocps8/now 2:3.3.17-6ubuntu2.1 amd64 [installed,local] libruby2.7/now 2.7.0-5ubuntu1.12 amd64 [installed,local] libruby3.0/now 3.0.2-7ubuntu2.11 amd64 [installed,local] libssl1.1/now 1.1.1f-1ubuntu2.22 amd64 [installed,local] linux-headers-5.15.0-170-generic/now 5.15.0-170.180 amd64 [installed,local] linux-headers-5.15.0-170/now 5.15.0-170.180 all [installed,local] linux-image-5.15.0-170-generic/now 5.15.0-170.180 amd64 [installed,local] linux-modules-5.15.0-170-generic/now 5.15.0-170.180 amd64 [installed,local] linux-modules-extra-5.15.0-170-generic/now 5.15.0-170.180 amd64 [installed,local] mime-support/now 3.66 all [installed,local]
Pardon me, yes, I did run the other commands, and running Nextcloud on PHP 8.3 rather than 8.2 appears to work successfully now.