FreeBSD:mariadb55 与 mysql55 冲突

FreeBSD:mariadb55 与 mysql55 冲突

我正在尝试percona-toolkit在我的系统上安装包/端口:

[root@alexus ~]# uname -a
FreeBSD alexus.org 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #0 r265974: Wed May 14 07:57:04 PDT 2014     [email protected]:/usr/obj/usr/src/sys/R610  amd64
[root@alexus ~]# pkg install percona-toolkit
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (1 conflicting)
Checking integrity... done (0 conflicting)
The following 7 packages will be affected (of 0 checked):

Installed packages to be REMOVED:
    mariadb55-client-5.5.39
    mariadb55-server-5.5.39

New packages to be INSTALLED:
    percona-toolkit: 2.2.11
    p5-Term-ReadKey: 2.32
    p5-DBI: 1.631
    p5-DBD-mysql: 4.028
    mysql55-client: 5.5.40

The operation will free 100 MB.

Proceed with this action? [y/N]: n
[root@alexus ~]# cd /usr/ports/databases/percona-toolkit/ && make config
===> No options to configure
[root@alexus /usr/ports/databases/percona-toolkit]# 

我愿意不是希望删除和/或替换我现有的mariadb55-client和/mariadb55-servermysql55-client

我应该怎么办?

答案1

看起来p5-DBD-mysql是“错误”的一方:

[root@alexus /usr/ports/databases/percona-toolkit]# pkg install p5-DBD-mysql
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (1 conflicting)
Checking integrity... done (0 conflicting)
The following 4 packages will be affected (of 0 checked):

Installed packages to be REMOVED:
    mariadb55-client-5.5.39
    mariadb55-server-5.5.39

New packages to be INSTALLED:
    p5-DBD-mysql: 4.028
    mysql55-client: 5.5.40

The operation will free 107 MB.

Proceed with this action? [y/N]: n
[root@alexus /usr/ports/databases/percona-toolkit]# 

但我仍然可以使用以下命令安装它:

[root@alexus /usr/ports/databases/percona-toolkit]# make -C WITH_MYSQL_VER=55m install
...
...
...
===>  Installing for percona-toolkit-2.2.11
===>  Checking if percona-toolkit already installed
===>   Registering installation for percona-toolkit-2.2.11
[root@alexus /usr/ports/databases/percona-toolkit]# echo "WITH_MYSQL_VER=55m" >> /etc/make.conf 
[root@alexus /usr/ports/databases/percona-toolkit]# 

相关内容