Citeren Michael Pujos <pujos.michael@gmail.com>:
I've tried this.
zypper dup then asked for at least 10 or 15 php packages repo vendor changes from "Opensuse:Factory" -> "php 8.0 (openSUSE_Factory)", which I did until being stuck on:
Problem: the to be installed php8-mysql-8.1.2-1.1.x86_64 requires 'php-pdo = 8.1.2', but this requirement cannot be provided not installable providers: php8-pdo-8.1.2-1.1.i586[http-download.opensuse.org-ade0eb17] php8-pdo-8.1.2-1.1.x86_64[http-download.opensuse.org-ade0eb17] php8-pdo-8.1.2-1.1.i586[repo-oss] php8-pdo-8.1.2-1.1.x86_64[repo-oss] Solution 1: do not install php8-zip-8.0.15-8.1.x86_64 Solution 2: break php8-mysql-8.1.2-1.1.x86_64 by ignoring some of its dependencies.
The very first choice I made that lead to situation above, was Solution 3:
Problem: the installed nextcloud-apache-23.0.1-1.1.noarch requires 'mod_php_any < 8.1.0', but this requirement cannot be provided deleted providers: apache2-mod_php8-8.0.15-1.1.x86_64 not installable providers: apache2-mod_php8-8.0.15-8.1.i586[devel_languages_php_php80] apache2-mod_php8-8.0.15-8.1.x86_64[devel_languages_php_php80] apache2-mod_php7-7.4.27-2.1.i586[http-download.opensuse.org-ade0eb17] apache2-mod_php7-7.4.27-2.1.x86_64[http-download.opensuse.org-ade0eb17] apache2-mod_php7-7.4.27-2.1.i586[repo-oss] apache2-mod_php7-7.4.27-2.1.x86_64[repo-oss] Solution 1: Following actions will be done: keep obsolete apache2-mod_php8-8.0.15-1.1.x86_64 keep obsolete php8-8.0.15-1.1.x86_64 Solution 2: Following actions will be done: keep obsolete php8-8.0.15-1.1.x86_64 install apache2-mod_php8-8.0.15-8.1.x86_64 from vendor obs://build.opensuse.org/devel:languages:php replacing apache2-mod_php8-8.0.15-1.1.x86_64 from vendor openSUSE Solution 3: Following actions will be done: install php8-8.0.15-8.1.x86_64 from vendor obs://build.opensuse.org/devel:languages:php replacing php8-8.0.15-1.1.x86_64 from vendor openSUSE install apache2-mod_php8-8.0.15-8.1.x86_64 from vendor obs://build.opensuse.org/devel:languages:php replacing apache2-mod_php8-8.0.15-1.1.x86_64 from vendor openSUSE Solution 4: deinstallation of nextcloud-apache-23.0.1-1.1.noarch Solution 5: break nextcloud-apache-23.0.1-1.1.noarch by ignoring some of its dependencies
zypper addrepo https://download.opensuse.org/repositories/devel:/languages:/php:/php80/open...
If you add this, you'll be able to keep using PHP-8.0. This will be maintained by the PHP maintainers as long as upstream provides updates. See https://www.php.net/supported-versions.php for a list of supported PHP versions and a timeline.
You should switch all packages in one go: # zypper dup --allow-vendor-change --repo devel_languages_php_php80