加入收藏 | 设为首页 | 会员中心 | 我要投稿 佛山站长网 (https://www.0757zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

使用yum时总是有提示信息的解决办法

发布时间:2016-11-02 07:51:40 所属栏目:Linux 来源:网络整理
导读:1, 关于使用yumThe program package-cleanup is...的解决办法 在使用yum 时总是有提示信息: The program package-cleanup is found in the yum-utils package

1,

关于使用yum“The program package-cleanup is...”的解决办法

在使用yum 时总是有提示信息:

The program package-cleanup is found in the yum-utils package.

或者提示:

There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.

The program yum-complete-transaction is found in the yum-utils package.

处理步骤:

# 安装 yum-complete-transaction

yum install yum-utils

# 运行 yum-complete-transaction

yum-complete-transaction --cleanup-only

# 清除可能存在的重复包

package-cleanup --dupes

# 清除可能存在的损坏包

package-cleanup --problems

问题解决!

2,

报错:

You could try using --skip-broken to work around the problem

You could try running: package-cleanup --problems

package-cleanup --dupes

rpm -Va --nofiles --nodigest

The program package-cleanup is found in the yum-utils package.

解决:

yum clean all

rpm --rebuilddb

yum update

或者换一个yum源

删掉原来的需要的包,重新安装

查看本栏目更多精彩内容:http://www.bianceng.cn/OS/Linux/

(编辑:佛山站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读