安装python-devel的时候遇到yum安装报错:[is a duplicate] 重复安装
2016-12-21 11:40
633 查看
# yum install Python-devel
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.neu.edu.cn
* extras: mirror.neu.edu.cn
* rpmforge: mirror-fpt-telecom.fpt.net
* updates: mirror.neu.edu.cn
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-devel.x86_64 0:2.6.6-37.el6_4 will be installed
--> Processing Conflict: python-devel-2.6.6-37.el6_4.x86_64 conflicts python < 2.6.6-37.el6_4
--> Finished Dependency Resolution
Error: python-devel conflicts with python-2.6.5-3.el6.x86_64
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
python-2.6.6-37.el6_4.x86_64 is a duplicate with python-2.6.5-3.el6.x86_64
]# rpm -qi python
Name : python Relocations: (not relocatable)
Version : 2.6.6 Vendor: CentOS
Release : 37.el6_4 Build Date: Thu 11 Jul 2013 06:51:12 AM CST
Install Date: Thu 25 Jul 2013 08:56:21 PM CST Build Host: c6b10.bsys.dev.centos.org
Group : Development/Languages Source RPM: python-2.6.6-37.el6_4.src.rpm
Size : 21275516 License: Python
Signature : RSA/SHA1, Thu 11 Jul 2013 09:01:43 AM CST, Key ID 0946fca2c105b9de
Packager : CentOS BuildSystem <http://bugs.centos.org>
URL : http://www.python.org/
Summary : An interpreted, interactive, object-oriented programming language
Description :
Python is an interpreted, interactive, object-oriented programming
language often compared to Tcl, Perl, Scheme or Java. Python includes
modules, classes, exceptions, very high level dynamic data types and
dynamic typing. Python supports interfaces to many system calls and
libraries, as well as to various windowing systems (X11, Motif, Tk,
Mac and MFC).
Programmers can write new built-in modules for Python in C or C++.
Python can be used as an extension language for applications that need
a programmable interface. This package contains most of the standard
Python modules, as well as modules for interfacing to the Tix widget
set for Tk and RPM.
Note that documentation for Python is provided in the python-docs
package.
Name : python Relocations: (not relocatable)
Version : 2.6.5 Vendor: CentOS
Release : 3.el6 Build Date: Fri 12 Nov 2010 08:55:06 AM CST
Install Date: Fri 26 Jul 2013 11:56:42 AM CST Build Host: c6b4.bsys.dev.centos.org
Group : Development/Languages Source RPM: python-2.6.5-3.el6.src.rpm
Size : 21535064 License: Python
Signature : RSA/8, Sun 03 Jul 2011 12:58:27 PM CST, Key ID 0946fca2c105b9de
Packager : CentOS BuildSystem <http://bugs.centos.org>
URL : http://www.python.org/
Summary : An interpreted, interactive, object-oriented programming language
Description :
Python is an interpreted, interactive, object-oriented programming
language often compared to Tcl, Perl, Scheme or Java. Python includes
modules, classes, exceptions, very high level dynamic data types and
dynamic typing. Python supports interfaces to many system calls and
libraries, as well as to various windowing systems (X11, Motif, Tk,
Mac and MFC).
Programmers can write new built-in modules for Python in C or C++.
Python can be used as an extension language for applications that need
a programmable interface. This package contains most of the standard
Python modules, as well as modules for interfacing to the Tix widget
set for Tk and RPM.
Note that documentation for Python is provided in the python-docs
package.
----------------------------------------
重复安装???
要解决上述问题,可以这样:
# 首先安装 yum-utils 套件
yum install yum-utils
# 执行 clean duplicate package
package-cleanup --cleandupes
Duplicate Package Options:
--dupes Scan for duplicates in your rpmdb
--cleandupes Scan for duplicates in your rpmdb and remove older
--noscripts disable rpm scriptlets from running when cleaning
duplicates
参考:
http://blog.wu-boy.com/2011/10/how-to-remove-duplicated-rpm-package/
https://forums.aws.amazon.com/thread.jspa?messageID=318951
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.neu.edu.cn
* extras: mirror.neu.edu.cn
* rpmforge: mirror-fpt-telecom.fpt.net
* updates: mirror.neu.edu.cn
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package python-devel.x86_64 0:2.6.6-37.el6_4 will be installed
--> Processing Conflict: python-devel-2.6.6-37.el6_4.x86_64 conflicts python < 2.6.6-37.el6_4
--> Finished Dependency Resolution
Error: python-devel conflicts with python-2.6.5-3.el6.x86_64
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
python-2.6.6-37.el6_4.x86_64 is a duplicate with python-2.6.5-3.el6.x86_64
]# rpm -qi python
Name : python Relocations: (not relocatable)
Version : 2.6.6 Vendor: CentOS
Release : 37.el6_4 Build Date: Thu 11 Jul 2013 06:51:12 AM CST
Install Date: Thu 25 Jul 2013 08:56:21 PM CST Build Host: c6b10.bsys.dev.centos.org
Group : Development/Languages Source RPM: python-2.6.6-37.el6_4.src.rpm
Size : 21275516 License: Python
Signature : RSA/SHA1, Thu 11 Jul 2013 09:01:43 AM CST, Key ID 0946fca2c105b9de
Packager : CentOS BuildSystem <http://bugs.centos.org>
URL : http://www.python.org/
Summary : An interpreted, interactive, object-oriented programming language
Description :
Python is an interpreted, interactive, object-oriented programming
language often compared to Tcl, Perl, Scheme or Java. Python includes
modules, classes, exceptions, very high level dynamic data types and
dynamic typing. Python supports interfaces to many system calls and
libraries, as well as to various windowing systems (X11, Motif, Tk,
Mac and MFC).
Programmers can write new built-in modules for Python in C or C++.
Python can be used as an extension language for applications that need
a programmable interface. This package contains most of the standard
Python modules, as well as modules for interfacing to the Tix widget
set for Tk and RPM.
Note that documentation for Python is provided in the python-docs
package.
Name : python Relocations: (not relocatable)
Version : 2.6.5 Vendor: CentOS
Release : 3.el6 Build Date: Fri 12 Nov 2010 08:55:06 AM CST
Install Date: Fri 26 Jul 2013 11:56:42 AM CST Build Host: c6b4.bsys.dev.centos.org
Group : Development/Languages Source RPM: python-2.6.5-3.el6.src.rpm
Size : 21535064 License: Python
Signature : RSA/8, Sun 03 Jul 2011 12:58:27 PM CST, Key ID 0946fca2c105b9de
Packager : CentOS BuildSystem <http://bugs.centos.org>
URL : http://www.python.org/
Summary : An interpreted, interactive, object-oriented programming language
Description :
Python is an interpreted, interactive, object-oriented programming
language often compared to Tcl, Perl, Scheme or Java. Python includes
modules, classes, exceptions, very high level dynamic data types and
dynamic typing. Python supports interfaces to many system calls and
libraries, as well as to various windowing systems (X11, Motif, Tk,
Mac and MFC).
Programmers can write new built-in modules for Python in C or C++.
Python can be used as an extension language for applications that need
a programmable interface. This package contains most of the standard
Python modules, as well as modules for interfacing to the Tix widget
set for Tk and RPM.
Note that documentation for Python is provided in the python-docs
package.
----------------------------------------
重复安装???
要解决上述问题,可以这样:
# 首先安装 yum-utils 套件
yum install yum-utils
# 执行 clean duplicate package
package-cleanup --cleandupes
Duplicate Package Options:
--dupes Scan for duplicates in your rpmdb
--cleandupes Scan for duplicates in your rpmdb and remove older
--noscripts disable rpm scriptlets from running when cleaning
duplicates
参考:
http://blog.wu-boy.com/2011/10/how-to-remove-duplicated-rpm-package/
https://forums.aws.amazon.com/thread.jspa?messageID=318951
相关文章推荐
- pip安装psutil模块时候报错:yum install python-devel mysql-devel zlib-devel openssl-devel
- 安装python的时候遇到的问题,无法安装bz2modules等
- 安装python库xlwt的时候遇到超时的情况。
- 安装python goose 遇到的python-dev 以及python-devel问题
- 安装python的时候遇到的问题,无法安装bz2modules等
- rpm 安装报错:[is a duplicate] 重复安装
- python安装一些类库的时候遇到这个问题
- yum安装的时候遇到了问题 Error
- 解决RedHat5 yum安装openssl-devel的Header V3 DSA signature: NOKEY, key ID 6b8d79e6
- 我在安装TFS 2008的时候遇到的问题以及解决方法一sharepoint 安装 命令建立应用程序和站点集
- 我在安装TFS 2008的时候遇到的问题以及解决方法一sharepoint安装 环境变量
- 安装IIS5.1的时候,遇到缺少zClientm.exe文件的提示
- php安装时候遇到libpng错误提示
- easy_install 安装python package的时候出现error writing to -: Broken pipe
- 安装IIS5.1的时候,遇到缺少zClientm.exe文件的提示,解决方法
- Linux下安装mod_python遇到的问题
- 纯源码包安装 lua 的时候遇到的错误和解决办法~~~
- 安装系统的时候遇到 stop 0x0000007B的蓝屏无法进行安装 thinkpad
- 在卸载或者升级VS2008的时候,遇到“加载安装组件时遇到问题,取消安装”
- 我在安装TFS 2008的时候遇到的问题以及解决方法一sharepoint 安装 打开站点 出现服务器不可用问题