在 yum 升级一个包的时候, 失败如下
Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: RPMDB altered outside of yum. Installing : xxxxxxxxx-1.1.6-20.noarch 1/1 Rpmdb checksum is invalid: dCDPT(pkg checksums): xxxxxxxxx-1.1.6-20.noarch - u
解决方法重建 rpmdb
yum clean all rpm --rebuilddb yum makecahe
转载请注明:爱开源 » Rpmdb checksum is invalid: dCDPT(pkg checksums):