Hide Forgot
Description of problem: Subject says it. There is a file conflict between wordpress and php-phpmailer in rawhide when trying to update wordpress. Version-Release number of selected component (if applicable): wordpress-5.8.2-2.fc36.noarch How reproducible: Every time. Steps to Reproduce: 1. Have rawhide with php-phpmailer and wordpress 5.8.2.1 installed 2. Run a dnf update 3. Actual results: Error: Transaction test error: file /usr/share/wordpress/wp-includes/PHPMailer/Exception.php from install of wordpress-5.8.2-2.fc36.noarch conflicts with file from package php-phpmailer6-6.5.3-1.fc36.noarch file /usr/share/wordpress/wp-includes/PHPMailer/PHPMailer.php from install of wordpress-5.8.2-2.fc36.noarch conflicts with file from package php-phpmailer6-6.5.3-1.fc36.noarch file /usr/share/wordpress/wp-includes/PHPMailer/SMTP.php from install of wordpress-5.8.2-2.fc36.noarch conflicts with file from package php-phpmailer6-6.5.3-1.fc36.noarch Expected results: wordpress updates to latest version Additional info:
Known dnf issue, see https://pagure.io/packaging-committee/issue/1139 and bug #1835424 Workaround, before the update: rm /usr/share/wordpress/wp-includes/PHPMailer
That worked. Thanks!
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
Same during upgrading F35 to F36
A variation on the same theme. I just tried an in-place upgrade from f35 to f36 with Wordpress 5.9 to Wordpress 6.0.1. [root@www ~]# dnf system-upgrade download --refresh --releasever=36 . . (lots of output) . The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction test error: file /usr/share/php/PHPMailer/PHPMailer6/PHPMailer.php conflicts between attempted installs of php-phpmailer6-6.6.0-1.fc36.noarch and wordpress-6.0-1.fc36.noarch [root@www ~]# The workaround from comment 1 above, rm /usr/share/wordpress/wp-includes/PHPMailer worked. Looks like Wordpress 6.0.1 has its own copy of /usr/share/wordpress/wp-includes/PHPmailer/ instead of a symlink to /usr/share/php/PHPMailer/PHPMailer6/.