On 10/9/24 15:45, David C. Rankin wrote:
On 10/9/24 4:23 PM, Marc Chamberlin via openSUSE Users wrote:
the to be installed apache2-mod_php7-7.4.33-150400.4.37.1.x86_64 requires 'php = 7.4.33', but this requirement
cannot be provided
not installable providers: php7-7.4.33-150400.4.34.1.x86_64[openSUSE:repo-oss]
                   php7-7.4.33-150400.4.37.1.x86_64[openSUSE:update-sle]
    [ ] deinstallation of apache2-mod_php7-7.4.33-150400.4.37.1.x86_64

    [ ] break apache2-mod_php7-7.4.33-150400.4.37.1.x86_64 by ignoring some of its dependencies

    [ ] Following actions will be done:
deinstallation of php8-8.2.20-150600.3.3.1.x86_64
deinstallation of php8-cli-8.2.20-150600.3.3.1.x86_64
deinstallation of php8-xmlwriter-8.2.20-150600.3.3.1.x86_64

This looks like the simple result of a version change from php-7.4 to php-8.2 between 15.5 and 15.6. The php files only affect the ability for apache to serve php pages (or the off case where the php-cli is used to process post information). None of that should affect the workings of you computer other than as a web-server.

The only problem there is if you have some web-application that doesn't support 8.2 (which is rare, changes from 7.4 to 8.2 were nowhere as significant as the 5.6 50 7.4 changes)

Were it me, I'd just 'zypper rm apache2-mod_php7' or `rpm -e apache2-mod_php7` and then finish installing php-8.2 (if you need php at all)

Good luck!


Thanks David, but no joy!

# zypper rm apache2-mod_php7-7.4.33-150400.4.37.1.x86_64
Reading installed packages...
Resolving package dependencies...

The following package is going to be REMOVED:
 apache2-mod_php7

1 package to remove.

Package install size change:
             |         0 B    required by packages that will be installed
   -9.0 MiB  |  -    9.0 MiB  released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): y
error: %preun(apache2-mod_php7-7.4.33-150400.4.37.1.x86_64) scriptlet failed, exit status 1
error: apache2-mod_php7-7.4.33-150400.4.37.1.x86_64: erase failed
(1/1) Removing: apache2-mod_php7-7.4.33-150400.4.37.1.x86_64 .................................................................[error]
Removal of (94)apache2-mod_php7-7.4.33-150400.4.37.1.x86_64(@System) failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): r
error: %preun(apache2-mod_php7-7.4.33-150400.4.37.1.x86_64) scriptlet failed, exit status 1
error: apache2-mod_php7-7.4.33-150400.4.37.1.x86_64: erase failed
(1/1) Removing: apache2-mod_php7-7.4.33-150400.4.37.1.x86_64 .................................................................[error]
Removal of (94)apache2-mod_php7-7.4.33-150400.4.37.1.x86_64(@System) failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
Abort, retry, ignore? [a/r/i] (a): a
Problem occurred during or after installation or removal of packages:
Installation has been aborted as directed.
Please see the above error message for a hint.


AND trying it this way -

# rpm -e apache2-mod_php7-7.4.33-150400.4.37.1.x86_64
error: %preun(apache2-mod_php7-7.4.33-150400.4.37.1.x86_64) scriptlet failed, exit status 1
error: apache2-mod_php7-7.4.33-150400.4.37.1.x86_64: erase failed


Me thinks I am getting a bit fat middle finger from my laptop! LOL  Marc...