Applicable to:
- Plesk 11.x for Linux
- Plesk 12.5 for Linux
- Plesk for Linux
Symptoms
The following error appears during install or upgrade Plesk packages:
YumTestTransactionError: Test Transaction Errors: file /etc/httpd/conf.d/php.conf from install of php-5.1.6-44.el5_10.x86_64 conflicts with file from package php53-5.3.3-22.el5_10.x86_64
Or
YumTestTransactionError: Test Transaction Errors: file /etc/my.cnf from install of mysql-libs-5.5.45-1.el5.remi.x86_64 conflicts with file from package mysql-5.0.95-5.el5_9.i386
Or
YumTestTransactionError: Test Transaction Errors: file /usr/lib64/libspf2.so.2.1.0 from install of libspf2-1.2.10-5.20150405gitd57d79fd.el7.x86_64 conflicts with file from package psa-spf2-1.2.9.1-centos7.16112417.x86_64
Cause
Packages from third-party repositories conflicting with installed ones.
Resolution
-
Remove all third-party repositories from
/etc/yum.repos.d/
. Keep the required files only:autoinstaller-sources.repo
CentOS-Base.repo
CentOS-Debuginfo.repo
CentOS-Media.repo
CentOS-Vault.repo -
Start the install/upgrade again.
Comments
2 comments
Unfortunately i´ve got this error as well under CentOS 7. Following your solution did not help, even after cleaning the repos and building the yum cache again. It still stops with the "libspf" error.
@Sascha Henken, Hi! I believe this article will help you resolve the issue:
https://support.plesk.com/hc/en-us/articles/115001498853-Failed-to-install-system-updates-Test-Transaction-Errors-libspf2-conflicts-with-psa-spf2
Please sign in to leave a comment.