Wanted to upgrade from fedora 35 which has been stable for me dev to fedora 36. Got the following error:
What can I do to resolve this?
Transaction check succeeded.
Running transaction test
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.5-1.fc36.noarch and wordpress-6.0.3-1.fc36.noarch
file /usr/share/php/PHPMailer/PHPMailer6/SMTP.php conflicts between attempted installs of php-phpmailer6-6.6.5-1.fc36.noarch and wordpress-6.0.3-1.fc36.noarch
The steps I took were as below:
I did the usual system udpates with
dnf --refresh upgrade
followed by
dnf system-upgrade download --releasever=36
followed by adding optons allowerasing and best options as follows:
dnf system-upgrade download --refresh --releasever=36 --allowerasing --best --skip-broken