今天在CentOS5下安装一个软件出现了如下错误:
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
rpm --rebuilddb
yum update
再次使用yum install 安装软件,顺利完成。