During an update session taking a Tumbleweed system to 20210203, there were several errors that popped up presenting options to take that involved updates that would take several PHP-related packages from PHP7 to PHP8. I opted for whatever option would take the system to PHP8. This all worked except for the update to “apache2-mod_php7-7.4.14-2.1.x86_64”. Any and all attempts to remove that package failed with an error message stating that the scriptlet had failed with a pretty generic exit status of “1”.
Afterwards, I could go into YaST and see that most everything had been updated to PHP8 except, of course, that apach2-mod-php7" package. I tried shutting down Apache, removing mod_php from the modules configuration – thinking that it was tied to the running Apache – before another attempt to remove the “apache2-mod_php7” but that did not help—same error with that scriptlet.
Ultimately, I’d prefer to remove PHP from that system altogether as anything web related will be Python/Django anyway. But for the moment, I’ve removed all the PHP8 packages and reinstalled the PHP7 packages that were supposed to have been updated (so as to avoid strange errors in the next update if a combination of PHP7 and PHP8 were to be found. I fully expect, though, that I’ll still have problems when zypper sees the PHP7 packages that were supposed to have been removed with the change to 20210203.
Any idea why apache2-mod_php7" is resisting attempts to remove it?
TIA…