Upgrade to 15.6 problem when uninstalling one package
I just finished an attempt to UPGRADE my ASUS laptop from 15.5 to 15.6 and the result is a mess! During the installation process I did run into one problem (see below) where YaST was unable to remove one package and I had to choose the IGNORE option in order to proceed with the rest of the installation. This problem continues to persist. After installation and reboot the laptop was able to bring up the KDE Wayland desktop. During the installation, and afterwards when I use YaST to install additional software I get the following conflicts error message - #### YaST2 conflicts list - generated 2024-10-09 13:00:05 #### 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 #### YaST2 conflicts list END ### When I choose the first option - deinstallation of apache2-mod_php7-7.4.33-150400.4.37.1.x86_64 I then get the following error message - Subprocess failed. Error: RPM failed: Command exited with status 1. History: - 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 I am pretty sure YaST is trying to remove an old version of this apache2-mod_php7 ... file but for some unknown reason it can't Thanks in advance for any and all offers to help me. Marc C
Oops!,I didn't mean to say the result is a mess! That was from a previous draft of this report. There was a problem going on that made using KDE almost impossible but it resolved itself after doing some further updates. Marc.... On 10/9/24 14:16, Marc Chamberlin via openSUSE Users wrote:
I just finished an attempt to UPGRADE my ASUS laptop from 15.5 to 15.6 and the result is a mess! During the installation process I did run into one problem (see below) where YaST was unable to remove one package and I had to choose the IGNORE option in order to proceed with the rest of the installation. This problem continues to persist. After installation and reboot the laptop was able to bring up the KDE Wayland desktop.
During the installation, and afterwards when I use YaST to install additional software I get the following conflicts error message -
#### YaST2 conflicts list - generated 2024-10-09 13:00:05 ####
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
#### YaST2 conflicts list END ###
When I choose the first option - deinstallation of apache2-mod_php7-7.4.33-150400.4.37.1.x86_64 I then get the following error message -
Subprocess failed. Error: RPM failed: Command exited with status 1. History: - 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
I am pretty sure YaST is trying to remove an old version of this apache2-mod_php7 ... file but for some unknown reason it can't Thanks in advance for any and all offers to help me. Marc C
-- *"The Truth is out there" - Spooky* -- *_ _ . . . . . . _ _ . _ _ _ _ . . . . _ . . . . _ _ . _ _ _ . . . . _ _ . _ . . _ . _ _ _ _ . _ . _ . _ . _ . * Computers: the final frontier. These are the voyages of the user Marc. His mission: to explore strange new hardware. To seek out new software and new applications. To boldly go where no Marc has gone before! (/This email is digitally signed. My public key for sending encrypted email to me can be found at - https://keys.openpgp.org/search?q=marc@domesweetdome.us.com or just ask me for it and I will send it to you as an attachment. If you don't understand, no worries, just ignore it and/or ask me to explain it further./)
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! -- David C. Rankin, J.D.,P.E.
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 1package 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...
On 10/9/24 18:37, David C. Rankin wrote:
On 10/9/24 8:25 PM, Marc Chamberlin via openSUSE Users wrote:
AND trying it this way -
#rpm -e apache2-mod_php7-7.4.33-150400.4.37.1.x86_64
# rpm -e --nodeps --noscripts apache2-mod_php7-7.4.33-150400.4.37.1.x86_64
# rpm -e --nodeps --noscripts apache2-mod_php7-7.4.33-150400.4.37.1.x86_64 warning: /etc/php7/apache2/php.ini saved as /etc/php7/apache2/php.ini.rpmsave
On 10/10/24 1:37 PM, Marc Chamberlin via openSUSE Users wrote:
# rpm -e --nodeps --noscripts apache2-mod_php7-7.4.33-150400.4.37.1.x86_64 warning: /etc/php7/apache2/php.ini saved as /etc/php7/apache2/php.ini.rpmsave
Pull out the big gun: # rm -rf /etc/php7 -- David C. Rankin, J.D.,P.E.
On 2024-10-10 20:37, Marc Chamberlin via openSUSE Users wrote:
On 10/9/24 18:37, David C. Rankin wrote:
On 10/9/24 8:25 PM, Marc Chamberlin via openSUSE Users wrote:
AND trying it this way -
#rpm -e apache2-mod_php7-7.4.33-150400.4.37.1.x86_64
# rpm -e --nodeps --noscripts apache2-mod_php7-7.4.33-150400.4.37.1.x86_64
# rpm -e --nodeps --noscripts apache2-mod_php7-7.4.33-150400.4.37.1.x86_64 warning: /etc/php7/apache2/php.ini saved as /etc/php7/apache2/php.ini.rpmsave
That's not a problem, rather the reverse. You are uninstalling php, so the wise thing is to disable (rename) the configuration file. It is not wise to delete configuration files blindly. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
On 2024-10-09 23:16, Marc Chamberlin via openSUSE Users wrote:
I just finished an attempt to UPGRADE my ASUS laptop from 15.5 to 15.6 and the result is a mess! During the installation process I did run into one problem (see below) where YaST was unable to remove one package and I had to choose the IGNORE option in order to proceed with the rest of the installation. This problem continues to persist. After installation and reboot the laptop was able to bring up the KDE Wayland desktop.
Report in Bugzilla. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
participants (3)
-
Carlos E. R.
-
David C. Rankin
-
Marc Chamberlin