CentOS 5使用yum install安装软件出现错误的处理办法

发布时间:2020-07-12编辑:脚本学堂
centos 5中使用yum install安装软件时,出现错误:Error: pkgKey 169 doesn't exist in repo base,本文提供一种最简解决方法,供大家参考。

centos5中使用yum install安装软件,错误提示如下:
 

复制代码 代码示例:
Error: pkgKey 169 doesn't exist in repo base
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
yum update