found pre-existing rpmdb problem
来源:互联网 发布:勇敢一点 薛之谦 知乎 编辑:程序博客网 时间:2024/06/05 05:21
起因:从Centos 6.X直接升级为7.0然后执行yum upgrade报错:
** Found 38 pre-existing rpmdb problem(s), 'yum check' output follows:
attr-2.4.44-7.el6.x86_64 has missing requires of libattr = ('0', '2.4.44', '7.el6')
cloog-ppl-0.15.7-1.2.el6.x86_64 has missing requires of libgmp.so.3()(64bit)
1).配置正确的yum源
#yum install epel-release
2).执行相关命令
#yum clean all ##清除本地yum缓存
#yum distro-sync ##同步本地软件和epel源的软件包信息
至此问题基本解决
如果还有个别异常的建议重新安装该软件
** Found 38 pre-existing rpmdb problem(s), 'yum check' output follows:
attr-2.4.44-7.el6.x86_64 has missing requires of libattr = ('0', '2.4.44', '7.el6')
cloog-ppl-0.15.7-1.2.el6.x86_64 has missing requires of libgmp.so.3()(64bit)
cpp-4.4.7-16.el6.x86_64 has missing requires of libgmp.so.3()(64bit)
root cause:
系统upgrade的时候,残存了上一个版本的软件包信息(比如升级到了attr-2.4.44,但系统中存在了Centos6下的软件包信息)。
解决办法:1).配置正确的yum源
#yum install epel-release
2).执行相关命令
#yum clean all ##清除本地yum缓存
#yum distro-sync ##同步本地软件和epel源的软件包信息
至此问题基本解决
如果还有个别异常的建议重新安装该软件
1 0
- found pre-existing rpmdb problem
- Existing "SAMPLE" database found...
- Pre-bound JDBC Connection found!解决办法
- How to add OLE drag-and-drop functionality to a pre-existing MFC application
- Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml
- webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)
- Pyhton pip can't proceed with requirement 'Pillow' due to a pre-existing build directory解决方案
- An existing PostgreSql installation has been found... 的解决
- An existing resource has been found at location
- Existing transaction found for transaction marked with propagation 'never'
- rpmdb errors
- Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in
- Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in
- IDEA Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executin
- Maven报错:Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml
- maven-install报错:webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update
- Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in
- Problem: g++: Command not found
- 让那些白骨,别忘了回家
- Android四大基本组件介绍与生命周期
- 在信号处理函数中调用非可重入函数getpwnam
- 避免缓冲区溢出攻击的方法
- gradle DSL method not found: android()
- found pre-existing rpmdb problem
- 关于WindowsAPI常数的值
- 2016.01.20回顾
- XAudio2学习二之获取输出设备数
- postgress 按月分表存储
- asp.net WebForm 事件响应模型
- BZOJ 2597: [Wc2007]剪刀石头布|费用流
- Swift 基础知识
- iOS学习笔记2(c语言)