当前位置:Gxlcms > 数据库问题 > yum update 错误 error: rpmdbNextIterator

yum update 错误 error: rpmdbNextIterator

时间:2021-07-01 10:21:17 帮助过:103人阅读

  1. <code class="language-bash">[root@bogon ~]# yum update
  2. 已加载插件:fastestmirror, product-id, search-disabled-repos, subscription-manager
  3. This system is not registered with an entitlement server. You can use subscription-manager to register.
  4. Loading mirror speeds from cached hostfile
  5. * base: mirrors.njupt.edu.cn
  6. * extras: mirrors.njupt.edu.cn
  7. * updates: mirrors.njupt.edu.cn
  8. 正在解决依赖关系
  9. --> 正在检查事务
  10. ---> 软件包 kernel.x86_64.0.3.10.0-1127.19.1.el7 将被 安装
  11. ---> 软件包 kernel-tools.x86_64.0.3.10.0-1127.18.2.el7 将被 升级
  12. ---> 软件包 kernel-tools.x86_64.0.3.10.0-1127.19.1.el7 将被 更新
  13. ---> 软件包 kernel-tools-libs.x86_64.0.3.10.0-1127.18.2.el7 将被 升级
  14. ---> 软件包 kernel-tools-libs.x86_64.0.3.10.0-1127.19.1.el7 将被 更新
  15. ---> 软件包 python-perf.x86_64.0.3.10.0-1127.18.2.el7 将被 升级
  16. ---> 软件包 python-perf.x86_64.0.3.10.0-1127.19.1.el7 将被 更新
  17. --> 解决依赖关系完成
  18. 依赖关系解决
  19. ===============================================================================================================================
  20. Package 架构 版本 源 大小
  21. ===============================================================================================================================
  22. 正在安装:
  23. kernel x86_64 3.10.0-1127.19.1.el7 updates 50 M
  24. 正在更新:
  25. kernel-tools x86_64 3.10.0-1127.19.1.el7 updates 8.1 M
  26. kernel-tools-libs x86_64 3.10.0-1127.19.1.el7 updates 8.0 M
  27. python-perf x86_64 3.10.0-1127.19.1.el7 updates 8.1 M
  28. 事务概要
  29. ===============================================================================================================================
  30. 安装 1 软件包
  31. 升级 3 软件包
  32. 总计:74 M
  33. Is this ok [y/d/N]: y
  34. Downloading packages:
  35. error: rpmdbNextIterator: skipping h# 483 Header V3 RSA/SHA256 Signature, key ID f4a80eb5: BAD
  36. Running transaction check
  37. Running transaction test
  38. Transaction check error:
  39. file /usr/lib64/libcpupower.so.0.0.0 from install of kernel-tools-libs-3.10.0-1127.19.1.el7.x86_64 conflicts with file from package kernel-tools-libs-3.10.0-1127.18.2.el7.x86_64
  40. 错误概要
  41. -------------
  42. [root@bogon ~]# cd /var/lib/rpm
  43. [root@bogon rpm]# ls
  44. Basenames __db.002 Group Obsoletename Requirename Triggername
  45. Conflictname __db.003 Installtid Packages Sha1header
  46. __db.001 Dirnames Name Providename Sigmd5
  47. [root@bogon rpm]# rm -rf __db.*
  48. [root@bogon rpm]# rpm --rebuilddb
  49. 错误:rpmdbNextIterator:跳过 h# 483 头 SHA1 摘要: BAD Expected(d7694f041bb165984e43a2f4654500b90d0f7d98) != (dffc59c50d6af999a82bb2eb9efc333eed0d1181)
  50. [root@bogon rpm]# yum update
  51. 已加载插件:fastestmirror, product-id, search-disabled-repos, subscription-manager
  52. This system is not registered with an entitlement server. You can use subscription-manager to register.
  53. Loading mirror speeds from cached hostfile
  54. * base: mirrors.njupt.edu.cn
  55. * extras: mirrors.njupt.edu.cn
  56. * updates: mirrors.njupt.edu.cn
  57. 正在解决依赖关系
  58. --> 正在检查事务
  59. ---> 软件包 kernel.x86_64.0.3.10.0-1127.19.1.el7 将被 安装
  60. ---> 软件包 kernel-tools.x86_64.0.3.10.0-1127.18.2.el7 将被 升级
  61. ---> 软件包 kernel-tools.x86_64.0.3.10.0-1127.19.1.el7 将被 更新
  62. --> 正在处理依赖关系 kernel-tools-libs = 3.10.0-1127.19.1.el7,它被软件包 kernel-tools-3.10.0-1127.19.1.el7.x86_64 需要
  63. --> 正在处理依赖关系 libcpupower.so.0()(64bit),它被软件包 kernel-tools-3.10.0-1127.19.1.el7.x86_64 需要
  64. ---> 软件包 python-perf.x86_64.0.3.10.0-1127.18.2.el7 将被 升级
  65. ---> 软件包 python-perf.x86_64.0.3.10.0-1127.19.1.el7 将被 更新
  66. --> 正在检查事务
  67. ---> 软件包 kernel-tools-libs.x86_64.0.3.10.0-1127.19.1.el7 将被 安装
  68. --> 解决依赖关系完成
  69. 依赖关系解决
  70. ==============================================================================
  71. Package 架构 版本 源 大小
  72. ==============================================================================
  73. 正在安装:
  74. kernel x86_64 3.10.0-1127.19.1.el7 updates 50 M
  75. 正在更新:
  76. kernel-tools x86_64 3.10.0-1127.19.1.el7 updates 8.1 M
  77. python-perf x86_64 3.10.0-1127.19.1.el7 updates 8.1 M
  78. 为依赖而安装:
  79. kernel-tools-libs x86_64 3.10.0-1127.19.1.el7 updates 8.0 M
  80. 事务概要
  81. ==============================================================================
  82. 安装 1 软件包 (+1 依赖软件包)
  83. 升级 2 软件包
  84. 总计:74 M
  85. Is this ok [y/d/N]: y
  86. Downloading packages:
  87. Running transaction check
  88. Running transaction test
  89. Transaction test succeeded
  90. Running transaction
  91. 警告:RPM 数据库已被非 yum 程序修改。
  92. 正在安装 : kernel-tools-libs-3.10.0-1127.19.1.el7.x86_64 1/6
  93. 正在更新 : kernel-tools-3.10.0-1127.19.1.el7.x86_64 2/6
  94. 正在安装 : kernel-3.10.0-1127.19.1.el7.x86_64 3/6
  95. 正在更新 : python-perf-3.10.0-1127.19.1.el7.x86_64 4/6
  96. 清理 : kernel-tools-3.10.0-1127.18.2.el7.x86_64 5/6
  97. 清理 : python-perf-3.10.0-1127.18.2.el7.x86_64 6/6
  98. 验证中 : python-perf-3.10.0-1127.19.1.el7.x86_64 1/6
  99. 验证中 : kernel-3.10.0-1127.19.1.el7.x86_64 2/6
  100. 验证中 : kernel-tools-3.10.0-1127.19.1.el7.x86_64 3/6
  101. 验证中 : kernel-tools-libs-3.10.0-1127.19.1.el7.x86_64 4/6
  102. 验证中 : kernel-tools-3.10.0-1127.18.2.el7.x86_64 5/6
  103. 验证中 : python-perf-3.10.0-1127.18.2.el7.x86_64 6/6
  104. 已安装:
  105. kernel.x86_64 0:3.10.0-1127.19.1.el7
  106. 作为依赖被安装:
  107. kernel-tools-libs.x86_64 0:3.10.0-1127.19.1.el7
  108. 更新完毕:
  109. kernel-tools.x86_64 0:3.10.0-1127.19.1.el7
  110. python-perf.x86_64 0:3.10.0-1127.19.1.el7
  111. 完毕!
  112. </code>

yum update 错误 error: rpmdbNextIterator

标签:软件包   reg   system   this   class   root   install   you   sha   

人气教程排行