关于使用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源

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

 

相关文章:

  • 2021-11-11
  • 2021-07-16
  • 2021-10-03
  • 2021-07-21
  • 2022-12-23
  • 2021-09-23
  • 2023-03-31
猜你喜欢
  • 2021-10-30
  • 2021-12-28
  • 2022-12-23
  • 2021-12-02
  • 2021-08-08
  • 2022-12-23
相关资源
相似解决方案