ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Warning: RPMDB altered outside of yum

Warning: RPMDB altered outside of yum

原创 Linux操作系统 作者:甲骨文技术支持 时间:2018-11-30 07:06:26 0 删除 编辑

在用yum安装mysql的时候提示:

Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : mysql-community-common-5.7.24-1.el7.x86_64                                                                                                               1/4 
  Installing : mysql-community-libs-5.7.24-1.el7.x86_64                                                                                                                 2/4 
  Installing : mysql-community-client-5.7.24-1.el7.x86_64                                                                                                               3/4 
  Installing : mysql-community-server-5.7.24-1.el7.x86_64                                                                                                               4/4 
  Verifying  : mysql-community-server-5.7.24-1.el7.x86_64                                                                                                               1/4 
  Verifying  : mysql-community-libs-5.7.24-1.el7.x86_64                                                                                                                 2/4 
  Verifying  : mysql-community-common-5.7.24-1.el7.x86_64                                                                                                               3/4 
  Verifying  : mysql-community-client-5.7.24-1.el7.x86_64


解决办法是删除yum的历史记录

rm -rf /var/lib/yum/history/*.sqlite


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/20893244/viewspace-2222206/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
2009年获得Oracle OCM认证,ITPUB社区OCM联盟成员,熟悉Oracle,mysql,Python,Zabbix等。

注册时间:2016-12-31

  • 博文量
    139
  • 访问量
    184716