手机
当前位置:查字典教程网 >操作系统 >unix linux >There are unfinished transactions remaining解决方法
There are unfinished transactions remaining解决方法
摘要:今天在服务器用yum安装东西的时候,老是报:Thereareunfinishedtransactionsremaining.Youmight...

今天在服务器用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全清.

【There are unfinished transactions remaining解决方法】相关文章:

Linux系统找出大文件的方法

ERROR 1045 (28000): Access denied for user root@localhost (using password: NO)

linux ftp服务器架设配置教程

linux shell数据重定向(输入重定向与输出重定向)详细分析

SUSE Linux登录出现黑屏解决方法

双系统启动问题 cannot find grldr in all devices 解决指南

information_schema

linux下配置ip地址四种方法(图文方法)

shell编程基础 单引号和双引号的区别

Linux 误删文件的解决方法

精品推荐
分类导航