There are unfinished transactions remaining解决方法_LINUX_操作系统

这篇文章主要介绍了There are unfinished transactions remaini

There are unfinished transactions remaining解决方法_LINUX_操作系统

这篇文章主要介绍了There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.解决方法,需要的朋友可以参考下

今天在服务器用yum安装东西的时候,老是报:There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.意思是:有未完成的yum事务,建议先运行yum-complete-transaction命令清除.问了下开发,原来有强制结束yum过,好吧,对于我这样有点轻微强迫症的人来说,不允许服务器出现这些信息的.

解决办法:

复制代码代码如下:# 安装 yum-complete-transaction(这是一个能发现未完成或被中断的yum事务的程序)yum -y install yum-utils# 清除yum缓存yum clean all# 运行 yum-complete-transaction,清理未完成事务yum-complete-transaction –cleanup-only

ps:yum会把下载的软件包和header存储在cache中,而不会自动删除.可用yum clean headers清除header,yum clean packages清除下载的rpm包,yum clean all全清.

本文为网络共享文章,如有侵权请联系邮箱485837881@qq.com

作者: 佚名

为您推荐

返回顶部