【解决办法】报错PackageKit-xxx has missing requires of PackageKit-yum...

安装glibc,除了依赖包问题,最后面都会有这个报错
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
PackageKit-0.5.8-25.el6.x86_64 has missing requires of PackageKit-yum = ('0', '0.5.8', '25.el6')
PackageKit-0.5.8-25.el6.x86_64 has missing requires of PackageKit-yum-plugin = ('0', '0.5.8', '25.el6')
rhn-check-1.0.0.1-32.el6.noarch has missing requires of yum-rhn-plugin >= ('0', '0.9.1', '35')


报错截图

秉持着缺啥补啥的原则

yum install -y PackageKit-yum

yum install -y PackageKit-yum-plugin

yum install -y yum-rhn-plugin

image.png

后面安装完成后,继续执行命令发现还是有报错

继续在网上查看资料,才知道还需要卸载红帽验证安装包的模块包rhn-check-xxx.noarch

就是我的3条报错截图中的最后一个报错,yum-rhn-plugin ...

image.png

执行命令:yum remove 'rhn-check-1.0.0.1-32.el6.noarch'

全部报错就都没了

总结一下就是:安装PackageKit相关的包,卸载rhn-check-xxx.noarch

参考命令如下:

yum remove 'rhn-check-1.0.0.1-32.el6.noarch'

yum install -y PackageKit-glib

yum install -y abrt-addon-ccpp

yum install -y PackageKit-yum

yum install -y PackageKit-yum-plugin

你可能感兴趣的:(【解决办法】报错PackageKit-xxx has missing requires of PackageKit-yum...)