Bug 2038302 - When updating to the latest wordpress in rawhide there is a conflict with php-phpmailer6
Summary: When updating to the latest wordpress in rawhide there is a conflict with php...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: wordpress
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1835424 1936422
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-07 18:19 UTC by stan
Modified: 2023-11-21 14:59 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-25 16:14:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description stan 2022-01-07 18:19:30 UTC
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:

Comment 1 Remi Collet 2022-01-08 07:26:18 UTC
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

Comment 2 stan 2022-01-10 15:33:48 UTC
That worked. Thanks!

Comment 3 Ben Cotton 2022-02-08 21:13:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 4 Eugene A. Pivnev 2022-05-27 19:03:54 UTC
Same during upgrading F35 to F36

Comment 5 Greg Scott 2022-06-18 22:55:54 UTC
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/.

Comment 6 Ben Cotton 2023-04-25 16:47:25 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 7 Ludek Smid 2023-05-25 16:14:59 UTC
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.

Fedora Linux 36 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.