centos 安装MySQL报错You could try using --skip-broken to work around the problem You could try running:
生活随笔
收集整理的這篇文章主要介紹了
centos 安装MySQL报错You could try using --skip-broken to work around the problem You could try running:
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
centos?安裝MySQL報錯You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm rpm -ivh mysql-community-release-el7-5.noarch.rpm yum install mysql-community-server報的錯誤
Removing mariadb-libs.x86_64 1:5.5.56-2.el7 - u due to obsoletes from mysql-community-libs.x86_64 0:5.6.38-2.el7 - u --> Restarting Dependency Resolution with new changes. --> Running transaction check ---> Package mariadb.x86_64 1:5.5.56-2.el7 will be an update ---> Package mariadb-libs.x86_64 1:5.5.56-2.el7 will be an update ---> Package mariadb-server.x86_64 1:5.5.56-2.el7 will be an update --> Processing Dependency: mariadb-server for package: akonadi-mysql-1.9.2-4.el7.x86_64 --> Finished Dependency Resolution Error: Package: akonadi-mysql-1.9.2-4.el7.x86_64 (@anaconda)Requires: mariadb-serverRemoving: 1:mariadb-server-5.5.52-1.el7.x86_64 (@anaconda)mariadb-server = 1:5.5.52-1.el7Obsoleted By: mysql-community-server-5.6.38-2.el7.x86_64 (mysql56-community)Not foundUpdated By: 1:mariadb-server-5.5.56-2.el7.x86_64 (base)mariadb-server = 1:5.5.56-2.el7You could try using --skip-broken to work around the problemYou could try running: rpm -Va --nofiles --nodigest報錯原因 :軟件包依賴 mariadb組件
解決方案:
yum -y remove mariadb-libs運(yùn)行
yum install mysql-community-server配置mysql
service mysqld restart mysql -u root mysql> set password for 'root'@'localhost' =password('your password');總結(jié)
以上是生活随笔為你收集整理的centos 安装MySQL报错You could try using --skip-broken to work around the problem You could try running:的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 2017年网易校招题 买苹果
- 下一篇: 总结下载Spring Framework