我正在运行 Fedora 24,带有 kde Plasma,最近决定在主要使用 Ubuntu 后尝试一下。
今天早上尝试更新时,我遇到了 mariadb 和 percona 之间的冲突。我已经从 rpms 安装了 percona(因为我无法从 repos 安装 5.7),但没有安装 mariadb,所以我有点惊讶。
根据更新说明,它与此错误相关:https://bugzilla.redhat.com/show_bug.cgi?id=1352946
这一切都很好,但现在我得到了:
Sep 19 09:57:48 SUBDEBUG
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 60, in main
return _main(base, args)
File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 120, in _main
ret = resolving(cli, base)
File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 149, in resolving
base.do_transaction(display=displays)
File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 228, in do_transaction
super(BaseCli, self).do_transaction(display)
File "/usr/lib/python3.5/site-packages/dnf/base.py", line 591, in do_transaction
self._trans_error_summary(errstring))
dnf.exceptions.Error: Transaction check error:
file /usr/lib64/mysql/plugin/dialog.so from install of mariadb-common-3:10.1.17-1.fc24.x86_64 conflicts with file from package Percona-Server-server-57-5.7.10-3.1.el7.x86_64
file /usr/bin/mysql from install of mariadb-3:10.1.17-1.fc24.x86_64 conflicts with file from package Percona-Server-client-57-5.7.10-3.1.el7.x86_64
file /usr/bin/mysqladmin from install of mariadb-3:10.1.17-1.fc24.x86_64 conflicts with file from package Percona-Server-client-57-5.7.10-3.1.el7.x86_64
file /usr/bin/mysqlbinlog from install of mariadb-3:10.1.17-1.fc24.x86_64 conflicts with file from package Percona-Server-client-57-5.7.10-3.1.el7.x86_64
file /usr/bin/mysqlcheck from install of mariadb-3:10.1.17-1.fc24.x86_64 conflicts with file from package Percona-Server-client-57-5.7.10-3.1.el7.x86_64
file /usr/bin/mysqldump from install of mariadb-3:10.1.17-1.fc24.x86_64 conflicts with file from package Percona-Server-client-57-5.7.10-3.1.el7.x86_64
file /usr/bin/mysqlimport from install of mariadb-3:10.1.17-1.fc24.x86_64 conflicts with file from package Percona-Server-client-57-5.7.10-3.1.el7.x86_64
file /usr/bin/mysqlshow from install of mariadb-3:10.1.17-1.fc24.x86_64 conflicts with file from package Percona-Server-client-57-5.7.10-3.1.el7.x86_64
file /usr/bin/mysqlslap from install of mariadb-3:10.1.17-1.fc24.x86_64 conflicts with file from package Percona-Server-client-57-5.7.10-3.1.el7.x86_64
.
.<SNIP>
.
.
Maria 位于普通的 Fedora 存储库中 - 有什么方法可以告诉 Fedora 不要通过更新安装 mariadb?
令我困惑的是它为什么要尝试安装它。我是不是做了什么蠢事?
感谢任何帮助。
最佳答案
必须返回 gnome 3 并卸载 kde,然后问题就消失了。猜测问题出在 kde 上。
关于linux - 阻止 fedora 安装 mariadb,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39568890/