LINUX.ORG.RU
решено ФорумAdmin

yum install exim и последняя версия Mysql


0

1

установил centos, скачал последние rpm'ки c mysql.com, установил их, всё работает, но yum install exim теперь не катит, ему хочется libmysqlclient.so.15, а у меня уже встала 18 версия.

Примерно так:

[root@astral php-5.3.6]# yum install exim
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.de.leaseweb.net
 * base: mirror.de.leaseweb.net
 * extras: [url=ftp://ftp.nluug.nl]ftp.nluug.nl[/url]
 * updates: [url=ftp://ftp.nluug.nl]ftp.nluug.nl[/url]
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package exim.x86_64 0:4.63-5.el5_6.2 set to be updated
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: exim
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: exim
--> Processing Dependency: libpq.so.4()(64bit) for package: exim
--> Running transaction check
---> Package mysql.x86_64 0:5.0.77-4.el5_6.6 set to be updated
---> Package postgresql-libs.x86_64 0:8.1.23-1.el5_6.1 set to be updated
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
mysql-5.0.77-4.el5_6.6.x86_64 from updates has depsolving problems
 --> mysql conflicts with MySQL-server
Error: mysql conflicts with MySQL-server
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
 package-cleanup --dupes
 rpm -Va --nofiles --nodigest

ну сделал я что они предлагают

package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
нет эффекта.

попробовал --skip-broken:

[root@astral php-5.3.6]# yum install exim --skip-broken
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.de.leaseweb.net
 * base: mirror.de.leaseweb.net
 * extras: [url=ftp://ftp.nluug.nl]ftp.nluug.nl[/url]
 * updates: [url=ftp://ftp.nluug.nl]ftp.nluug.nl[/url]
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package exim.x86_64 0:4.63-5.el5_6.2 set to be updated
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: exim
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: exim
--> Processing Dependency: libpq.so.4()(64bit) for package: exim
--> Running transaction check
---> Package mysql.x86_64 0:5.0.77-4.el5_6.6 set to be updated
---> Package postgresql-libs.x86_64 0:8.1.23-1.el5_6.1 set to be updated
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
mysql-5.0.77-4.el5_6.6.x86_64 from updates has depsolving problems
 --> mysql conflicts with MySQL-server
--> Running transaction check
---> Package mysql.x86_64 0:5.0.77-4.el5_6.6 set to be updated
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: exim
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: exim
--> Running transaction check
---> Package mysql.x86_64 0:5.0.77-4.el5_5.5 set to be updated
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
mysql-5.0.77-4.el5_5.5.x86_64 from updates has depsolving problems
 --> mysql conflicts with MySQL-server
--> Running transaction check
---> Package mysql.x86_64 0:5.0.77-4.el5_5.5 set to be updated
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: exim
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: exim
--> Running transaction check
---> Package mysql.x86_64 0:5.0.77-4.el5_5.4 set to be updated
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
mysql-5.0.77-4.el5_5.4.x86_64 from base has depsolving problems
 --> mysql conflicts with MySQL-server
--> Running transaction check
---> Package mysql.x86_64 0:5.0.77-4.el5_5.4 set to be updated
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: exim
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: exim
--> Finished Dependency Resolution
exim-4.63-5.el5_6.2.x86_64 from updates has depsolving problems
 --> Missing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by package exim-4.63-5.el5_6.2.x86_64 (updates)
exim-4.63-5.el5_6.2.x86_64 from updates has depsolving problems
 --> Missing Dependency: libmysqlclient.so.15()(64bit) is needed by package exim-4.63-5.el5_6.2.x86_64 (updates)

Packages skipped because of dependency problems:
 exim-4.63-5.el5_6.2.x86_64 from updates
 mysql-5.0.77-4.el5_5.4.x86_64 from base
 mysql-5.0.77-4.el5_5.5.x86_64 from updates
 mysql-5.0.77-4.el5_6.6.x86_64 from updates
 postgresql-libs-8.1.23-1.el5_6.1.x86_64 from updates

libmysqlclient.so.18 вот он:


[root@astral php-5.3.6]# ls /usr/lib64/ | grep mysql
libmysqlclient_r.so
libmysqlclient_r.so.18
libmysqlclient_r.so.18.0.0
libmysqlclient.so
libmysqlclient.so.18
libmysqlclient.so.18.0.0

И как следует поступать в таких случаях? забить и собрать exim и прочее самому?

РЕШЕНО: Добавил репозиторий remi, там есть mysqlclient15, который подтянулся при установки exim.

воспользуйся репой atrpms — там есть и свежий exim, и mysql. а вообще, реп для центос куча. Найди подходящую комбинацию.

Bers666 ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.